My Marlin configs for Fabrikator Mini and CTC i3 Pro B
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

platformio.ini 18KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636
  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. build_dir = .pioenvs
  18. lib_dir = .piolib
  19. libdeps_dir = .piolibdeps
  20. boards_dir = buildroot/share/PlatformIO/boards
  21. default_envs = megaatmega2560
  22. [common]
  23. default_src_filter = +<src/*> -<src/config> -<src/HAL> +<src/HAL/shared>
  24. build_flags = -fmax-errors=5
  25. -g
  26. -ggdb
  27. lib_deps =
  28. U8glib-HAL=https://github.com/MarlinFirmware/U8glib-HAL/archive/dev.zip
  29. LiquidCrystal@1.3.4
  30. TMCStepper@<1.0.0
  31. Adafruit NeoPixel@1.1.3
  32. LiquidTWI2=https://github.com/lincomatic/LiquidTWI2/archive/master.zip
  33. Arduino-L6470=https://github.com/ameyer/Arduino-L6470/archive/dev.zip
  34. TMC26XStepper=https://github.com/trinamic/TMC26XStepper/archive/master.zip
  35. SailfishLCD=https://github.com/mikeshub/SailfishLCD/archive/master.zip
  36. SailfishRGB_LED=https://github.com/mikeshub/SailfishRGB_LED/archive/master.zip
  37. SlowSoftI2CMaster=https://github.com/mikeshub/SlowSoftI2CMaster/archive/master.zip
  38. #################################
  39. # #
  40. # Unique Core Architectures #
  41. # #
  42. # Add a new "env" below if no #
  43. # entry has values suitable to #
  44. # build for a given board. #
  45. # #
  46. #################################
  47. #
  48. # ATmega2560
  49. #
  50. [env:megaatmega2560]
  51. platform = atmelavr
  52. framework = arduino
  53. board = megaatmega2560
  54. build_flags = ${common.build_flags}
  55. board_build.f_cpu = 16000000L
  56. lib_deps = ${common.lib_deps}
  57. src_filter = ${common.default_src_filter} +<src/HAL/HAL_AVR>
  58. monitor_speed = 250000
  59. #
  60. # ATmega1280
  61. #
  62. [env:megaatmega1280]
  63. platform = atmelavr
  64. framework = arduino
  65. board = megaatmega1280
  66. build_flags = ${common.build_flags}
  67. board_build.f_cpu = 16000000L
  68. lib_deps = ${common.lib_deps}
  69. src_filter = ${common.default_src_filter} +<src/HAL/HAL_AVR>
  70. monitor_speed = 250000
  71. #
  72. # AT90USB1286 boards using CDC bootloader
  73. # - BRAINWAVE
  74. # - BRAINWAVE_PRO
  75. # - SAV_MKI
  76. # - TEENSYLU
  77. #
  78. [env:at90usb1286_cdc]
  79. platform = teensy
  80. framework = arduino
  81. board = at90usb1286
  82. build_flags = ${common.build_flags}
  83. lib_deps = ${common.lib_deps}
  84. src_filter = ${common.default_src_filter} +<src/HAL/HAL_AVR>
  85. extra_scripts = pre:buildroot/share/atom/create_custom_upload_command_CDC.py
  86. monitor_speed = 250000
  87. #
  88. # AT90USB1286 boards using DFU bootloader
  89. # - PrintrBoard
  90. # - PrintrBoard Rev.F
  91. # - ? 5DPRINT ?
  92. #
  93. [env:at90usb1286_dfu]
  94. platform = teensy
  95. framework = arduino
  96. board = at90usb1286
  97. build_flags = ${common.build_flags}
  98. lib_deps = ${common.lib_deps}
  99. src_filter = ${common.default_src_filter} +<src/HAL/HAL_AVR>
  100. extra_scripts = pre:buildroot/share/atom/create_custom_upload_command_DFU.py
  101. monitor_speed = 250000
  102. #
  103. # Due (Atmel SAM3X8E ARM Cortex-M3)
  104. #
  105. # - RAMPS4DUE
  106. # - RADDS
  107. #
  108. [env:DUE]
  109. platform = atmelsam
  110. framework = arduino
  111. board = due
  112. build_flags = ${common.build_flags}
  113. lib_deps = ${common.lib_deps}
  114. lib_ignore = TMC26XStepper
  115. src_filter = ${common.default_src_filter} +<src/HAL/HAL_DUE>
  116. monitor_speed = 250000
  117. [env:DUE_USB]
  118. platform = atmelsam
  119. framework = arduino
  120. board = dueUSB
  121. build_flags = ${common.build_flags}
  122. lib_deps = ${common.lib_deps}
  123. lib_ignore = TMC26XStepper
  124. src_filter = ${common.default_src_filter} +<src/HAL/HAL_DUE>
  125. monitor_speed = 250000
  126. [env:DUE_debug]
  127. # Used when WATCHDOG_RESET_MANUAL is enabled
  128. platform = atmelsam
  129. framework = arduino
  130. board = due
  131. build_flags = ${common.build_flags}
  132. -funwind-tables
  133. -mpoke-function-name
  134. lib_deps = ${common.lib_deps}
  135. lib_ignore = TMC26XStepper
  136. src_filter = ${common.default_src_filter} +<src/HAL/HAL_DUE>
  137. monitor_speed = 250000
  138. #
  139. # NXP LPC176x ARM Cortex-M3
  140. #
  141. [env:LPC1768]
  142. platform = https://github.com/p3p/pio-nxplpc-arduino-lpc176x/archive/master.zip
  143. framework = arduino
  144. board = nxp_lpc1768
  145. build_flags = -DTARGET_LPC1768 -DU8G_HAL_LINKS -IMarlin/src/HAL/HAL_LPC1768/include -IMarlin/src/HAL/HAL_LPC1768/u8g ${common.build_flags}
  146. # debug options for backtrace
  147. # -funwind-tables
  148. # -mpoke-function-name
  149. lib_ldf_mode = off
  150. lib_compat_mode = strict
  151. extra_scripts = Marlin/src/HAL/HAL_LPC1768/upload_extra_script.py
  152. src_filter = ${common.default_src_filter} +<src/HAL/HAL_LPC1768>
  153. monitor_speed = 250000
  154. lib_deps = Servo
  155. LiquidCrystal
  156. U8glib-HAL=https://github.com/MarlinFirmware/U8glib-HAL/archive/dev.zip
  157. TMCStepper@<1.0.0
  158. Adafruit NeoPixel=https://github.com/p3p/Adafruit_NeoPixel/archive/master.zip
  159. SailfishLCD=https://github.com/mikeshub/SailfishLCD/archive/master.zip
  160. [env:LPC1769]
  161. platform = https://github.com/p3p/pio-nxplpc-arduino-lpc176x/archive/master.zip
  162. framework = arduino
  163. board = nxp_lpc1769
  164. build_flags = -DTARGET_LPC1768 -DLPC1769 -DU8G_HAL_LINKS -IMarlin/src/HAL/HAL_LPC1768/include -IMarlin/src/HAL/HAL_LPC1768/u8g ${common.build_flags}
  165. # debug options for backtrace
  166. # -funwind-tables
  167. # -mpoke-function-name
  168. lib_ldf_mode = off
  169. lib_compat_mode = strict
  170. extra_scripts = Marlin/src/HAL/HAL_LPC1768/upload_extra_script.py
  171. src_filter = ${common.default_src_filter} +<src/HAL/HAL_LPC1768>
  172. monitor_speed = 250000
  173. lib_deps = Servo
  174. LiquidCrystal
  175. U8glib-HAL=https://github.com/MarlinFirmware/U8glib-HAL/archive/dev.zip
  176. TMCStepper@<1.0.0
  177. Adafruit NeoPixel=https://github.com/p3p/Adafruit_NeoPixel/archive/master.zip
  178. #
  179. # Melzi and clones (ATmega1284p)
  180. #
  181. [env:melzi]
  182. platform = atmelavr
  183. framework = arduino
  184. board = sanguino_atmega1284p
  185. build_flags = ${common.build_flags} -fmerge-all-constants
  186. upload_speed = 57600
  187. lib_deps = ${common.lib_deps}
  188. lib_ignore = TMCStepper, TMC26XStepper
  189. src_filter = ${common.default_src_filter} +<src/HAL/HAL_AVR>
  190. monitor_speed = 250000
  191. #
  192. # Melzi and clones (Optiboot bootloader)
  193. #
  194. [env:melzi_optiboot]
  195. platform = atmelavr
  196. framework = arduino
  197. board = sanguino_atmega1284p
  198. build_flags = ${common.build_flags}
  199. upload_speed = 115200
  200. lib_deps = ${common.lib_deps}
  201. lib_ignore = TMCStepper, TMC26XStepper
  202. src_filter = ${common.default_src_filter} +<src/HAL/HAL_AVR>
  203. monitor_speed = 250000
  204. #
  205. # RAMBo
  206. #
  207. [env:rambo]
  208. platform = atmelavr
  209. framework = arduino
  210. board = reprap_rambo
  211. build_flags = ${common.build_flags}
  212. board_build.f_cpu = 16000000L
  213. lib_deps = ${common.lib_deps}
  214. src_filter = ${common.default_src_filter} +<src/HAL/HAL_AVR>
  215. monitor_speed = 250000
  216. #
  217. # Sanguinololu (ATmega644p)
  218. #
  219. [env:sanguino_atmega644p]
  220. platform = atmelavr
  221. framework = arduino
  222. board = sanguino_atmega644p
  223. build_flags = ${common.build_flags}
  224. lib_deps = ${common.lib_deps}
  225. src_filter = ${common.default_src_filter} +<src/HAL/HAL_AVR>
  226. monitor_speed = 250000
  227. #
  228. # Sanguinololu (ATmega1284p)
  229. #
  230. [env:sanguino_atmega1284p]
  231. platform = atmelavr
  232. framework = arduino
  233. board = sanguino_atmega1284p
  234. build_flags = ${common.build_flags}
  235. lib_deps = ${common.lib_deps}
  236. src_filter = ${common.default_src_filter} +<src/HAL/HAL_AVR>
  237. monitor_speed = 250000
  238. #
  239. # STM32F103RE
  240. #
  241. [env:STM32F1]
  242. platform = ststm32
  243. framework = arduino
  244. board = genericSTM32F103RE
  245. build_flags = !python Marlin/src/HAL/HAL_STM32F1/STM32F1_flag_script.py
  246. ${common.build_flags} -std=gnu++14
  247. -DDEBUG_LEVEL=0
  248. build_unflags = -std=gnu++11
  249. lib_deps = ${common.lib_deps}
  250. lib_ignore = U8glib-HAL
  251. TMC26XStepper
  252. libf3c
  253. lib066
  254. Adafruit NeoPixel_ID28
  255. Adafruit NeoPixel
  256. libf3e
  257. #lib_ldf_mode = chain
  258. src_filter = ${common.default_src_filter} +<src/HAL/HAL_STM32F1>
  259. monitor_speed = 250000
  260. #
  261. # fysetc_STM32F1
  262. #
  263. [env:fysetc_STM32F1]
  264. platform = ststm32
  265. framework = arduino
  266. board = genericSTM32F103RC
  267. #board_build.core = maple
  268. extra_scripts = buildroot/share/PlatformIO/scripts/fysetc_STM32F1.py
  269. build_flags = !python Marlin/src/HAL/HAL_STM32F1/STM32F1_flag_script.py
  270. ${common.build_flags} -std=gnu++14
  271. -DDEBUG_LEVEL=0
  272. build_unflags = -std=gnu++11
  273. lib_deps = ${common.lib_deps}
  274. SoftwareSerialM=https://github.com/FYSETC/SoftwareSerialM/archive/master.zip
  275. lib_ignore = TMC26XStepper
  276. libf3c
  277. lib066
  278. Adafruit NeoPixel_ID28
  279. Adafruit NeoPixel
  280. libf3e
  281. lib_ldf_mode = chain
  282. src_filter = ${common.default_src_filter} +<src/HAL/HAL_STM32F1>
  283. monitor_speed = 250000
  284. debug_tool = stlink
  285. upload_protocol = serial
  286. #
  287. # BigTree SKR Mini V1.1 / SKR mini E3 / SKR E3 DIP (STM32F103RCT6 ARM Cortex-M3)
  288. #
  289. [env:BIGTREE_SKR_MINI]
  290. platform = ststm32
  291. framework = arduino
  292. board = genericSTM32F103RC
  293. extra_scripts = buildroot/share/PlatformIO/scripts/STM32F1_SKR_MINI.py
  294. build_flags = !python Marlin/src/HAL/HAL_STM32F1/STM32F1_flag_script.py
  295. ${common.build_flags} -std=gnu++14
  296. -DDEBUG_LEVEL=0
  297. build_unflags = -std=gnu++11
  298. lib_deps = ${common.lib_deps}
  299. lib_ignore = TMC26XStepper
  300. libf3c
  301. lib066
  302. Adafruit NeoPixel_ID28
  303. Adafruit NeoPixel
  304. libf3e
  305. #lib_ldf_mode = chain
  306. src_filter = ${common.default_src_filter} +<src/HAL/HAL_STM32F1>
  307. monitor_speed = 115200
  308. upload_protocol = stlink
  309. debug_tool = stlink
  310. #
  311. # STM32F4 with STM32GENERIC
  312. #
  313. [env:STM32F4]
  314. platform = ststm32
  315. framework = arduino
  316. board = disco_f407vg
  317. build_flags = ${common.build_flags} -DUSE_STM32GENERIC -DSTM32GENERIC -DMENU_USB_SERIAL -DMENU_SERIAL=SerialUSB
  318. lib_deps = ${common.lib_deps}
  319. lib_ignore = Adafruit NeoPixel, TMC26XStepper, TMCStepper
  320. src_filter = ${common.default_src_filter} +<src/HAL/HAL_STM32_F4_F7> -<src/HAL/HAL_STM32_F4_F7/*> +<src/HAL/HAL_STM32_F4_F7/STM32F4>
  321. monitor_speed = 250000
  322. #
  323. # STM32F7 with STM32GENERIC
  324. #
  325. [env:STM32F7]
  326. platform = ststm32
  327. framework = arduino
  328. board = disco_f765vg
  329. build_flags = ${common.build_flags} -DUSE_STM32GENERIC -DSTM32GENERIC -DMENU_USB_SERIAL -DMENU_SERIAL=SerialUSB
  330. lib_deps = ${common.lib_deps}
  331. lib_ignore = Adafruit NeoPixel, TMC26XStepper, TMCStepper
  332. src_filter = ${common.default_src_filter} +<src/HAL/HAL_STM32_F4_F7> -<src/HAL/HAL_STM32_F4_F7/*> +<src/HAL/HAL_STM32_F4_F7/STM32F7>
  333. monitor_speed = 250000
  334. #
  335. # ARMED (STM32)
  336. #
  337. [env:ARMED]
  338. platform = ststm32
  339. framework = arduino
  340. board = armed_v1
  341. build_flags = ${common.build_flags} -DUSBCON -DUSBD_VID=0x0483 '-DUSB_MANUFACTURER="Unknown"' '-DUSB_PRODUCT="ARMED_V1"' -DHAL_PCD_MODULE_ENABLED -DUSBD_USE_CDC -O2 -ffreestanding -fsigned-char -fno-move-loop-invariants -fno-strict-aliasing -std=gnu11 -std=gnu++11
  342. lib_deps = ${common.lib_deps}
  343. lib_ignore = Adafruit NeoPixel, TMC26XStepper
  344. src_filter = ${common.default_src_filter} +<src/HAL/HAL_STM32>
  345. monitor_speed = 250000
  346. #
  347. # Alfawise U20 (STM32F103VET6)
  348. #
  349. [env:alfawise_U20]
  350. platform = ststm32
  351. framework = arduino
  352. board = genericSTM32F103VE
  353. monitor_speed = 250000
  354. extra_scripts = buildroot/share/PlatformIO/scripts/alfawise_Ux0.py
  355. build_flags = !python Marlin/src/HAL/HAL_STM32F1/STM32F1_flag_script.py
  356. ${common.build_flags} -std=gnu++14
  357. -DSTM32F1xx -DU20 -DTS_V12
  358. build_unflags = -std=gnu++11 -DCONFIG_MAPLE_MINI_NO_DISABLE_DEBUG=1
  359. src_filter = ${common.default_src_filter} +<src/HAL/HAL_STM32F1>
  360. lib_deps = ${common.lib_deps}
  361. lib_ignore = TMC26XStepper
  362. libf3c
  363. lib066
  364. Adafruit NeoPixel_ID28
  365. Adafruit NeoPixel
  366. libf3e
  367. #
  368. # MKS Robin (STM32F103ZET6)
  369. #
  370. [env:mks_robin]
  371. platform = ststm32
  372. framework = arduino
  373. board = genericSTM32F103ZE
  374. extra_scripts = buildroot/share/PlatformIO/scripts/mks_robin.py
  375. build_flags = !python Marlin/src/HAL/HAL_STM32F1/STM32F1_flag_script.py
  376. ${common.build_flags} -std=gnu++14
  377. build_unflags = -std=gnu++11
  378. src_filter = ${common.default_src_filter} +<src/HAL/HAL_STM32F1>
  379. lib_deps = ${common.lib_deps}
  380. lib_ignore = TMC26XStepper
  381. libf3c
  382. lib066
  383. Adafruit NeoPixel_ID28
  384. Adafruit NeoPixel
  385. libf3e
  386. U8glib-HAL
  387. #
  388. # MKS ROBIN LITE/LITE2 (STM32F103RCT6)
  389. #
  390. [env:mks_robin_lite]
  391. platform = ststm32
  392. framework = arduino
  393. board = genericSTM32F103RC
  394. extra_scripts = buildroot/share/PlatformIO/scripts/mks_robin_lite.py
  395. build_flags = !python Marlin/src/HAL/HAL_STM32F1/STM32F1_flag_script.py
  396. ${common.build_flags} -std=gnu++14
  397. build_unflags = -std=gnu++11
  398. src_filter = ${common.default_src_filter} +<src/HAL/HAL_STM32F1>
  399. lib_deps = ${common.lib_deps}
  400. lib_ignore = TMC26XStepper
  401. libf3c
  402. lib066
  403. Adafruit NeoPixel_ID28
  404. Adafruit NeoPixel
  405. libf3e
  406. #
  407. # MKS Robin Mini (STM32F103VET6)
  408. #
  409. [env:mks_robin_mini]
  410. platform = ststm32
  411. framework = arduino
  412. board = genericSTM32F103VE
  413. extra_scripts = buildroot/share/PlatformIO/scripts/mks_robin_mini.py
  414. build_flags = !python Marlin/src/HAL/HAL_STM32F1/STM32F1_flag_script.py
  415. ${common.build_flags} -std=gnu++14
  416. build_unflags = -std=gnu++11
  417. src_filter = ${common.default_src_filter} +<src/HAL/HAL_STM32F1>
  418. lib_deps = ${common.lib_deps}
  419. lib_ignore = TMC26XStepper
  420. libf3c
  421. lib066
  422. Adafruit NeoPixel_ID28
  423. Adafruit NeoPixel
  424. libf3e
  425. #
  426. # MKS Robin Nano (STM32F103VET6)
  427. #
  428. [env:mks_robin_nano]
  429. platform = ststm32
  430. framework = arduino
  431. board = genericSTM32F103VE
  432. extra_scripts = buildroot/share/PlatformIO/scripts/mks_robin_nano.py
  433. build_flags = !python Marlin/src/HAL/HAL_STM32F1/STM32F1_flag_script.py
  434. ${common.build_flags} -std=gnu++14
  435. build_unflags = -std=gnu++11
  436. src_filter = ${common.default_src_filter} +<src/HAL/HAL_STM32F1>
  437. lib_deps = ${common.lib_deps}
  438. lib_ignore = TMC26XStepper
  439. libf3c
  440. lib066
  441. Adafruit NeoPixel_ID28
  442. Adafruit NeoPixel
  443. libf3e
  444. #
  445. # JGAurora A5S A1 (STM32F103ZET6)
  446. #
  447. [env:jgaurora_a5s_a1]
  448. platform = ststm32
  449. framework = arduino
  450. board = genericSTM32F103ZE
  451. extra_scripts = buildroot/share/PlatformIO/scripts/jgaurora_a5s_a1_with_bootloader.py
  452. build_flags = !python Marlin/src/HAL/HAL_STM32F1/STM32F1_flag_script.py
  453. ${common.build_flags} -DSTM32F1xx -std=gnu++14
  454. build_unflags = -std=gnu++11
  455. src_filter = ${common.default_src_filter} +<src/HAL/HAL_STM32F1>
  456. lib_deps = ${common.lib_deps}
  457. lib_ignore = TMC26XStepper
  458. libf3c
  459. lib066
  460. Adafruit NeoPixel_ID28
  461. Adafruit NeoPixel
  462. libf3e
  463. monitor_speed = 250000
  464. #
  465. # STM32F407VET6 with RAMPS-like shield
  466. # 'Black' STM32F407VET6 board - http://wiki.stm32duino.com/index.php?title=STM32F407
  467. # Shield - https://github.com/jmz52/Hardware
  468. #
  469. [env:black_stm32f407ve]
  470. platform = ststm32@5.4.3
  471. framework = arduino
  472. board = blackSTM32F407VET6
  473. extra_scripts = pre:buildroot/share/PlatformIO/scripts/black_stm32f407vet6.py
  474. build_flags = ${common.build_flags}
  475. -DUSBCON -DUSBD_USE_CDC -DUSBD_VID=0x0483 -DUSB_PRODUCT=\"BLACK_F407VE\"
  476. lib_deps = ${common.lib_deps}
  477. lib_ignore = Adafruit NeoPixel, TMC26XStepper, TMCStepper, SailfishLCD, SailfishRGB_LED, SlowSoftI2CMaster
  478. src_filter = ${common.default_src_filter} +<src/HAL/HAL_STM32>
  479. monitor_speed = 250000
  480. #
  481. # BIGTREE_SKR_PRO (STM32F407ZGT6 ARM Cortex-M4)
  482. #
  483. [env:BIGTREE_SKR_PRO]
  484. platform = ststm32@5.4.3
  485. framework = arduino
  486. board = BigTree_SKR_Pro
  487. extra_scripts = pre:buildroot/share/PlatformIO/scripts/generic_create_variant.py
  488. build_flags = ${common.build_flags}
  489. -DUSBCON -DUSBD_USE_CDC -DUSBD_VID=0x0483 -DUSB_PRODUCT=\"STM32F407ZG\"
  490. -DTARGET_STM32F4 -DSTM32F407_5ZX -DVECT_TAB_OFFSET=0x8000 -DHAVE_HWSERIAL6
  491. lib_deps = ${common.lib_deps}
  492. lib_ignore = Adafruit NeoPixel, TMC26XStepper, SailfishLCD, SailfishRGB_LED, SlowSoftI2CMaster
  493. src_filter = ${common.default_src_filter} +<src/HAL/HAL_STM32>
  494. monitor_speed = 250000
  495. #
  496. # Teensy 3.1 / 3.2 (ARM Cortex-M4)
  497. #
  498. [env:teensy31]
  499. platform = teensy
  500. framework = arduino
  501. board = teensy31
  502. build_flags = ${common.build_flags}
  503. lib_deps = ${common.lib_deps}
  504. lib_ignore = Adafruit NeoPixel
  505. src_filter = ${common.default_src_filter} +<src/HAL/HAL_TEENSY31_32>
  506. monitor_speed = 250000
  507. #
  508. # Teensy 3.5 / 3.6 (ARM Cortex-M4)
  509. #
  510. [env:teensy35]
  511. platform = teensy
  512. framework = arduino
  513. board = teensy35
  514. build_flags = ${common.build_flags}
  515. lib_deps = ${common.lib_deps}
  516. lib_ignore = Adafruit NeoPixel
  517. src_filter = ${common.default_src_filter} +<src/HAL/HAL_TEENSY35_36>
  518. monitor_speed = 250000
  519. #
  520. # Malyan M200 (STM32F1)
  521. #
  522. [env:malyanm200]
  523. platform = ststm32
  524. framework = arduino
  525. board = malyanM200
  526. build_flags = !python Marlin/src/HAL/HAL_STM32F1/STM32F1_flag_script.py -DMCU_STM32F103CB -D __STM32F1__=1 -std=c++1y -D MOTHERBOARD="BOARD_MALYAN_M200" -DSERIAL_USB -ffunction-sections -fdata-sections -Wl,--gc-sections
  527. -DDEBUG_LEVEL=0
  528. src_filter = ${common.default_src_filter} +<src/HAL/HAL_STM32F1>
  529. #-<frameworks>
  530. lib_ignore = Adafruit NeoPixel
  531. U8glib
  532. LiquidCrystal_I2C
  533. LiquidCrystal
  534. NewliquidCrystal
  535. LiquidTWI2
  536. TMC26XStepper
  537. TMCStepper
  538. Servo(STM32F1)
  539. U8glib-HAL
  540. #
  541. # Espressif ESP32
  542. #
  543. [env:esp32]
  544. platform = espressif32
  545. board = esp32dev
  546. framework = arduino
  547. upload_speed = 115200
  548. monitor_speed = 115200
  549. upload_port = /dev/ttyUSB0
  550. lib_deps =
  551. AsyncTCP=https://github.com/me-no-dev/AsyncTCP/archive/master.zip
  552. ESPAsyncWebServer=https://github.com/me-no-dev/ESPAsyncWebServer/archive/master.zip
  553. lib_ignore = TMC26XStepper
  554. LiquidCrystal_I2C
  555. LiquidCrystal
  556. NewliquidCrystal
  557. LiquidTWI2
  558. SailfishLCD
  559. SailfishRGB_LED
  560. src_filter = ${common.default_src_filter} +<src/HAL/HAL_ESP32>
  561. #
  562. # FYSETC F6 V1.3
  563. #
  564. [env:fysetc_f6_13]
  565. platform = atmelavr
  566. framework = arduino
  567. board = fysetc_f6_13
  568. build_flags = ${common.build_flags}
  569. board_build.f_cpu = 16000000L
  570. lib_deps = ${common.lib_deps}
  571. src_filter = ${common.default_src_filter} +<src/HAL/HAL_AVR>
  572. monitor_speed = 250000
  573. #
  574. # Native
  575. # No supported Arduino libraries, base Marlin only
  576. #
  577. [env:linux_native]
  578. platform = native
  579. build_flags = -D__PLAT_LINUX__ -std=gnu++17 -ggdb -g -lrt -lpthread
  580. src_build_flags = -Wall -IMarlin/src/HAL/HAL_LINUX/include
  581. build_unflags = -Wall
  582. lib_ldf_mode = off
  583. lib_deps =
  584. extra_scripts =
  585. src_filter = ${common.default_src_filter} +<src/HAL/HAL_LINUX>
  586. #
  587. # Adafruit Grand Central M4 (Atmel SAMD51P20A ARM Cortex-M4)
  588. #
  589. [env:adafruit_grandcentral_m4]
  590. platform = atmelsam
  591. board = adafruit_grandcentral_m4
  592. framework = arduino
  593. build_flags = ${common.build_flags} -std=gnu++17
  594. build_unflags = -std=gnu++11
  595. lib_deps = ${common.lib_deps}
  596. lib_ignore = U8glib-HAL, TMC26XStepper
  597. src_filter = ${common.default_src_filter} +<src/HAL/HAL_SAMD51>
  598. debug_tool = jlink