My Marlin configs for Fabrikator Mini and CTC i3 Pro B
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

platformio.ini 18KB

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