My Marlin configs for Fabrikator Mini and CTC i3 Pro B
Du kannst nicht mehr als 25 Themen auswählen Themen müssen mit entweder einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

platformio.ini 4.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184
  1. #
  2. # Marlin Firmware
  3. # PlatformIO Configuration File
  4. #
  5. # For detailed documentation with EXAMPLES:
  6. #
  7. # http://docs.platformio.org/en/latest/projectconf.html
  8. #
  9. # Automatic targets - enable auto-uploading
  10. # targets = upload
  11. [platformio]
  12. src_dir = Marlin
  13. envs_dir = .pioenvs
  14. lib_dir = .piolib
  15. libdeps_dir = .piolibdeps
  16. env_default = megaatmega2560
  17. [common]
  18. lib_deps =
  19. U8glib@1.19.1
  20. LiquidCrystal_I2C@1.1.2
  21. https://github.com/lincomatic/LiquidTWI2.git
  22. https://github.com/teemuatlut/TMC2130Stepper.git
  23. https://github.com/trinamic/TMC26XStepper.git
  24. https://github.com/adafruit/Adafruit_NeoPixel.git
  25. https://github.com/ameyer/Arduino-L6470.git
  26. default_src_filter = +<src/*> -<src/config>
  27. #################################
  28. # #
  29. # Unique Core Architectures #
  30. # #
  31. # Add a new "env" below if no #
  32. # entry has values suitable to #
  33. # build for a given board. #
  34. # #
  35. #################################
  36. #
  37. # ATmega2560
  38. #
  39. [env:megaatmega2560]
  40. platform = atmelavr
  41. framework = arduino
  42. board = megaatmega2560
  43. build_flags = -I $BUILDSRC_DIR
  44. board_f_cpu = 16000000L
  45. lib_deps = ${common.lib_deps}
  46. src_filter = ${common.default_src_filter}
  47. #
  48. # ATmega1280
  49. #
  50. [env:megaatmega1280]
  51. platform = atmelavr
  52. framework = arduino
  53. board = megaatmega1280
  54. build_flags = -I $BUILDSRC_DIR
  55. board_f_cpu = 16000000L
  56. lib_deps = ${common.lib_deps}
  57. src_filter = ${common.default_src_filter}
  58. #
  59. # Teensy++ 2.0
  60. #
  61. # - PrintrBoard
  62. # - PrintrBoard Rev.F
  63. # - Brainwave Pro
  64. #
  65. [env:teensy20]
  66. platform = teensy
  67. framework = arduino
  68. board = teensy20pp
  69. build_flags = -I $BUILDSRC_DIR
  70. #board_f_cpu = 20000000L ; Bug in Arduino framework disallows boards running at 20Mhz
  71. lib_deps = ${common.lib_deps}
  72. src_filter = ${common.default_src_filter}
  73. #
  74. # RAMBo
  75. #
  76. [env:rambo]
  77. platform = atmelavr
  78. framework = arduino
  79. board = reprap_rambo
  80. build_flags = -I $BUILDSRC_DIR
  81. board_f_cpu = 16000000L
  82. lib_deps = ${common.lib_deps}
  83. src_filter = ${common.default_src_filter}
  84. #
  85. # Anet 1.0 - Melzi clone (ATmega1284p)
  86. #
  87. [env:anet10]
  88. platform = atmelavr
  89. framework = arduino
  90. board = sanguino_atmega1284p
  91. upload_speed = 57600
  92. lib_deps = ${common.lib_deps}
  93. src_filter = ${common.default_src_filter}
  94. #
  95. # Sanguinololu (ATmega644p)
  96. #
  97. [env:sanguino_atmega644p]
  98. platform = atmelavr
  99. framework = arduino
  100. board = sanguino_atmega644p
  101. lib_deps = ${common.lib_deps}
  102. src_filter = ${common.default_src_filter}
  103. #
  104. # Due (Atmel SAM3X8E ARM Cortex-M3)
  105. #
  106. # - RAMPS4DUE
  107. # - RADDS
  108. #
  109. [env:DUE]
  110. platform = atmelsam
  111. framework = arduino
  112. board = due
  113. build_flags = -I $BUILDSRC_DIR
  114. lib_deps = ${common.lib_deps}
  115. src_filter = ${common.default_src_filter}
  116. #
  117. # Teensy 3.5 / 3.6 (ARM Cortex-M4)
  118. #
  119. [env:teensy35]
  120. platform = teensy
  121. framework = arduino
  122. board = teensy35
  123. build_flags = -I $BUILDSRC_DIR
  124. lib_deps = ${common.lib_deps}
  125. lib_ignore = Adafruit NeoPixel
  126. src_filter = ${common.default_src_filter}
  127. #
  128. # NXP LPC1768 ARM Cortex-M3
  129. #
  130. [env:LPC1768]
  131. platform = nxplpc
  132. board_f_cpu = 100000000L
  133. build_flags = !python Marlin/src/HAL/HAL_LPC1768/lpc1768_flag_script.py
  134. src_build_flags = -Wall
  135. build_unflags = -Wall
  136. lib_ldf_mode = off
  137. lib_extra_dirs = frameworks
  138. lib_deps = U8glib-ARM, CMSIS-LPC1768
  139. extra_scripts = Marlin/src/HAL/HAL_LPC1768/lpc1768_flag_script.py
  140. src_filter = ${common.default_src_filter}
  141. #
  142. # LPC1768 (for debugging and development)
  143. #
  144. [env:LPC1768_debug_and_upload]
  145. # Segger JLink
  146. platform = nxplpc
  147. #framework = mbed
  148. board = lpc1768
  149. board_f_cpu = 100000000L
  150. build_flags = !python Marlin/src/HAL/HAL_LPC1768/lpc1768_flag_script.py
  151. lib_ldf_mode = off
  152. lib_extra_dirs = frameworks
  153. lib_deps = U8glib-ARM, CMSIS-LPC1768
  154. src_filter = ${common.default_src_filter}
  155. extra_scripts = Marlin/src/HAL/HAL_LPC1768/debug_extra_script.py, Marlin/src/HAL/HAL_LPC1768/lpc1768_flag_script.py
  156. debug_tool = custom
  157. debug_server =
  158. C:\Program Files (x86)\SEGGER\JLink_V618d\JLinkGDBServerCL.exe
  159. -select
  160. USB
  161. -port
  162. 2331
  163. -device
  164. LPC1768
  165. -if
  166. JTAG
  167. -speed
  168. auto
  169. -noir