My Marlin configs for Fabrikator Mini and CTC i3 Pro B
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

platformio.ini 9.5KB

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