My Marlin configs for Fabrikator Mini and CTC i3 Pro B
Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

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