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 10KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284
  1. #
  2. # Marlin Firmware
  3. # PlatformIO Configuration File
  4. #
  5. # For detailed documentation with EXAMPLES:
  6. #
  7. # https://docs.platformio.org/en/latest/projectconf/index.html
  8. #
  9. # Automatic targets - enable auto-uploading
  10. #targets = upload
  11. [platformio]
  12. src_dir = Marlin
  13. boards_dir = buildroot/share/PlatformIO/boards
  14. default_envs = mega2560
  15. include_dir = Marlin
  16. extra_configs =
  17. Marlin/config.ini
  18. ini/avr.ini
  19. ini/due.ini
  20. ini/esp32.ini
  21. ini/features.ini
  22. ini/lpc176x.ini
  23. ini/native.ini
  24. ini/samd51.ini
  25. ini/stm32-common.ini
  26. ini/stm32f0.ini
  27. ini/stm32f1-maple.ini
  28. ini/stm32f1.ini
  29. ini/stm32f4.ini
  30. ini/stm32f7.ini
  31. ini/stm32h7.ini
  32. ini/stm32g0.ini
  33. ini/teensy.ini
  34. ini/renamed.ini
  35. #
  36. # The 'common' section applies to most Marlin builds.
  37. #
  38. # By default platformio build will abort after 5 errors.
  39. # Remove '-fmax-errors=5' from build_flags below to see all.
  40. #
  41. [common]
  42. build_flags = -g3 -D__MARLIN_FIRMWARE__ -DNDEBUG
  43. -fmax-errors=5
  44. extra_scripts =
  45. pre:buildroot/share/PlatformIO/scripts/configuration.py
  46. pre:buildroot/share/PlatformIO/scripts/common-dependencies.py
  47. pre:buildroot/share/PlatformIO/scripts/common-cxxflags.py
  48. pre:buildroot/share/PlatformIO/scripts/preflight-checks.py
  49. post:buildroot/share/PlatformIO/scripts/common-dependencies-post.py
  50. lib_deps =
  51. default_src_filter = +<src/*> -<src/config> -<src/HAL> +<src/HAL/shared> -<src/tests>
  52. -<src/lcd/HD44780> -<src/lcd/TFTGLCD> -<src/lcd/dogm> -<src/lcd/tft> -<src/lcd/tft_io>
  53. -<src/HAL/STM32/tft> -<src/HAL/STM32F1/tft>
  54. -<src/lcd/e3v2/common> -<src/lcd/e3v2/creality> -<src/lcd/e3v2/proui> -<src/lcd/e3v2/jyersui> -<src/lcd/e3v2/marlinui>
  55. -<src/lcd/menu>
  56. -<src/lcd/menu/game/game.cpp> -<src/lcd/menu/game/brickout.cpp> -<src/lcd/menu/game/invaders.cpp>
  57. -<src/lcd/menu/game/maze.cpp> -<src/lcd/menu/game/snake.cpp>
  58. -<src/lcd/menu/menu_backlash.cpp>
  59. -<src/lcd/menu/menu_bed_corners.cpp>
  60. -<src/lcd/menu/menu_bed_leveling.cpp>
  61. -<src/lcd/menu/menu_cancelobject.cpp>
  62. -<src/lcd/menu/menu_delta_calibrate.cpp>
  63. -<src/lcd/menu/menu_filament.cpp>
  64. -<src/lcd/menu/menu_info.cpp>
  65. -<src/lcd/menu/menu_job_recovery.cpp>
  66. -<src/lcd/menu/menu_language.cpp>
  67. -<src/lcd/menu/menu_led.cpp>
  68. -<src/lcd/menu/menu_media.cpp>
  69. -<src/lcd/menu/menu_mmu2.cpp>
  70. -<src/lcd/menu/menu_password.cpp>
  71. -<src/lcd/menu/menu_power_monitor.cpp>
  72. -<src/lcd/menu/menu_spindle_laser.cpp>
  73. -<src/lcd/menu/menu_temperature.cpp>
  74. -<src/lcd/menu/menu_tmc.cpp>
  75. -<src/lcd/menu/menu_touch_screen.cpp>
  76. -<src/lcd/menu/menu_tramming.cpp>
  77. -<src/lcd/menu/menu_ubl.cpp>
  78. -<src/lcd/menu/menu_x_twist.cpp>
  79. -<src/lcd/extui/anycubic_chiron>
  80. -<src/lcd/extui/anycubic_i3mega>
  81. -<src/lcd/extui/dgus> -<src/lcd/extui/dgus/fysetc> -<src/lcd/extui/dgus/hiprecy> -<src/lcd/extui/dgus/mks> -<src/lcd/extui/dgus/origin>
  82. -<src/lcd/extui/dgus_reloaded>
  83. -<src/lcd/extui/example>
  84. -<src/lcd/extui/ftdi_eve_touch_ui>
  85. -<src/lcd/extui/malyan>
  86. -<src/lcd/extui/mks_ui>
  87. -<src/lcd/extui/nextion>
  88. -<src/lcd/lcdprint.cpp>
  89. -<src/lcd/touch/touch_buttons.cpp>
  90. -<src/sd/usb_flashdrive/lib-uhs2> -<src/sd/usb_flashdrive/lib-uhs3>
  91. -<src/sd/usb_flashdrive/Sd2Card_FlashDrive.cpp>
  92. -<src/sd/cardreader.cpp> -<src/sd/Sd2Card.cpp> -<src/sd/SdBaseFile.cpp> -<src/sd/SdFatUtil.cpp> -<src/sd/SdFile.cpp> -<src/sd/SdVolume.cpp>
  93. -<src/HAL/shared/backtrace>
  94. -<src/HAL/shared/cpu_exception>
  95. -<src/HAL/shared/eeprom_if_i2c.cpp>
  96. -<src/HAL/shared/eeprom_if_spi.cpp>
  97. -<src/feature/adc> -<src/gcode/feature/adc>
  98. -<src/feature/ammeter.cpp>
  99. -<src/feature/babystep.cpp>
  100. -<src/feature/backlash.cpp>
  101. -<src/feature/baricuda.cpp> -<src/gcode/feature/baricuda>
  102. -<src/feature/bedlevel/abl> -<src/gcode/bedlevel/abl>
  103. -<src/feature/bedlevel/mbl> -<src/gcode/bedlevel/mbl>
  104. -<src/feature/bedlevel/ubl> -<src/gcode/bedlevel/ubl>
  105. -<src/feature/bedlevel/hilbert_curve.cpp>
  106. -<src/feature/binary_stream.cpp> -<src/libs/heatshrink>
  107. -<src/feature/bltouch.cpp>
  108. -<src/feature/cancel_object.cpp> -<src/gcode/feature/cancel>
  109. -<src/feature/caselight.cpp> -<src/gcode/feature/caselight>
  110. -<src/feature/closedloop.cpp>
  111. -<src/feature/controllerfan.cpp> -<src/gcode/feature/controllerfan>
  112. -<src/feature/cooler.cpp> -<src/gcode/temp/M143_M193.cpp>
  113. -<src/feature/dac> -<src/feature/digipot>
  114. -<src/feature/direct_stepping.cpp> -<src/gcode/motion/G6.cpp>
  115. -<src/feature/e_parser.cpp>
  116. -<src/feature/easythreed_ui.cpp>
  117. -<src/feature/encoder_i2c.cpp>
  118. -<src/feature/ethernet.cpp> -<src/gcode/feature/network/M552-M554.cpp>
  119. -<src/feature/fancheck.cpp>
  120. -<src/feature/fanmux.cpp>
  121. -<src/feature/filwidth.cpp> -<src/gcode/feature/filwidth>
  122. -<src/feature/fwretract.cpp> -<src/gcode/feature/fwretract>
  123. -<src/feature/host_actions.cpp>
  124. -<src/feature/hotend_idle.cpp>
  125. -<src/feature/joystick.cpp>
  126. -<src/feature/leds/blinkm.cpp>
  127. -<src/feature/leds/leds.cpp>
  128. -<src/feature/leds/neopixel.cpp>
  129. -<src/feature/leds/pca9533.cpp>
  130. -<src/feature/leds/pca9632.cpp>
  131. -<src/feature/leds/printer_event_leds.cpp>
  132. -<src/feature/leds/tempstat.cpp>
  133. -<src/feature/max7219.cpp>
  134. -<src/feature/meatpack.cpp>
  135. -<src/feature/mixing.cpp>
  136. -<src/feature/mmu/mmu.cpp>
  137. -<src/feature/mmu/mmu2.cpp> -<src/gcode/feature/prusa_MMU2>
  138. -<src/feature/password> -<src/gcode/feature/password>
  139. -<src/feature/pause.cpp>
  140. -<src/feature/power.cpp>
  141. -<src/feature/power_monitor.cpp> -<src/gcode/feature/power_monitor>
  142. -<src/feature/powerloss.cpp> -<src/gcode/feature/powerloss>
  143. -<src/feature/probe_temp_comp.cpp>
  144. -<src/feature/repeat.cpp>
  145. -<src/feature/runout.cpp> -<src/gcode/feature/runout>
  146. -<src/feature/snmm.cpp>
  147. -<src/feature/solenoid.cpp> -<src/gcode/control/M380_M381.cpp>
  148. -<src/feature/spindle_laser.cpp> -<src/gcode/control/M3-M5.cpp>
  149. -<src/feature/stepper_driver_safety.cpp>
  150. -<src/feature/tmc_util.cpp> -<src/module/stepper/trinamic.cpp>
  151. -<src/feature/tramming.cpp>
  152. -<src/feature/twibus.cpp>
  153. -<src/feature/x_twist.cpp> -<src/gcode/probe/M423.cpp>
  154. -<src/feature/z_stepper_align.cpp>
  155. -<src/gcode/bedlevel/G26.cpp>
  156. -<src/gcode/bedlevel/G35.cpp>
  157. -<src/gcode/bedlevel/G42.cpp>
  158. -<src/gcode/bedlevel/M420.cpp> -<src/feature/bedlevel/bedlevel.cpp>
  159. -<src/gcode/calibrate/G33.cpp>
  160. -<src/gcode/calibrate/G34.cpp>
  161. -<src/gcode/calibrate/G34_M422.cpp>
  162. -<src/gcode/calibrate/G76_M871.cpp>
  163. -<src/gcode/calibrate/G425.cpp>
  164. -<src/gcode/calibrate/M12.cpp>
  165. -<src/gcode/calibrate/M48.cpp>
  166. -<src/gcode/calibrate/M100.cpp>
  167. -<src/gcode/calibrate/M425.cpp>
  168. -<src/gcode/calibrate/M665.cpp>
  169. -<src/gcode/calibrate/M666.cpp>
  170. -<src/gcode/calibrate/M852.cpp>
  171. -<src/gcode/control/M10-M11.cpp>
  172. -<src/gcode/control/M42.cpp> -<src/gcode/control/M226.cpp>
  173. -<src/gcode/config/M43.cpp>
  174. -<src/gcode/config/M217.cpp>
  175. -<src/gcode/config/M218.cpp>
  176. -<src/gcode/config/M221.cpp>
  177. -<src/gcode/config/M301.cpp>
  178. -<src/gcode/config/M302.cpp>
  179. -<src/gcode/config/M304.cpp>
  180. -<src/gcode/config/M305.cpp>
  181. -<src/gcode/config/M540.cpp>
  182. -<src/gcode/config/M575.cpp>
  183. -<src/gcode/config/M672.cpp>
  184. -<src/gcode/control/M7-M9.cpp>
  185. -<src/gcode/control/M211.cpp>
  186. -<src/gcode/control/M350_M351.cpp>
  187. -<src/gcode/control/M605.cpp>
  188. -<src/gcode/feature/advance>
  189. -<src/gcode/feature/camera>
  190. -<src/gcode/feature/i2c>
  191. -<src/gcode/feature/L6470>
  192. -<src/gcode/feature/leds/M150.cpp>
  193. -<src/gcode/feature/leds/M7219.cpp>
  194. -<src/gcode/feature/macro>
  195. -<src/gcode/feature/mixing/M163-M165.cpp>
  196. -<src/gcode/feature/mixing/M166.cpp>
  197. -<src/gcode/feature/pause/G27.cpp>
  198. -<src/gcode/feature/pause/G60.cpp>
  199. -<src/gcode/feature/pause/G61.cpp>
  200. -<src/gcode/feature/pause/M125.cpp>
  201. -<src/gcode/feature/pause/M600.cpp>
  202. -<src/gcode/feature/pause/M603.cpp>
  203. -<src/gcode/feature/pause/M701_M702.cpp>
  204. -<src/gcode/feature/trinamic/M122.cpp>
  205. -<src/gcode/feature/trinamic/M569.cpp>
  206. -<src/gcode/feature/trinamic/M906.cpp>
  207. -<src/gcode/feature/trinamic/M911-M914.cpp>
  208. -<src/gcode/feature/trinamic/M919.cpp>
  209. -<src/gcode/geometry/G17-G19.cpp>
  210. -<src/gcode/geometry/G53-G59.cpp>
  211. -<src/gcode/geometry/M206_M428.cpp>
  212. -<src/gcode/host/M16.cpp>
  213. -<src/gcode/host/M113.cpp>
  214. -<src/gcode/host/M154.cpp>
  215. -<src/gcode/host/M360.cpp>
  216. -<src/gcode/host/M876.cpp>
  217. -<src/gcode/lcd/M0_M1.cpp>
  218. -<src/gcode/lcd/M73.cpp>
  219. -<src/gcode/lcd/M117.cpp>
  220. -<src/gcode/lcd/M250.cpp> -<src/gcode/lcd/M255.cpp> -<src/gcode/lcd/M256.cpp>
  221. -<src/gcode/lcd/M300.cpp>
  222. -<src/gcode/lcd/M414.cpp>
  223. -<src/gcode/lcd/M995.cpp>
  224. -<src/gcode/motion/G2_G3.cpp>
  225. -<src/gcode/motion/G5.cpp>
  226. -<src/gcode/motion/G80.cpp>
  227. -<src/gcode/motion/M290.cpp>
  228. -<src/gcode/probe/G30.cpp>
  229. -<src/gcode/probe/G31_G32.cpp>
  230. -<src/gcode/probe/G38.cpp>
  231. -<src/gcode/probe/M401_M402.cpp>
  232. -<src/gcode/probe/M851.cpp>
  233. -<src/gcode/probe/M951.cpp>
  234. -<src/gcode/scara>
  235. -<src/gcode/sd>
  236. -<src/gcode/sd/M32.cpp>
  237. -<src/gcode/sd/M808.cpp>
  238. -<src/gcode/temp/M104_M109.cpp>
  239. -<src/gcode/temp/M123.cpp>
  240. -<src/gcode/temp/M155.cpp>
  241. -<src/gcode/temp/M192.cpp>
  242. -<src/gcode/temp/M306.cpp>
  243. -<src/gcode/units/G20_G21.cpp>
  244. -<src/gcode/units/M82_M83.cpp>
  245. -<src/gcode/units/M149.cpp>
  246. -<src/libs/BL24CXX.cpp> -<src/libs/W25Qxx.cpp>
  247. -<src/libs/L64XX> -<src/module/stepper/L64xx.cpp> -<src/HAL/shared/HAL_spi_L6470.cpp>
  248. -<src/libs/MAX31865.cpp>
  249. -<src/libs/hex_print.cpp>
  250. -<src/libs/least_squares_fit.cpp>
  251. -<src/libs/nozzle.cpp> -<src/gcode/feature/clean>
  252. -<src/module/delta.cpp>
  253. -<src/module/planner_bezier.cpp>
  254. -<src/module/polargraph.cpp>
  255. -<src/module/printcounter.cpp>
  256. -<src/module/probe.cpp>
  257. -<src/module/scara.cpp>
  258. -<src/module/servo.cpp> -<src/gcode/control/M280.cpp> -<src/gcode/config/M281.cpp> -<src/gcode/control/M282.cpp>
  259. -<src/module/stepper/TMC26X.cpp>
  260. #
  261. # Default values apply to all 'env:' prefixed environments
  262. #
  263. [env]
  264. framework = arduino
  265. extra_scripts = ${common.extra_scripts}
  266. build_flags = ${common.build_flags}
  267. lib_deps = ${common.lib_deps}
  268. monitor_speed = 250000
  269. monitor_eol = LF
  270. monitor_echo = yes
  271. monitor_filters = colorize, time, send_on_enter
  272. #
  273. # Just print the dependency tree
  274. #
  275. [env:include_tree]
  276. platform = atmelavr
  277. board = megaatmega2560
  278. build_flags = -c -H -std=gnu++11 -Wall -Os -D__MARLIN_FIRMWARE__
  279. build_src_filter = +<src/MarlinCore.cpp>