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.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199
  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-HAL
  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. # Anet 1.0 - Melzi clone (ATmega1284p)
  60. #
  61. [env:anet10]
  62. platform = atmelavr
  63. framework = arduino
  64. board = sanguino_atmega1284p
  65. upload_speed = 57600
  66. lib_deps = ${common.lib_deps}
  67. src_filter = ${common.default_src_filter}
  68. #
  69. # Due (Atmel SAM3X8E ARM Cortex-M3)
  70. #
  71. # - RAMPS4DUE
  72. # - RADDS
  73. #
  74. [env:DUE]
  75. platform = atmelsam
  76. framework = arduino
  77. board = due
  78. build_flags = -I $BUILDSRC_DIR
  79. lib_deps = ${common.lib_deps}
  80. src_filter = ${common.default_src_filter}
  81. #
  82. # NXP LPC1768 ARM Cortex-M3
  83. #
  84. [env:LPC1768]
  85. platform = nxplpc
  86. board_f_cpu = 100000000L
  87. build_flags = !python Marlin/src/HAL/HAL_LPC1768/lpc1768_flag_script.py
  88. -DU8G_HAL_LINKS
  89. src_build_flags = -Wall
  90. build_unflags = -Wall
  91. lib_ldf_mode = off
  92. lib_extra_dirs = frameworks
  93. #lib_deps = U8glib-ARM, CMSIS-LPC1768
  94. lib_deps = CMSIS-LPC1768
  95. U8glib-HAL
  96. extra_scripts = Marlin/src/HAL/HAL_LPC1768/lpc1768_flag_script.py
  97. src_filter = ${common.default_src_filter}
  98. #
  99. # LPC1768 (for debugging and development)
  100. #
  101. [env:LPC1768_debug_and_upload]
  102. # Segger JLink
  103. platform = nxplpc
  104. #framework = mbed
  105. board = lpc1768
  106. board_f_cpu = 100000000L
  107. build_flags = !python Marlin/src/HAL/HAL_LPC1768/lpc1768_flag_script.py
  108. -DU8G_HAL_LINKS
  109. lib_ldf_mode = off
  110. lib_extra_dirs = frameworks
  111. lib_deps = CMSIS-LPC1768
  112. U8glib-HAL
  113. src_filter = ${common.default_src_filter}
  114. extra_scripts = Marlin/src/HAL/HAL_LPC1768/debug_extra_script.py, Marlin/src/HAL/HAL_LPC1768/lpc1768_flag_script.py
  115. debug_tool = custom
  116. debug_server =
  117. C:\Program Files (x86)\SEGGER\JLink_V618d\JLinkGDBServerCL.exe
  118. -select
  119. USB
  120. -port
  121. 2331
  122. -device
  123. LPC1768
  124. -if
  125. JTAG
  126. -speed
  127. auto
  128. -noir
  129. #
  130. # RAMBo
  131. #
  132. [env:rambo]
  133. platform = atmelavr
  134. framework = arduino
  135. board = reprap_rambo
  136. build_flags = -I $BUILDSRC_DIR
  137. board_f_cpu = 16000000L
  138. lib_deps = ${common.lib_deps}
  139. src_filter = ${common.default_src_filter}
  140. #
  141. # Sanguinololu (ATmega644p)
  142. #
  143. [env:sanguino_atmega644p]
  144. platform = atmelavr
  145. framework = arduino
  146. board = sanguino_atmega644p
  147. lib_deps = ${common.lib_deps}
  148. src_filter = ${common.default_src_filter}
  149. [env:STM32F1]
  150. platform = ststm32
  151. framework = arduino
  152. board = genericSTM32F103RE
  153. build_flags = !python Marlin/src/HAL/HAL_STM32F1/stm32f1_flag_script.py
  154. lib_deps = ${common.lib_deps}
  155. src_filter = ${common.default_src_filter}
  156. #
  157. # Teensy++ 2.0
  158. #
  159. # - PrintrBoard
  160. # - PrintrBoard Rev.F
  161. # - Brainwave Pro
  162. #
  163. [env:teensy20]
  164. platform = teensy
  165. framework = arduino
  166. board = teensy20pp
  167. build_flags = -I $BUILDSRC_DIR
  168. #board_f_cpu = 20000000L ; Bug in Arduino framework disallows boards running at 20Mhz
  169. lib_deps = ${common.lib_deps}
  170. src_filter = ${common.default_src_filter}
  171. #
  172. # Teensy 3.5 / 3.6 (ARM Cortex-M4)
  173. #
  174. [env:teensy35]
  175. platform = teensy
  176. framework = arduino
  177. board = teensy35
  178. build_flags = -I $BUILDSRC_DIR
  179. lib_deps = ${common.lib_deps}
  180. lib_ignore = Adafruit NeoPixel
  181. src_filter = ${common.default_src_filter}