My Marlin configs for Fabrikator Mini and CTC i3 Pro B
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

platformio.ini 10KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285
  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/bdl> -<src/gcode/probe/M102.cpp>
  104. -<src/feature/bedlevel/mbl> -<src/gcode/bedlevel/mbl>
  105. -<src/feature/bedlevel/ubl> -<src/gcode/bedlevel/ubl>
  106. -<src/feature/bedlevel/hilbert_curve.cpp>
  107. -<src/feature/binary_stream.cpp> -<src/libs/heatshrink>
  108. -<src/feature/bltouch.cpp>
  109. -<src/feature/cancel_object.cpp> -<src/gcode/feature/cancel>
  110. -<src/feature/caselight.cpp> -<src/gcode/feature/caselight>
  111. -<src/feature/closedloop.cpp>
  112. -<src/feature/controllerfan.cpp> -<src/gcode/feature/controllerfan>
  113. -<src/feature/cooler.cpp> -<src/gcode/temp/M143_M193.cpp>
  114. -<src/feature/dac> -<src/feature/digipot>
  115. -<src/feature/direct_stepping.cpp> -<src/gcode/motion/G6.cpp>
  116. -<src/feature/e_parser.cpp>
  117. -<src/feature/easythreed_ui.cpp>
  118. -<src/feature/encoder_i2c.cpp>
  119. -<src/feature/ethernet.cpp> -<src/gcode/feature/network/M552-M554.cpp>
  120. -<src/feature/fancheck.cpp>
  121. -<src/feature/fanmux.cpp>
  122. -<src/feature/filwidth.cpp> -<src/gcode/feature/filwidth>
  123. -<src/feature/fwretract.cpp> -<src/gcode/feature/fwretract>
  124. -<src/feature/host_actions.cpp>
  125. -<src/feature/hotend_idle.cpp>
  126. -<src/feature/joystick.cpp>
  127. -<src/feature/leds/blinkm.cpp>
  128. -<src/feature/leds/leds.cpp>
  129. -<src/feature/leds/neopixel.cpp>
  130. -<src/feature/leds/pca9533.cpp>
  131. -<src/feature/leds/pca9632.cpp>
  132. -<src/feature/leds/printer_event_leds.cpp>
  133. -<src/feature/leds/tempstat.cpp>
  134. -<src/feature/max7219.cpp>
  135. -<src/feature/meatpack.cpp>
  136. -<src/feature/mixing.cpp>
  137. -<src/feature/mmu/mmu.cpp>
  138. -<src/feature/mmu/mmu2.cpp> -<src/gcode/feature/prusa_MMU2>
  139. -<src/feature/password> -<src/gcode/feature/password>
  140. -<src/feature/pause.cpp>
  141. -<src/feature/power.cpp>
  142. -<src/feature/power_monitor.cpp> -<src/gcode/feature/power_monitor>
  143. -<src/feature/powerloss.cpp> -<src/gcode/feature/powerloss>
  144. -<src/feature/probe_temp_comp.cpp>
  145. -<src/feature/repeat.cpp>
  146. -<src/feature/runout.cpp> -<src/gcode/feature/runout>
  147. -<src/feature/snmm.cpp>
  148. -<src/feature/solenoid.cpp> -<src/gcode/control/M380_M381.cpp>
  149. -<src/feature/spindle_laser.cpp> -<src/gcode/control/M3-M5.cpp>
  150. -<src/feature/stepper_driver_safety.cpp>
  151. -<src/feature/tmc_util.cpp> -<src/module/stepper/trinamic.cpp>
  152. -<src/feature/tramming.cpp>
  153. -<src/feature/twibus.cpp>
  154. -<src/feature/x_twist.cpp> -<src/gcode/probe/M423.cpp>
  155. -<src/feature/z_stepper_align.cpp>
  156. -<src/gcode/bedlevel/G26.cpp>
  157. -<src/gcode/bedlevel/G35.cpp>
  158. -<src/gcode/bedlevel/G42.cpp>
  159. -<src/gcode/bedlevel/M420.cpp> -<src/feature/bedlevel/bedlevel.cpp>
  160. -<src/gcode/calibrate/G33.cpp>
  161. -<src/gcode/calibrate/G34.cpp>
  162. -<src/gcode/calibrate/G34_M422.cpp>
  163. -<src/gcode/calibrate/G76_M871.cpp>
  164. -<src/gcode/calibrate/G425.cpp>
  165. -<src/gcode/calibrate/M12.cpp>
  166. -<src/gcode/calibrate/M48.cpp>
  167. -<src/gcode/calibrate/M100.cpp>
  168. -<src/gcode/calibrate/M425.cpp>
  169. -<src/gcode/calibrate/M665.cpp>
  170. -<src/gcode/calibrate/M666.cpp>
  171. -<src/gcode/calibrate/M852.cpp>
  172. -<src/gcode/control/M10-M11.cpp>
  173. -<src/gcode/control/M42.cpp> -<src/gcode/control/M226.cpp>
  174. -<src/gcode/config/M43.cpp>
  175. -<src/gcode/config/M217.cpp>
  176. -<src/gcode/config/M218.cpp>
  177. -<src/gcode/config/M221.cpp>
  178. -<src/gcode/config/M301.cpp>
  179. -<src/gcode/config/M302.cpp>
  180. -<src/gcode/config/M304.cpp>
  181. -<src/gcode/config/M305.cpp>
  182. -<src/gcode/config/M540.cpp>
  183. -<src/gcode/config/M575.cpp>
  184. -<src/gcode/config/M672.cpp>
  185. -<src/gcode/control/M7-M9.cpp>
  186. -<src/gcode/control/M211.cpp>
  187. -<src/gcode/control/M350_M351.cpp>
  188. -<src/gcode/control/M605.cpp>
  189. -<src/gcode/feature/advance>
  190. -<src/gcode/feature/camera>
  191. -<src/gcode/feature/i2c>
  192. -<src/gcode/feature/L6470>
  193. -<src/gcode/feature/leds/M150.cpp>
  194. -<src/gcode/feature/leds/M7219.cpp>
  195. -<src/gcode/feature/macro>
  196. -<src/gcode/feature/mixing/M163-M165.cpp>
  197. -<src/gcode/feature/mixing/M166.cpp>
  198. -<src/gcode/feature/pause/G27.cpp>
  199. -<src/gcode/feature/pause/G60.cpp>
  200. -<src/gcode/feature/pause/G61.cpp>
  201. -<src/gcode/feature/pause/M125.cpp>
  202. -<src/gcode/feature/pause/M600.cpp>
  203. -<src/gcode/feature/pause/M603.cpp>
  204. -<src/gcode/feature/pause/M701_M702.cpp>
  205. -<src/gcode/feature/trinamic/M122.cpp>
  206. -<src/gcode/feature/trinamic/M569.cpp>
  207. -<src/gcode/feature/trinamic/M906.cpp>
  208. -<src/gcode/feature/trinamic/M911-M914.cpp>
  209. -<src/gcode/feature/trinamic/M919.cpp>
  210. -<src/gcode/geometry/G17-G19.cpp>
  211. -<src/gcode/geometry/G53-G59.cpp>
  212. -<src/gcode/geometry/M206_M428.cpp>
  213. -<src/gcode/host/M16.cpp>
  214. -<src/gcode/host/M113.cpp>
  215. -<src/gcode/host/M154.cpp>
  216. -<src/gcode/host/M360.cpp>
  217. -<src/gcode/host/M876.cpp>
  218. -<src/gcode/lcd/M0_M1.cpp>
  219. -<src/gcode/lcd/M73.cpp>
  220. -<src/gcode/lcd/M117.cpp>
  221. -<src/gcode/lcd/M250.cpp> -<src/gcode/lcd/M255.cpp> -<src/gcode/lcd/M256.cpp>
  222. -<src/gcode/lcd/M300.cpp>
  223. -<src/gcode/lcd/M414.cpp>
  224. -<src/gcode/lcd/M995.cpp>
  225. -<src/gcode/motion/G2_G3.cpp>
  226. -<src/gcode/motion/G5.cpp>
  227. -<src/gcode/motion/G80.cpp>
  228. -<src/gcode/motion/M290.cpp>
  229. -<src/gcode/probe/G30.cpp>
  230. -<src/gcode/probe/G31_G32.cpp>
  231. -<src/gcode/probe/G38.cpp>
  232. -<src/gcode/probe/M401_M402.cpp>
  233. -<src/gcode/probe/M851.cpp>
  234. -<src/gcode/probe/M951.cpp>
  235. -<src/gcode/scara>
  236. -<src/gcode/sd>
  237. -<src/gcode/sd/M32.cpp>
  238. -<src/gcode/sd/M808.cpp>
  239. -<src/gcode/temp/M104_M109.cpp>
  240. -<src/gcode/temp/M123.cpp>
  241. -<src/gcode/temp/M155.cpp>
  242. -<src/gcode/temp/M192.cpp>
  243. -<src/gcode/temp/M306.cpp>
  244. -<src/gcode/units/G20_G21.cpp>
  245. -<src/gcode/units/M82_M83.cpp>
  246. -<src/gcode/units/M149.cpp>
  247. -<src/libs/BL24CXX.cpp> -<src/libs/W25Qxx.cpp>
  248. -<src/libs/L64XX> -<src/module/stepper/L64xx.cpp> -<src/HAL/shared/HAL_spi_L6470.cpp>
  249. -<src/libs/MAX31865.cpp>
  250. -<src/libs/hex_print.cpp>
  251. -<src/libs/least_squares_fit.cpp>
  252. -<src/libs/nozzle.cpp> -<src/gcode/feature/clean>
  253. -<src/module/delta.cpp>
  254. -<src/module/planner_bezier.cpp>
  255. -<src/module/polargraph.cpp>
  256. -<src/module/printcounter.cpp>
  257. -<src/module/probe.cpp>
  258. -<src/module/scara.cpp>
  259. -<src/module/servo.cpp> -<src/gcode/control/M280.cpp> -<src/gcode/config/M281.cpp> -<src/gcode/control/M282.cpp>
  260. -<src/module/stepper/TMC26X.cpp>
  261. #
  262. # Default values apply to all 'env:' prefixed environments
  263. #
  264. [env]
  265. framework = arduino
  266. extra_scripts = ${common.extra_scripts}
  267. build_flags = ${common.build_flags}
  268. lib_deps = ${common.lib_deps}
  269. monitor_speed = 250000
  270. monitor_eol = LF
  271. monitor_echo = yes
  272. monitor_filters = colorize, time, send_on_enter
  273. #
  274. # Just print the dependency tree
  275. #
  276. [env:include_tree]
  277. platform = atmelavr
  278. board = megaatmega2560
  279. build_flags = -c -H -std=gnu++11 -Wall -Os -D__MARLIN_FIRMWARE__
  280. build_src_filter = +<src/MarlinCore.cpp>