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

platformio.ini 32KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915
  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. #
  12. # By default platformio build will abort after 5 errors.
  13. # Remove '-fmax-errors=5' from build_flags below to see all.
  14. #
  15. [platformio]
  16. src_dir = Marlin
  17. boards_dir = buildroot/share/PlatformIO/boards
  18. default_envs = mega2560
  19. [common]
  20. default_src_filter = +<src/*> -<src/config> -<src/HAL> +<src/HAL/shared>
  21. extra_scripts = pre:buildroot/share/PlatformIO/scripts/common-cxxflags.py
  22. build_flags = -fmax-errors=5 -g -D__MARLIN_FIRMWARE__ -fmerge-all-constants
  23. lib_deps =
  24. LiquidCrystal
  25. TMCStepper@>=0.6.2,<1.0.0
  26. Adafruit NeoPixel
  27. U8glib-HAL=https://github.com/MarlinFirmware/U8glib-HAL/archive/bugfix.zip
  28. Adafruit_MAX31865=https://github.com/adafruit/Adafruit_MAX31865/archive/master.zip
  29. LiquidTWI2=https://github.com/lincomatic/LiquidTWI2/archive/master.zip
  30. Arduino-L6470=https://github.com/ameyer/Arduino-L6470/archive/0.8.0.zip
  31. SailfishLCD=https://github.com/mikeshub/SailfishLCD/archive/master.zip
  32. SlowSoftI2CMaster=https://github.com/mikeshub/SlowSoftI2CMaster/archive/master.zip
  33. # Globally defined properties
  34. # inherited by all environments
  35. [env]
  36. framework = arduino
  37. build_flags = ${common.build_flags}
  38. lib_deps = ${common.lib_deps}
  39. monitor_speed = 250000
  40. #################################
  41. # #
  42. # Unique Core Architectures #
  43. # #
  44. # Add a new "env" below if no #
  45. # entry has values suitable to #
  46. # build for a given board. #
  47. # #
  48. #################################
  49. #
  50. # ATmega2560
  51. #
  52. [env:mega2560]
  53. platform = atmelavr
  54. board = megaatmega2560
  55. board_build.f_cpu = 16000000L
  56. lib_deps = ${common.lib_deps}
  57. TMC26XStepper=https://github.com/trinamic/TMC26XStepper/archive/master.zip
  58. src_filter = ${common.default_src_filter} +<src/HAL/AVR>
  59. #
  60. # ATmega1280
  61. #
  62. [env:mega1280]
  63. platform = atmelavr
  64. board = megaatmega1280
  65. board_build.f_cpu = 16000000L
  66. lib_deps = ${common.lib_deps}
  67. TMC26XStepper=https://github.com/trinamic/TMC26XStepper/archive/master.zip
  68. src_filter = ${common.default_src_filter} +<src/HAL/AVR>
  69. #
  70. # RAMBo
  71. #
  72. [env:rambo]
  73. platform = atmelavr
  74. board = reprap_rambo
  75. board_build.f_cpu = 16000000L
  76. lib_deps = ${common.lib_deps}
  77. TMC26XStepper=https://github.com/trinamic/TMC26XStepper/archive/master.zip
  78. src_filter = ${common.default_src_filter} +<src/HAL/AVR>
  79. #
  80. # FYSETC F6 V1.3
  81. #
  82. [env:FYSETC_F6_13]
  83. platform = atmelavr
  84. board = fysetc_f6_13
  85. board_build.f_cpu = 16000000L
  86. lib_deps = ${common.lib_deps}
  87. TMC26XStepper=https://github.com/trinamic/TMC26XStepper/archive/master.zip
  88. src_filter = ${common.default_src_filter} +<src/HAL/AVR>
  89. #
  90. # FYSETC F6 V1.4
  91. #
  92. [env:FYSETC_F6_14]
  93. platform = atmelavr
  94. board = fysetc_f6_14
  95. board_build.f_cpu = 16000000L
  96. lib_deps = ${common.lib_deps}
  97. TMC26XStepper=https://github.com/trinamic/TMC26XStepper/archive/master.zip
  98. src_filter = ${common.default_src_filter} +<src/HAL/AVR>
  99. #
  100. # Sanguinololu (ATmega644p)
  101. #
  102. [env:sanguino644p]
  103. platform = atmelavr
  104. board = sanguino_atmega644p
  105. lib_deps = ${common.lib_deps}
  106. TMC26XStepper=https://github.com/trinamic/TMC26XStepper/archive/master.zip
  107. src_filter = ${common.default_src_filter} +<src/HAL/AVR>
  108. #
  109. # Sanguinololu (ATmega1284p)
  110. #
  111. [env:sanguino1284p]
  112. platform = atmelavr
  113. board = sanguino_atmega1284p
  114. lib_deps = ${common.lib_deps}
  115. TMC26XStepper=https://github.com/trinamic/TMC26XStepper/archive/master.zip
  116. src_filter = ${common.default_src_filter} +<src/HAL/AVR>
  117. #
  118. # Melzi and clones (ATmega1284p)
  119. #
  120. [env:melzi]
  121. platform = atmelavr
  122. board = sanguino_atmega1284p
  123. lib_deps = ${common.lib_deps}
  124. TMC26XStepper=https://github.com/trinamic/TMC26XStepper/archive/master.zip
  125. src_filter = ${common.default_src_filter} +<src/HAL/AVR>
  126. lib_ignore = TMCStepper
  127. upload_speed = 57600
  128. #
  129. # Melzi and clones (Optiboot bootloader)
  130. #
  131. [env:melzi_optiboot]
  132. platform = atmelavr
  133. board = sanguino_atmega1284p
  134. lib_deps = ${common.lib_deps}
  135. TMC26XStepper=https://github.com/trinamic/TMC26XStepper/archive/master.zip
  136. src_filter = ${common.default_src_filter} +<src/HAL/AVR>
  137. lib_ignore = TMCStepper
  138. upload_speed = 115200
  139. #
  140. # AT90USB1286 boards using CDC bootloader
  141. # - BRAINWAVE
  142. # - BRAINWAVE_PRO
  143. # - SAV_MKI
  144. # - TEENSYLU
  145. #
  146. [env:at90usb1286_cdc]
  147. platform = teensy
  148. board = at90usb1286
  149. lib_deps = ${common.lib_deps}
  150. TMC26XStepper=https://github.com/trinamic/TMC26XStepper/archive/master.zip
  151. lib_ignore = TMCStepper
  152. src_filter = ${common.default_src_filter} +<src/HAL/AVR>
  153. #
  154. # AT90USB1286 boards using DFU bootloader
  155. # - PrintrBoard
  156. # - PrintrBoard Rev.F
  157. # - ? 5DPRINT ?
  158. #
  159. [env:at90usb1286_dfu]
  160. platform = teensy
  161. board = at90usb1286
  162. lib_deps = ${common.lib_deps}
  163. lib_ignore = TMCStepper
  164. src_filter = ${common.default_src_filter} +<src/HAL/AVR>
  165. #
  166. # Due (Atmel SAM3X8E ARM Cortex-M3)
  167. #
  168. # - RAMPS4DUE
  169. # - RADDS
  170. #
  171. [env:DUE]
  172. platform = atmelsam
  173. board = due
  174. src_filter = ${common.default_src_filter} +<src/HAL/DUE>
  175. [env:DUE_USB]
  176. platform = atmelsam
  177. board = dueUSB
  178. src_filter = ${common.default_src_filter} +<src/HAL/DUE>
  179. [env:DUE_debug]
  180. # Used when WATCHDOG_RESET_MANUAL is enabled
  181. platform = atmelsam
  182. board = due
  183. src_filter = ${common.default_src_filter} +<src/HAL/DUE>
  184. build_flags = ${common.build_flags}
  185. -funwind-tables
  186. -mpoke-function-name
  187. #
  188. # Archim SAM
  189. #
  190. [env:DUE_archim]
  191. platform = atmelsam
  192. board = due
  193. src_filter = ${common.default_src_filter} +<src/HAL/DUE>
  194. build_flags = ${common.build_flags}
  195. -DARDUINO_SAM_ARCHIM -DARDUINO_ARCH_SAM -D__SAM3X8E__ -DUSBCON
  196. extra_scripts = Marlin/src/HAL/DUE/upload_extra_script.py
  197. [env:DUE_archim_debug]
  198. # Used when WATCHDOG_RESET_MANUAL is enabled
  199. platform = atmelsam
  200. board = due
  201. src_filter = ${common.default_src_filter} +<src/HAL/DUE>
  202. build_flags = ${common.build_flags}
  203. -DARDUINO_SAM_ARCHIM -DARDUINO_ARCH_SAM -D__SAM3X8E__ -DUSBCON
  204. -funwind-tables -mpoke-function-name
  205. extra_scripts = Marlin/src/HAL/DUE/upload_extra_script.py
  206. #
  207. # NXP LPC176x ARM Cortex-M3
  208. #
  209. [env:LPC1768]
  210. platform = https://github.com/p3p/pio-nxplpc-arduino-lpc176x/archive/0.1.2.zip
  211. board = nxp_lpc1768
  212. build_flags = -DU8G_HAL_LINKS -IMarlin/src/HAL/LPC1768/include -IMarlin/src/HAL/LPC1768/u8g ${common.build_flags}
  213. # debug options for backtrace
  214. # -funwind-tables
  215. # -mpoke-function-name
  216. lib_ldf_mode = off
  217. lib_compat_mode = strict
  218. extra_scripts = Marlin/src/HAL/LPC1768/upload_extra_script.py
  219. src_filter = ${common.default_src_filter} +<src/HAL/LPC1768>
  220. lib_deps = Servo
  221. LiquidCrystal
  222. U8glib-HAL=https://github.com/MarlinFirmware/U8glib-HAL/archive/bugfix.zip
  223. TMCStepper@>=0.6.1,<1.0.0
  224. Adafruit NeoPixel=https://github.com/p3p/Adafruit_NeoPixel/archive/release.zip
  225. SailfishLCD=https://github.com/mikeshub/SailfishLCD/archive/master.zip
  226. [env:LPC1769]
  227. platform = https://github.com/p3p/pio-nxplpc-arduino-lpc176x/archive/0.1.2.zip
  228. board = nxp_lpc1769
  229. build_flags = -DU8G_HAL_LINKS -IMarlin/src/HAL/LPC1768/include -IMarlin/src/HAL/LPC1768/u8g ${common.build_flags}
  230. # debug options for backtrace
  231. # -funwind-tables
  232. # -mpoke-function-name
  233. lib_ldf_mode = off
  234. lib_compat_mode = strict
  235. extra_scripts = Marlin/src/HAL/LPC1768/upload_extra_script.py
  236. src_filter = ${common.default_src_filter} +<src/HAL/LPC1768>
  237. lib_deps = Servo
  238. LiquidCrystal
  239. U8glib-HAL=https://github.com/MarlinFirmware/U8glib-HAL/archive/bugfix.zip
  240. TMCStepper@>=0.6.1,<1.0.0
  241. Adafruit NeoPixel=https://github.com/p3p/Adafruit_NeoPixel/archive/release.zip
  242. SailfishLCD=https://github.com/mikeshub/SailfishLCD/archive/master.zip
  243. #
  244. # STM32F103RC
  245. #
  246. [env:STM32F103RC]
  247. platform = ststm32
  248. board = genericSTM32F103RC
  249. platform_packages = tool-stm32duino
  250. build_flags = !python Marlin/src/HAL/STM32F1/build_flags.py
  251. ${common.build_flags} -std=gnu++14
  252. build_unflags = -std=gnu++11
  253. src_filter = ${common.default_src_filter} +<src/HAL/STM32F1>
  254. lib_deps = ${common.lib_deps}
  255. SoftwareSerialM=https://github.com/FYSETC/SoftwareSerialM/archive/master.zip
  256. lib_ignore = Adafruit NeoPixel, SPI
  257. monitor_speed = 115200
  258. #
  259. # STM32F103RC_fysetc
  260. #
  261. [env:STM32F103RC_fysetc]
  262. platform = ststm32
  263. board = genericSTM32F103RC
  264. #board_build.core = maple
  265. platform_packages = tool-stm32duino
  266. build_flags = !python Marlin/src/HAL/STM32F1/build_flags.py
  267. ${common.build_flags} -std=gnu++14 -DDEBUG_LEVEL=0 -DHAVE_SW_SERIAL
  268. build_unflags = -std=gnu++11
  269. extra_scripts = buildroot/share/PlatformIO/scripts/STM32F103RC_fysetc.py
  270. src_filter = ${common.default_src_filter} +<src/HAL/STM32F1>
  271. lib_deps = ${common.lib_deps}
  272. SoftwareSerialM=https://github.com/FYSETC/SoftwareSerialM/archive/master.zip
  273. lib_ignore = Adafruit NeoPixel, SPI
  274. lib_ldf_mode = chain
  275. debug_tool = stlink
  276. upload_protocol = serial
  277. #
  278. # BigTree SKR Mini V1.1 / SKR mini E3 / SKR E3 DIP (STM32F103RCT6 ARM Cortex-M3)
  279. #
  280. # STM32F103RC_btt ............. RCT6 with 256K
  281. # STM32F103RC_btt_USB ......... RCT6 with 256K (USB mass storage)
  282. # STM32F103RC_btt_512K ........ RCT6 with 512K
  283. # STM32F103RC_btt_512K_USB .... RCT6 with 512K (USB mass storage)
  284. #
  285. [env:STM32F103RC_btt]
  286. platform = ststm32
  287. board = genericSTM32F103RC
  288. platform_packages = tool-stm32duino
  289. build_flags = !python Marlin/src/HAL/STM32F1/build_flags.py
  290. ${common.build_flags} -DDEBUG_LEVEL=0 -std=gnu++14 -DHAVE_SW_SERIAL -DSS_TIMER=4
  291. build_unflags = -std=gnu++11
  292. extra_scripts = buildroot/share/PlatformIO/scripts/STM32F103RC_SKR_MINI.py
  293. src_filter = ${common.default_src_filter} +<src/HAL/STM32F1>
  294. lib_deps = ${common.lib_deps}
  295. SoftwareSerialM=https://github.com/FYSETC/SoftwareSerialM/archive/master.zip
  296. lib_ignore = Adafruit NeoPixel, SPI
  297. monitor_speed = 115200
  298. [env:STM32F103RC_btt_USB]
  299. platform = ststm32
  300. board = genericSTM32F103RC
  301. platform_packages = tool-stm32duino
  302. build_flags = !python Marlin/src/HAL/STM32F1/build_flags.py
  303. ${common.build_flags} -DDEBUG_LEVEL=0 -std=gnu++14 -DHAVE_SW_SERIAL -DSS_TIMER=4 -DUSE_USB_COMPOSITE
  304. build_unflags = -std=gnu++11
  305. extra_scripts = buildroot/share/PlatformIO/scripts/STM32F103RC_SKR_MINI.py
  306. src_filter = ${common.default_src_filter} +<src/HAL/STM32F1>
  307. lib_deps = ${common.lib_deps}
  308. SoftwareSerialM=https://github.com/FYSETC/SoftwareSerialM/archive/master.zip
  309. USBComposite for STM32F1@==0.91
  310. lib_ignore = Adafruit NeoPixel, SPI
  311. monitor_speed = 115200
  312. [env:STM32F103RC_btt_512K]
  313. platform = ststm32
  314. board = genericSTM32F103RC
  315. board_upload.maximum_size=524288
  316. platform_packages = tool-stm32duino
  317. build_flags = !python Marlin/src/HAL/STM32F1/build_flags.py
  318. ${common.build_flags} -DDEBUG_LEVEL=0 -std=gnu++14 -DHAVE_SW_SERIAL -DSS_TIMER=4 -DSTM32_FLASH_SIZE=512
  319. build_unflags = -std=gnu++11
  320. extra_scripts = buildroot/share/PlatformIO/scripts/STM32F103RC_SKR_MINI.py
  321. src_filter = ${common.default_src_filter} +<src/HAL/STM32F1>
  322. lib_deps = ${common.lib_deps}
  323. SoftwareSerialM=https://github.com/FYSETC/SoftwareSerialM/archive/master.zip
  324. lib_ignore = Adafruit NeoPixel, SPI
  325. monitor_speed = 115200
  326. [env:STM32F103RC_btt_512K_USB]
  327. platform = ststm32
  328. board = genericSTM32F103RC
  329. board_upload.maximum_size=524288
  330. platform_packages = tool-stm32duino
  331. build_flags = !python Marlin/src/HAL/STM32F1/build_flags.py
  332. ${common.build_flags} -DDEBUG_LEVEL=0 -std=gnu++14 -DHAVE_SW_SERIAL -DSS_TIMER=4 -DSTM32_FLASH_SIZE=512 -DUSE_USB_COMPOSITE
  333. build_unflags = -std=gnu++11
  334. extra_scripts = buildroot/share/PlatformIO/scripts/STM32F103RC_SKR_MINI.py
  335. src_filter = ${common.default_src_filter} +<src/HAL/STM32F1>
  336. lib_deps = ${common.lib_deps}
  337. SoftwareSerialM=https://github.com/FYSETC/SoftwareSerialM/archive/master.zip
  338. USBComposite for STM32F1@==0.91
  339. lib_ignore = Adafruit NeoPixel, SPI
  340. monitor_speed = 115200
  341. #
  342. # STM32F103RE
  343. #
  344. [env:STM32F103RE]
  345. platform = ststm32
  346. board = genericSTM32F103RE
  347. platform_packages = tool-stm32duino
  348. build_flags = !python Marlin/src/HAL/STM32F1/build_flags.py
  349. ${common.build_flags} -std=gnu++14
  350. build_unflags = -std=gnu++11
  351. src_filter = ${common.default_src_filter} +<src/HAL/STM32F1>
  352. lib_deps = ${common.lib_deps}
  353. SoftwareSerialM=https://github.com/FYSETC/SoftwareSerialM/archive/master.zip
  354. lib_ignore = Adafruit NeoPixel, SPI
  355. monitor_speed = 115200
  356. #
  357. # STM32F103RE_btt ............. RET6
  358. # STM32F103RE_btt_USB ......... RET6 (USB mass storage)
  359. #
  360. [env:STM32F103RE_btt]
  361. platform = ststm32
  362. board = genericSTM32F103RE
  363. platform_packages = tool-stm32duino
  364. build_flags = !python Marlin/src/HAL/STM32F1/build_flags.py
  365. ${common.build_flags} -DDEBUG_LEVEL=0 -std=gnu++14 -DHAVE_SW_SERIAL -DSS_TIMER=4
  366. build_unflags = -std=gnu++11
  367. extra_scripts = buildroot/share/PlatformIO/scripts/STM32F103RE_SKR_E3_DIP.py
  368. src_filter = ${common.default_src_filter} +<src/HAL/STM32F1>
  369. lib_deps = ${common.lib_deps}
  370. SoftwareSerialM=https://github.com/FYSETC/SoftwareSerialM/archive/master.zip
  371. lib_ignore = Adafruit NeoPixel, SPI
  372. debug_tool = stlink
  373. upload_protocol = stlink
  374. monitor_speed = 115200
  375. [env:STM32F103RE_btt_USB]
  376. platform = ststm32
  377. board = genericSTM32F103RE
  378. platform_packages = tool-stm32duino
  379. build_flags = !python Marlin/src/HAL/STM32F1/build_flags.py
  380. ${common.build_flags} -DDEBUG_LEVEL=0 -std=gnu++14 -DHAVE_SW_SERIAL -DSS_TIMER=4 -DUSE_USB_COMPOSITE
  381. build_unflags = -std=gnu++11
  382. extra_scripts = buildroot/share/PlatformIO/scripts/STM32F103RE_SKR_E3_DIP.py
  383. src_filter = ${common.default_src_filter} +<src/HAL/STM32F1>
  384. lib_deps = ${common.lib_deps}
  385. SoftwareSerialM=https://github.com/FYSETC/SoftwareSerialM/archive/master.zip
  386. USBComposite for STM32F1@==0.91
  387. lib_ignore = Adafruit NeoPixel, SPI
  388. debug_tool = stlink
  389. upload_protocol = stlink
  390. monitor_speed = 115200
  391. #
  392. # STM32F4 with STM32GENERIC
  393. #
  394. [env:STM32F4]
  395. platform = ststm32
  396. board = disco_f407vg
  397. build_flags = ${common.build_flags} -DUSE_STM32GENERIC -DSTM32GENERIC -DSTM32F4 -DMENU_USB_SERIAL -DMENU_SERIAL=SerialUSB -DHAL_IWDG_MODULE_ENABLED
  398. lib_ignore = Adafruit NeoPixel, TMCStepper
  399. src_filter = ${common.default_src_filter} +<src/HAL/STM32_F4_F7> -<src/HAL/STM32_F4_F7/STM32F7>
  400. #
  401. # STM32F7 with STM32GENERIC
  402. #
  403. [env:STM32F7]
  404. platform = ststm32
  405. board = remram_v1
  406. build_flags = ${common.build_flags} -DUSE_STM32GENERIC -DSTM32GENERIC -DSTM32F7 -DMENU_USB_SERIAL -DMENU_SERIAL=SerialUSB -DHAL_IWDG_MODULE_ENABLED
  407. lib_ignore = Adafruit NeoPixel, TMCStepper
  408. src_filter = ${common.default_src_filter} +<src/HAL/STM32_F4_F7> -<src/HAL/STM32_F4_F7/STM32F4>
  409. #
  410. # ARMED (STM32)
  411. #
  412. [env:ARMED]
  413. platform = ststm32
  414. board = armed_v1
  415. build_flags = ${common.build_flags}
  416. -DUSBCON -DUSBD_VID=0x0483 '-DUSB_MANUFACTURER="Unknown"' '-DUSB_PRODUCT="ARMED_V1"' -DUSBD_USE_CDC
  417. -O2 -ffreestanding -fsigned-char -fno-move-loop-invariants -fno-strict-aliasing -std=gnu11 -std=gnu++11
  418. -IMarlin/src/HAL/STM32
  419. lib_ignore = Adafruit NeoPixel, SoftwareSerial
  420. src_filter = ${common.default_src_filter} +<src/HAL/STM32>
  421. #
  422. # Geeetech GTM32 (STM32F103VET6)
  423. #
  424. [env:STM32F103VE_GTM32]
  425. platform = ststm32
  426. board = genericSTM32F103VE
  427. build_flags = !python Marlin/src/HAL/STM32F1/build_flags.py
  428. ${common.build_flags} -std=gnu++14 -ffunction-sections -fdata-sections -nostdlib -MMD
  429. -DMCU_STM32F103VE -DARDUINO_GENERIC_STM32F103V -DARDUINO_ARCH_STM32F1 -DBOARD_generic_stm32f103v
  430. -DDEBUG_LEVEL=DEBUG_NONE -DCONFIG_MAPLE_MINI_NO_DISABLE_DEBUG=1 -DVECT_TAB_ADDR=0x8000000 -DERROR_LED_PORT=GPIOE -DERROR_LED_PIN=6
  431. build_unflags = -std=gnu++11
  432. src_filter = ${common.default_src_filter} +<src/HAL/STM32F1>
  433. lib_ignore = Adafruit NeoPixel, SPI
  434. upload_protocol = serial
  435. #
  436. # Longer 3D board in Alfawise U20 (STM32F103VET6)
  437. #
  438. [env:STM32F103VE_longer]
  439. platform = ststm32
  440. board = genericSTM32F103VE
  441. build_flags = !python Marlin/src/HAL/STM32F1/build_flags.py
  442. ${common.build_flags} -std=gnu++14 -DMCU_STM32F103VE -DSTM32F1xx -USERIAL_USB -DU20 -DTS_V12
  443. build_unflags = -std=gnu++11 -DCONFIG_MAPLE_MINI_NO_DISABLE_DEBUG=1 -DERROR_LED_PORT=GPIOE -DERROR_LED_PIN=6
  444. extra_scripts = buildroot/share/PlatformIO/scripts/STM32F103VE_longer.py
  445. src_filter = ${common.default_src_filter} +<src/HAL/STM32F1>
  446. lib_ignore = Adafruit NeoPixel, LiquidTWI2, SPI
  447. #
  448. # MKS Robin Mini (STM32F103VET6)
  449. #
  450. [env:mks_robin_mini]
  451. platform = ststm32
  452. board = genericSTM32F103VE
  453. build_flags = !python Marlin/src/HAL/STM32F1/build_flags.py
  454. ${common.build_flags} -std=gnu++14 -DMCU_STM32F103VE
  455. build_unflags = -std=gnu++11
  456. extra_scripts = buildroot/share/PlatformIO/scripts/mks_robin_mini.py
  457. src_filter = ${common.default_src_filter} +<src/HAL/STM32F1>
  458. lib_ignore = Adafruit NeoPixel, SPI
  459. #
  460. # MKS Robin Nano (STM32F103VET6)
  461. #
  462. [env:mks_robin_nano]
  463. platform = ststm32
  464. board = genericSTM32F103VE
  465. platform_packages = tool-stm32duino
  466. build_flags = !python Marlin/src/HAL/STM32F1/build_flags.py
  467. ${common.build_flags} -std=gnu++14 -DMCU_STM32F103VE -DHAVE_SW_SERIAL -DSS_TIMER=4
  468. build_unflags = -std=gnu++11
  469. extra_scripts = buildroot/share/PlatformIO/scripts/mks_robin_nano.py
  470. src_filter = ${common.default_src_filter} +<src/HAL/STM32F1>
  471. lib_deps = ${common.lib_deps}
  472. SoftwareSerialM=https://github.com/FYSETC/SoftwareSerialM/archive/master.zip
  473. lib_ignore = Adafruit NeoPixel, SPI
  474. #
  475. # MKS Robin (STM32F103ZET6)
  476. #
  477. [env:mks_robin]
  478. platform = ststm32
  479. board = genericSTM32F103ZE
  480. build_flags = !python Marlin/src/HAL/STM32F1/build_flags.py
  481. ${common.build_flags} -std=gnu++14 -DHAVE_SW_SERIAL -DSS_TIMER=4 -DSTM32_XL_DENSITY
  482. build_unflags = -std=gnu++11
  483. extra_scripts = buildroot/share/PlatformIO/scripts/mks_robin.py
  484. src_filter = ${common.default_src_filter} +<src/HAL/STM32F1>
  485. lib_deps = ${common.lib_deps}
  486. SoftwareSerialM=https://github.com/FYSETC/SoftwareSerialM/archive/master.zip
  487. lib_ignore = Adafruit NeoPixel, SPI
  488. #
  489. # MKS Robin Pro (STM32F103ZET6)
  490. #
  491. [env:mks_robin_pro]
  492. platform = ststm32
  493. board = genericSTM32F103ZE
  494. extra_scripts = buildroot/share/PlatformIO/scripts/mks_robin_pro.py
  495. build_flags = !python Marlin/src/HAL/STM32F1/build_flags.py
  496. ${common.build_flags} -std=gnu++14 -DSTM32_XL_DENSITY
  497. build_unflags = -std=gnu++11
  498. src_filter = ${common.default_src_filter} +<src/HAL/STM32F1>
  499. lib_deps = ${common.lib_deps}
  500. lib_ignore = Adafruit NeoPixel, SPI, TMCStepper
  501. #
  502. # MKS Robin E3D (STM32F103RCT6) and
  503. # MKS Robin E3 with TMC2209
  504. #
  505. [env:mks_robin_e3]
  506. platform = ststm32
  507. board = genericSTM32F103RC
  508. platform_packages = tool-stm32duino
  509. build_flags = !python Marlin/src/HAL/STM32F1/build_flags.py
  510. ${common.build_flags} -DDEBUG_LEVEL=0 -std=gnu++14 -DHAVE_SW_SERIAL -DSS_TIMER=4
  511. build_unflags = -std=gnu++11
  512. extra_scripts = buildroot/share/PlatformIO/scripts/mks_robin_e3.py
  513. src_filter = ${common.default_src_filter} +<src/HAL/STM32F1>
  514. lib_deps = ${common.lib_deps}
  515. SoftwareSerialM=https://github.com/FYSETC/SoftwareSerialM/archive/master.zip
  516. lib_ignore = Adafruit NeoPixel, SPI
  517. #
  518. # MKS Robin Lite/Lite2 (STM32F103RCT6)
  519. #
  520. [env:mks_robin_lite]
  521. platform = ststm32
  522. board = genericSTM32F103RC
  523. build_flags = !python Marlin/src/HAL/STM32F1/build_flags.py
  524. ${common.build_flags} -std=gnu++14
  525. build_unflags = -std=gnu++11
  526. extra_scripts = buildroot/share/PlatformIO/scripts/mks_robin_lite.py
  527. src_filter = ${common.default_src_filter} +<src/HAL/STM32F1>
  528. lib_ignore = Adafruit NeoPixel, SPI
  529. #
  530. # MKS ROBIN LITE3 (STM32F103RCT6)
  531. #
  532. [env:mks_robin_lite3]
  533. platform = ststm32
  534. board = genericSTM32F103RC
  535. extra_scripts = buildroot/share/PlatformIO/scripts/mks_robin_lite3.py
  536. build_flags = !python Marlin/src/HAL/STM32F1/build_flags.py
  537. ${common.build_flags} -std=gnu++14
  538. build_unflags = -std=gnu++11
  539. src_filter = ${common.default_src_filter} +<src/HAL/STM32F1>
  540. lib_deps = ${common.lib_deps}
  541. lib_ignore = Adafruit NeoPixel, SPI
  542. #
  543. # JGAurora A5S A1 (STM32F103ZET6)
  544. #
  545. [env:jgaurora_a5s_a1]
  546. platform = ststm32
  547. board = genericSTM32F103ZE
  548. build_flags = !python Marlin/src/HAL/STM32F1/build_flags.py
  549. ${common.build_flags} -DSTM32F1xx -std=gnu++14 -DSTM32_XL_DENSITY
  550. build_unflags = -std=gnu++11
  551. extra_scripts = buildroot/share/PlatformIO/scripts/jgaurora_a5s_a1_with_bootloader.py
  552. src_filter = ${common.default_src_filter} +<src/HAL/STM32F1>
  553. lib_ignore = Adafruit NeoPixel, SPI
  554. #
  555. # Malyan M200 (STM32F103CB)
  556. #
  557. [env:STM32F103CB_malyan]
  558. platform = ststm32
  559. board = malyanM200
  560. build_flags = !python Marlin/src/HAL/STM32F1/build_flags.py -DMCU_STM32F103CB -D __STM32F1__=1 -std=c++1y -DSERIAL_USB -ffunction-sections -fdata-sections -Wl,--gc-sections
  561. -DDEBUG_LEVEL=0 -D__MARLIN_FIRMWARE__
  562. src_filter = ${common.default_src_filter} +<src/HAL/STM32F1>
  563. lib_ignore = LiquidCrystal, LiquidTWI2, Adafruit NeoPixel, TMCStepper, U8glib-HAL, SPI
  564. #
  565. # Malyan M200 v2 (STM32F070RB)
  566. #
  567. [env:STM32F070RB_malyan]
  568. platform = ststm32
  569. board = malyanM200v2
  570. build_flags = -DSTM32F0xx -DUSBCON -DUSBD_VID=0x0483 '-DUSB_MANUFACTURER="Unknown"' '-DUSB_PRODUCT="ARMED_V1"' -DUSBD_USE_CDC -DHAL_PCD_MODULE_ENABLED
  571. -O2 -ffreestanding -fsigned-char -fno-move-loop-invariants -fno-strict-aliasing -std=gnu11 -std=gnu++11
  572. -IMarlin/src/HAL/STM32
  573. src_filter = ${common.default_src_filter} +<src/HAL/STM32>
  574. lib_ignore = LiquidCrystal, LiquidTWI2, Adafruit NeoPixel, TMCStepper, U8glib-HAL
  575. #
  576. # Malyan M300 (STM32F070CB)
  577. #
  578. [env:malyan_M300]
  579. platform = ststm32@>=6.1.0
  580. board = malyanm300_f070cb
  581. build_flags = ${common.build_flags}
  582. -DUSBCON -DUSBD_VID=0x0483 "-DUSB_MANUFACTURER=\"Unknown\"" "-DUSB_PRODUCT=\"MALYAN_M300\""
  583. -DHAL_PCD_MODULE_ENABLED -DUSBD_USE_CDC -DDISABLE_GENERIC_SERIALUSB -DHAL_UART_MODULE_ENABLED
  584. src_filter = ${common.default_src_filter} +<src/HAL/STM32>
  585. lib_ignore = LiquidCrystal, LiquidTWI2, Adafruit NeoPixel, TMCStepper, U8glib-HAL
  586. #
  587. # Chitu boards like Tronxy X5s (STM32F103ZET6)
  588. #
  589. [env:chitu_f103]
  590. platform = ststm32
  591. board = genericSTM32F103ZE
  592. build_flags = !python Marlin/src/HAL/STM32F1/build_flags.py
  593. ${common.build_flags} -DSTM32F1xx -std=gnu++14 -DSTM32_XL_DENSITY
  594. build_unflags = -std=gnu++11 -DCONFIG_MAPLE_MINI_NO_DISABLE_DEBUG= -DERROR_LED_PORT=GPIOE -DERROR_LED_PIN=6
  595. extra_scripts = buildroot/share/PlatformIO/scripts/chitu_crypt.py
  596. src_filter = ${common.default_src_filter} +<src/HAL/STM32F1>
  597. lib_ignore = Adafruit NeoPixel
  598. #
  599. # STM32F401VE
  600. # 'STEVAL-3DP001V1' STM32F401VE board - https://www.st.com/en/evaluation-tools/steval-3dp001v1.html
  601. #
  602. [env:STM32F401VE_STEVAL]
  603. platform = ststm32
  604. board = STEVAL_STM32F401VE
  605. platform_packages = framework-arduinoststm32@>=3.10700,<4
  606. build_flags = ${common.build_flags}
  607. -DTARGET_STM32F4 -DARDUINO_STEVAL -DSTM32F401xE
  608. -DUSBCON -DUSBD_USE_CDC -DUSBD_VID=0x0483 -DUSB_PRODUCT=\"STEVAL_F401VE\"
  609. -DDISABLE_GENERIC_SERIALUSB -DUSBD_USE_CDC_COMPOSITE -DUSE_USB_FS
  610. -IMarlin/src/HAL/STM32
  611. build_unflags = -std=gnu++11
  612. extra_scripts = pre:buildroot/share/PlatformIO/scripts/generic_create_variant.py
  613. buildroot/share/PlatformIO/scripts/STEVAL__F401XX.py
  614. lib_ignore = Adafruit NeoPixel, TMCStepper, SailfishLCD, SlowSoftI2CMaster, SoftwareSerial
  615. src_filter = ${common.default_src_filter} +<src/HAL/STM32>
  616. #
  617. # FLYF407ZG
  618. #
  619. [env:FLYF407ZG]
  620. platform = ststm32
  621. board = FLYF407ZG
  622. platform_packages = framework-arduinoststm32@>=3.10700,<4
  623. build_flags = ${common.build_flags}
  624. -DSTM32F4 -DUSBCON -DUSBD_USE_CDC -DUSBD_VID=0x0483 -DUSB_PRODUCT=\"STM32F407ZG\"
  625. -DTARGET_STM32F4 -DVECT_TAB_OFFSET=0x8000
  626. -IMarlin/src/HAL/STM32
  627. build_unflags = -std=gnu++11
  628. extra_scripts = pre:buildroot/share/PlatformIO/scripts/generic_create_variant.py
  629. lib_ignore = Adafruit NeoPixel, TMCStepper, SailfishLCD, SlowSoftI2CMaster, SoftwareSerial
  630. src_filter = ${common.default_src_filter} +<src/HAL/STM32>
  631. #
  632. # FYSETC S6 (STM32F446VET6 ARM Cortex-M4)
  633. #
  634. [env:FYSETC_S6]
  635. platform = ststm32
  636. board = fysetc_s6
  637. platform_packages =
  638. tool-stm32duino
  639. framework-arduinoststm32@>=3.10700,<4
  640. build_flags = ${common.build_flags}
  641. -DTARGET_STM32F4 -std=gnu++14
  642. -DVECT_TAB_OFFSET=0x10000
  643. -DUSBCON -DUSBD_USE_CDC -DHAL_PCD_MODULE_ENABLED -DUSBD_VID=0x0483 '-DUSB_PRODUCT="FYSETC_S6"'
  644. -IMarlin/src/HAL/STM32
  645. build_unflags = -std=gnu++11
  646. extra_scripts = pre:buildroot/share/PlatformIO/scripts/fysetc_STM32S6.py
  647. src_filter = ${common.default_src_filter} +<src/HAL/STM32>
  648. lib_ignore = Arduino-L6470, SoftwareSerial
  649. debug_tool = stlink
  650. #upload_protocol = stlink
  651. upload_protocol = serial
  652. #
  653. # STM32F407VET6 with RAMPS-like shield
  654. # 'Black' STM32F407VET6 board - http://wiki.stm32duino.com/index.php?title=STM32F407
  655. # Shield - https://github.com/jmz52/Hardware
  656. #
  657. [env:STM32F407VE_black]
  658. platform = ststm32
  659. board = blackSTM32F407VET6
  660. platform_packages = framework-arduinoststm32@>=3.10700,<4
  661. build_flags = ${common.build_flags}
  662. -DTARGET_STM32F4 -DARDUINO_BLACK_F407VE
  663. -DUSBCON -DUSBD_USE_CDC -DUSBD_VID=0x0483 -DUSB_PRODUCT=\"BLACK_F407VE\"
  664. -DUSBD_USE_CDC_COMPOSITE -DUSE_USB_FS
  665. -IMarlin/src/HAL/STM32
  666. build_unflags = -std=gnu++11
  667. extra_scripts = pre:buildroot/share/PlatformIO/scripts/generic_create_variant.py
  668. lib_ignore = Adafruit NeoPixel, TMCStepper, SailfishLCD, SlowSoftI2CMaster, SoftwareSerial
  669. src_filter = ${common.default_src_filter} +<src/HAL/STM32>
  670. #
  671. # BigTreeTech SKR Pro (STM32F407ZGT6 ARM Cortex-M4)
  672. #
  673. [env:BIGTREE_SKR_PRO]
  674. platform = ststm32
  675. board = BigTree_SKR_Pro
  676. platform_packages = framework-arduinoststm32@>=3.10700,<4
  677. build_flags = ${common.build_flags}
  678. -DUSBCON -DUSBD_USE_CDC -DUSBD_VID=0x0483 -DUSB_PRODUCT=\"STM32F407ZG\"
  679. -DTARGET_STM32F4 -DSTM32F407_5ZX -DVECT_TAB_OFFSET=0x8000
  680. -IMarlin/src/HAL/STM32
  681. build_unflags = -std=gnu++11
  682. extra_scripts = pre:buildroot/share/PlatformIO/scripts/generic_create_variant.py
  683. lib_ignore = SoftwareSerial, SoftwareSerialM
  684. src_filter = ${common.default_src_filter} +<src/HAL/STM32>
  685. #upload_protocol = stlink
  686. #upload_command = "$PROJECT_PACKAGES_DIR/tool-stm32duino/stlink/ST-LINK_CLI.exe" -c SWD -P "$BUILD_DIR/firmware.bin" 0x8008000 -Rst -Run
  687. debug_tool = stlink
  688. debug_init_break =
  689. #
  690. # Bigtreetech GTR V1.0 (STM32F407IGT6 ARM Cortex-M4)
  691. #
  692. [env:BIGTREE_GTR_V1_0]
  693. platform = ststm32@>=5.7.0
  694. framework = arduino
  695. platform_packages = framework-arduinoststm32@>=3.10700,<4
  696. board = BigTree_SKR_Pro
  697. extra_scripts = pre:buildroot/share/PlatformIO/scripts/generic_create_variant.py
  698. build_flags = ${common.build_flags}
  699. -DUSBCON -DUSBD_USE_CDC -DUSBD_VID=0x0483 -DUSB_PRODUCT=\"STM32F407IG\"
  700. -DTARGET_STM32F4 -DSTM32F407IX -DVECT_TAB_OFFSET=0x8000
  701. -IMarlin/src/HAL/STM32
  702. lib_deps =
  703. U8glib-HAL=https://github.com/MarlinFirmware/U8glib-HAL/archive/bugfix.zip
  704. LiquidCrystal
  705. TMCStepper@>=0.5.2,<1.0.0
  706. Adafruit NeoPixel
  707. LiquidTWI2=https://github.com/lincomatic/LiquidTWI2/archive/master.zip
  708. Arduino-L6470=https://github.com/ameyer/Arduino-L6470/archive/dev.zip
  709. lib_ignore = SoftwareSerial, SoftwareSerialM
  710. src_filter = ${common.default_src_filter} +<src/HAL/STM32>
  711. monitor_speed = 250000
  712. #
  713. # BigTreeTech BTT002 V1.0 (STM32F407VGT6 ARM Cortex-M4)
  714. #
  715. [env:BIGTREE_BTT002]
  716. platform = ststm32@5.6.0
  717. board = BigTree_Btt002
  718. platform_packages = framework-arduinoststm32@>=3.10700,<4
  719. build_flags = ${common.build_flags}
  720. -DUSBCON -DUSBD_USE_CDC -DUSBD_VID=0x0483 -DUSB_PRODUCT=\"STM32F407VG\"
  721. -DTARGET_STM32F4 -DSTM32F407_5VX -DVECT_TAB_OFFSET=0x8000
  722. -DHAVE_HWSERIAL2
  723. -DHAVE_HWSERIAL3
  724. -DPIN_SERIAL2_RX=PD_6
  725. -DPIN_SERIAL2_TX=PD_5
  726. -IMarlin/src/HAL/STM32
  727. build_unflags = -std=gnu++11
  728. extra_scripts = pre:buildroot/share/PlatformIO/scripts/generic_create_variant.py
  729. lib_ignore = Adafruit NeoPixel, SailfishLCD, SlowSoftI2CMaster, SoftwareSerial
  730. src_filter = ${common.default_src_filter} +<src/HAL/STM32>
  731. #
  732. # Teensy 3.1 / 3.2 (ARM Cortex-M4)
  733. #
  734. [env:teensy31]
  735. platform = teensy
  736. board = teensy31
  737. lib_deps = ${common.lib_deps}
  738. TMC26XStepper=https://github.com/trinamic/TMC26XStepper/archive/master.zip
  739. lib_ignore = Adafruit NeoPixel
  740. src_filter = ${common.default_src_filter} +<src/HAL/TEENSY31_32>
  741. #
  742. # Teensy 3.5 / 3.6 (ARM Cortex-M4)
  743. #
  744. [env:teensy35]
  745. platform = teensy
  746. board = teensy35
  747. lib_deps = ${common.lib_deps}
  748. TMC26XStepper=https://github.com/trinamic/TMC26XStepper/archive/master.zip
  749. lib_ignore = Adafruit NeoPixel
  750. src_filter = ${common.default_src_filter} +<src/HAL/TEENSY35_36>
  751. #
  752. # Espressif ESP32
  753. #
  754. [env:esp32]
  755. platform = espressif32@1.11.2
  756. board = esp32dev
  757. build_flags = ${common.build_flags} -DCORE_DEBUG_LEVEL=0
  758. lib_deps = ${common.lib_deps}
  759. AsyncTCP=https://github.com/me-no-dev/AsyncTCP/archive/master.zip
  760. ESPAsyncWebServer=https://github.com/me-no-dev/ESPAsyncWebServer/archive/master.zip
  761. ESP3DLib=https://github.com/luc-github/ESP3DLib.git
  762. arduinoWebSockets=https://github.com/Links2004/arduinoWebSockets.git
  763. ESP32SSDP=https://github.com/luc-github/ESP32SSDP.git
  764. lib_ignore = LiquidCrystal, LiquidTWI2, SailfishLCD, ESPAsyncTCP
  765. src_filter = ${common.default_src_filter} +<src/HAL/ESP32>
  766. upload_speed = 115200
  767. #upload_port = marlinesp.local
  768. #board_build.flash_mode = qio
  769. #
  770. # Native
  771. # No supported Arduino libraries, base Marlin only
  772. #
  773. [env:linux_native]
  774. platform = native
  775. framework =
  776. build_flags = -D__PLAT_LINUX__ -std=gnu++17 -ggdb -g -lrt -lpthread -D__MARLIN_FIRMWARE__ -Wno-expansion-to-defined
  777. src_build_flags = -Wall -IMarlin/src/HAL/LINUX/include
  778. build_unflags = -Wall
  779. lib_ldf_mode = off
  780. lib_deps =
  781. src_filter = ${common.default_src_filter} +<src/HAL/LINUX>
  782. #
  783. # Adafruit Grand Central M4 (Atmel SAMD51P20A ARM Cortex-M4)
  784. #
  785. [env:SAMD51_grandcentral_m4]
  786. platform = atmelsam
  787. board = adafruit_grandcentral_m4
  788. build_flags = ${common.build_flags} -std=gnu++17 -Wno-register
  789. build_unflags = -std=gnu++11
  790. src_filter = ${common.default_src_filter} +<src/HAL/SAMD51>
  791. lib_deps = ${common.lib_deps}
  792. SoftwareSerialM=https://github.com/FYSETC/SoftwareSerialM/archive/master.zip
  793. Adafruit_SPIFlash=https://github.com/adafruit/Adafruit_SPIFlash/archive/master.zip
  794. debug_tool = jlink
  795. #
  796. # RUMBA32
  797. #
  798. [env:rumba32_f446ve]
  799. platform = ststm32
  800. board = rumba32_f446ve
  801. build_flags = ${common.build_flags}
  802. -DSTM32F4xx
  803. -DARDUINO_RUMBA32_F446VE
  804. -DARDUINO_ARCH_STM32
  805. "-DBOARD_NAME=\"RUMBA32_F446VE\""
  806. -DSTM32F446xx
  807. -DUSBCON
  808. -DUSBD_VID=0x0483
  809. "-DUSB_MANUFACTURER=\"Unknown\""
  810. "-DUSB_PRODUCT=\"RUMBA32_F446VE\""
  811. -DHAL_PCD_MODULE_ENABLED
  812. -DUSBD_USE_CDC
  813. -DDISABLE_GENERIC_SERIALUSB
  814. -DHAL_UART_MODULE_ENABLED
  815. -Os
  816. lib_ignore = Adafruit NeoPixel
  817. src_filter = ${common.default_src_filter} +<src/HAL/STM32>
  818. monitor_speed = 500000
  819. upload_protocol = dfu
  820. #
  821. # MKS RUMBA32 (adds TMC2208/2209 UART interface and AUX-1)
  822. #
  823. [env:rumba32_mks]
  824. platform = ststm32
  825. board = rumba32_f446ve
  826. build_flags = ${common.build_flags}
  827. -DSTM32F4xx -DARDUINO_RUMBA32_F446VE -DARDUINO_ARCH_STM32 "-DBOARD_NAME=\"RUMBA32_F446VE\""
  828. -DSTM32F446xx -DUSBCON -DUSBD_VID=0x8000
  829. "-DUSB_MANUFACTURER=\"Unknown\""
  830. "-DUSB_PRODUCT=\"RUMBA32_F446VE\""
  831. -DHAL_PCD_MODULE_ENABLED
  832. -DUSBD_USE_CDC
  833. -DDISABLE_GENERIC_SERIALUSB
  834. -DHAL_UART_MODULE_ENABLED
  835. -Os
  836. lib_ignore = Adafruit NeoPixel
  837. src_filter = ${common.default_src_filter} +<src/HAL/STM32> +<src/HAL/STM32_F4_F7> -<src/HAL/STM32_F4_F7/STM32F7>
  838. upload_protocol = dfu
  839. #
  840. # Just print the dependency tree
  841. #
  842. [env:include_tree]
  843. platform = atmelavr
  844. board = megaatmega2560
  845. build_flags = -c -H -std=gnu++11 -Wall -Os -D__MARLIN_FIRMWARE__
  846. lib_deps = ${common.lib_deps}
  847. TMC26XStepper=https://github.com/trinamic/TMC26XStepper/archive/master.zip
  848. src_filter = +<src/Marlin.cpp>