My Marlin configs for Fabrikator Mini and CTC i3 Pro B
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

platformio.ini 18KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577
  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. SailfishLCD=https://github.com/mikeshub/SailfishLCD/archive/master.zip
  32. SailfishRGB_LED=https://github.com/mikeshub/SailfishRGB_LED/archive/master.zip
  33. SlowSoftI2CMaster=https://github.com/mikeshub/SlowSoftI2CMaster/archive/master.zip
  34. #################################
  35. # #
  36. # Unique Core Architectures #
  37. # #
  38. # Add a new "env" below if no #
  39. # entry has values suitable to #
  40. # build for a given board. #
  41. # #
  42. #################################
  43. #
  44. # ATmega2560
  45. #
  46. [env:megaatmega2560]
  47. platform = atmelavr
  48. framework = arduino
  49. board = megaatmega2560
  50. build_flags = ${common.build_flags}
  51. board_build.f_cpu = 16000000L
  52. lib_deps = ${common.lib_deps}
  53. TMC26XStepper=https://github.com/trinamic/TMC26XStepper/archive/master.zip
  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. TMC26XStepper=https://github.com/trinamic/TMC26XStepper/archive/master.zip
  67. src_filter = ${common.default_src_filter} +<src/HAL/HAL_AVR>
  68. monitor_speed = 250000
  69. #
  70. # AT90USB1286 boards using CDC bootloader
  71. # - BRAINWAVE
  72. # - BRAINWAVE_PRO
  73. # - SAV_MKI
  74. # - TEENSYLU
  75. #
  76. [env:at90usb1286_cdc]
  77. platform = teensy
  78. framework = arduino
  79. board = at90usb1286
  80. build_flags = ${common.build_flags}
  81. lib_deps = ${common.lib_deps}
  82. TMC26XStepper=https://github.com/trinamic/TMC26XStepper/archive/master.zip
  83. src_filter = ${common.default_src_filter} +<src/HAL/HAL_AVR>
  84. extra_scripts = pre:buildroot/share/atom/create_custom_upload_command_CDC.py
  85. monitor_speed = 250000
  86. #
  87. # AT90USB1286 boards using DFU bootloader
  88. # - PrintrBoard
  89. # - PrintrBoard Rev.F
  90. # - ? 5DPRINT ?
  91. #
  92. [env:at90usb1286_dfu]
  93. platform = teensy
  94. framework = arduino
  95. board = at90usb1286
  96. build_flags = ${common.build_flags}
  97. lib_deps = ${common.lib_deps}
  98. TMC26XStepper=https://github.com/trinamic/TMC26XStepper/archive/master.zip
  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. src_filter = ${common.default_src_filter} +<src/HAL/HAL_DUE>
  115. monitor_speed = 250000
  116. [env:DUE_USB]
  117. platform = atmelsam
  118. framework = arduino
  119. board = dueUSB
  120. build_flags = ${common.build_flags}
  121. lib_deps = ${common.lib_deps}
  122. src_filter = ${common.default_src_filter} +<src/HAL/HAL_DUE>
  123. monitor_speed = 250000
  124. [env:DUE_debug]
  125. # Used when WATCHDOG_RESET_MANUAL is enabled
  126. platform = atmelsam
  127. framework = arduino
  128. board = due
  129. build_flags = ${common.build_flags}
  130. -funwind-tables
  131. -mpoke-function-name
  132. lib_deps = ${common.lib_deps}
  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
  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
  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. TMC26XStepper=https://github.com/trinamic/TMC26XStepper/archive/master.zip
  212. src_filter = ${common.default_src_filter} +<src/HAL/HAL_AVR>
  213. monitor_speed = 250000
  214. #
  215. # Sanguinololu (ATmega644p)
  216. #
  217. [env:sanguino_atmega644p]
  218. platform = atmelavr
  219. framework = arduino
  220. board = sanguino_atmega644p
  221. build_flags = ${common.build_flags}
  222. lib_deps = ${common.lib_deps}
  223. TMC26XStepper=https://github.com/trinamic/TMC26XStepper/archive/master.zip
  224. src_filter = ${common.default_src_filter} +<src/HAL/HAL_AVR>
  225. monitor_speed = 250000
  226. #
  227. # Sanguinololu (ATmega1284p)
  228. #
  229. [env:sanguino_atmega1284p]
  230. platform = atmelavr
  231. framework = arduino
  232. board = sanguino_atmega1284p
  233. build_flags = ${common.build_flags}
  234. lib_deps = ${common.lib_deps}
  235. TMC26XStepper=https://github.com/trinamic/TMC26XStepper/archive/master.zip
  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, Adafruit NeoPixel
  251. src_filter = ${common.default_src_filter} +<src/HAL/HAL_STM32F1>
  252. monitor_speed = 250000
  253. #
  254. # fysetc_STM32F1
  255. #
  256. [env:fysetc_STM32F1]
  257. platform = ststm32
  258. framework = arduino
  259. board = genericSTM32F103RC
  260. #board_build.core = maple
  261. platform_packages = tool-stm32duino
  262. extra_scripts = buildroot/share/PlatformIO/scripts/fysetc_STM32F1.py
  263. build_flags = !python Marlin/src/HAL/HAL_STM32F1/STM32F1_flag_script.py
  264. ${common.build_flags} -std=gnu++14
  265. -DDEBUG_LEVEL=0 -DHAVE_SW_SERIAL
  266. build_unflags = -std=gnu++11
  267. lib_deps = ${common.lib_deps}
  268. SoftwareSerialM=https://github.com/FYSETC/SoftwareSerialM/archive/master.zip
  269. lib_ignore = Adafruit NeoPixel
  270. lib_ldf_mode = chain
  271. src_filter = ${common.default_src_filter} +<src/HAL/HAL_STM32F1>
  272. monitor_speed = 250000
  273. debug_tool = stlink
  274. upload_protocol = serial
  275. #
  276. # BigTree SKR Mini V1.1 / SKR mini E3 / SKR E3 DIP (STM32F103RCT6 ARM Cortex-M3)
  277. #
  278. [env:BIGTREE_SKR_MINI]
  279. platform = ststm32
  280. framework = arduino
  281. board = genericSTM32F103RC
  282. platform_packages = tool-stm32duino
  283. extra_scripts = buildroot/share/PlatformIO/scripts/STM32F1_SKR_MINI.py
  284. build_flags = !python Marlin/src/HAL/HAL_STM32F1/STM32F1_flag_script.py
  285. ${common.build_flags} -std=gnu++14
  286. -DDEBUG_LEVEL=0
  287. build_unflags = -std=gnu++11
  288. lib_deps = ${common.lib_deps}
  289. lib_ignore = Adafruit NeoPixel
  290. src_filter = ${common.default_src_filter} +<src/HAL/HAL_STM32F1>
  291. monitor_speed = 115200
  292. upload_protocol = stlink
  293. debug_tool = stlink
  294. #
  295. # STM32F4 with STM32GENERIC
  296. #
  297. [env:STM32F4]
  298. platform = ststm32
  299. framework = arduino
  300. board = disco_f407vg
  301. build_flags = ${common.build_flags} -DUSE_STM32GENERIC -DSTM32GENERIC -DSTM32F4 -DMENU_USB_SERIAL -DMENU_SERIAL=SerialUSB
  302. lib_deps = ${common.lib_deps}
  303. lib_ignore = Adafruit NeoPixel, TMCStepper
  304. src_filter = ${common.default_src_filter} +<src/HAL/HAL_STM32_F4_F7> -<src/HAL/HAL_STM32_F4_F7/STM32F7>
  305. monitor_speed = 250000
  306. #
  307. # STM32F7 with STM32GENERIC
  308. #
  309. [env:STM32F7]
  310. platform = ststm32
  311. framework = arduino
  312. board = remram_v1
  313. build_flags = ${common.build_flags} -DUSE_STM32GENERIC -DSTM32GENERIC -DSTM32F7 -DMENU_USB_SERIAL -DMENU_SERIAL=SerialUSB
  314. lib_deps = ${common.lib_deps}
  315. lib_ignore = Adafruit NeoPixel, TMCStepper
  316. src_filter = ${common.default_src_filter} +<src/HAL/HAL_STM32_F4_F7> -<src/HAL/HAL_STM32_F4_F7/STM32F4>
  317. monitor_speed = 250000
  318. #
  319. # ARMED (STM32)
  320. #
  321. [env:ARMED]
  322. platform = ststm32
  323. framework = arduino
  324. board = armed_v1
  325. 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
  326. lib_deps = ${common.lib_deps}
  327. lib_ignore = Adafruit NeoPixel
  328. src_filter = ${common.default_src_filter} +<src/HAL/HAL_STM32>
  329. monitor_speed = 250000
  330. #
  331. # Longer 3D board in Alfawise U20 (STM32F103VET6)
  332. #
  333. [env:alfawise_U20]
  334. platform = ststm32
  335. framework = arduino
  336. board = genericSTM32F103VE
  337. monitor_speed = 250000
  338. extra_scripts = buildroot/share/PlatformIO/scripts/alfawise_Ux0.py
  339. build_flags = !python Marlin/src/HAL/HAL_STM32F1/STM32F1_flag_script.py
  340. ${common.build_flags} -std=gnu++14
  341. -DSTM32F1xx -DU20 -DTS_V12
  342. build_unflags = -std=gnu++11 -DCONFIG_MAPLE_MINI_NO_DISABLE_DEBUG=1
  343. src_filter = ${common.default_src_filter} +<src/HAL/HAL_STM32F1>
  344. lib_deps = ${common.lib_deps}
  345. lib_ignore = Adafruit NeoPixel
  346. #
  347. # MKS Robin (STM32F103ZET6)
  348. #
  349. [env:mks_robin]
  350. platform = ststm32
  351. framework = arduino
  352. board = genericSTM32F103ZE
  353. extra_scripts = buildroot/share/PlatformIO/scripts/mks_robin.py
  354. build_flags = !python Marlin/src/HAL/HAL_STM32F1/STM32F1_flag_script.py
  355. ${common.build_flags} -std=gnu++14
  356. build_unflags = -std=gnu++11
  357. src_filter = ${common.default_src_filter} +<src/HAL/HAL_STM32F1>
  358. lib_deps = ${common.lib_deps}
  359. lib_ignore = Adafruit NeoPixel
  360. #
  361. # MKS ROBIN LITE/LITE2 (STM32F103RCT6)
  362. #
  363. [env:mks_robin_lite]
  364. platform = ststm32
  365. framework = arduino
  366. board = genericSTM32F103RC
  367. extra_scripts = buildroot/share/PlatformIO/scripts/mks_robin_lite.py
  368. build_flags = !python Marlin/src/HAL/HAL_STM32F1/STM32F1_flag_script.py
  369. ${common.build_flags} -std=gnu++14
  370. build_unflags = -std=gnu++11
  371. src_filter = ${common.default_src_filter} +<src/HAL/HAL_STM32F1>
  372. lib_deps = ${common.lib_deps}
  373. lib_ignore = Adafruit NeoPixel
  374. #
  375. # MKS Robin Mini (STM32F103VET6)
  376. #
  377. [env:mks_robin_mini]
  378. platform = ststm32
  379. framework = arduino
  380. board = genericSTM32F103VE
  381. extra_scripts = buildroot/share/PlatformIO/scripts/mks_robin_mini.py
  382. build_flags = !python Marlin/src/HAL/HAL_STM32F1/STM32F1_flag_script.py
  383. ${common.build_flags} -std=gnu++14
  384. build_unflags = -std=gnu++11
  385. src_filter = ${common.default_src_filter} +<src/HAL/HAL_STM32F1>
  386. lib_deps = ${common.lib_deps}
  387. lib_ignore = Adafruit NeoPixel
  388. #
  389. # MKS Robin Nano (STM32F103VET6)
  390. #
  391. [env:mks_robin_nano]
  392. platform = ststm32
  393. framework = arduino
  394. board = genericSTM32F103VE
  395. extra_scripts = buildroot/share/PlatformIO/scripts/mks_robin_nano.py
  396. build_flags = !python Marlin/src/HAL/HAL_STM32F1/STM32F1_flag_script.py
  397. ${common.build_flags} -std=gnu++14
  398. build_unflags = -std=gnu++11
  399. src_filter = ${common.default_src_filter} +<src/HAL/HAL_STM32F1>
  400. lib_deps = ${common.lib_deps}
  401. lib_ignore = Adafruit NeoPixel
  402. #
  403. # JGAurora A5S A1 (STM32F103ZET6)
  404. #
  405. [env:jgaurora_a5s_a1]
  406. platform = ststm32
  407. framework = arduino
  408. board = genericSTM32F103ZE
  409. extra_scripts = buildroot/share/PlatformIO/scripts/jgaurora_a5s_a1_with_bootloader.py
  410. build_flags = !python Marlin/src/HAL/HAL_STM32F1/STM32F1_flag_script.py
  411. ${common.build_flags} -DSTM32F1xx -std=gnu++14
  412. build_unflags = -std=gnu++11
  413. src_filter = ${common.default_src_filter} +<src/HAL/HAL_STM32F1>
  414. lib_deps = ${common.lib_deps}
  415. lib_ignore = Adafruit NeoPixel
  416. monitor_speed = 250000
  417. #
  418. # STM32F407VET6 with RAMPS-like shield
  419. # 'Black' STM32F407VET6 board - http://wiki.stm32duino.com/index.php?title=STM32F407
  420. # Shield - https://github.com/jmz52/Hardware
  421. #
  422. [env:black_stm32f407ve]
  423. platform = ststm32@5.4.3
  424. framework = arduino
  425. board = blackSTM32F407VET6
  426. extra_scripts = pre:buildroot/share/PlatformIO/scripts/black_stm32f407vet6.py
  427. build_flags = ${common.build_flags}
  428. -DSTM32F4 -DUSBCON -DUSBD_USE_CDC -DUSBD_VID=0x0483 -DUSB_PRODUCT=\"BLACK_F407VE\"
  429. lib_deps = ${common.lib_deps}
  430. lib_ignore = Adafruit NeoPixel, TMCStepper, SailfishLCD, SailfishRGB_LED, SlowSoftI2CMaster
  431. src_filter = ${common.default_src_filter} +<src/HAL/HAL_STM32>
  432. monitor_speed = 250000
  433. #
  434. # Bigtreetech SKR Pro (STM32F407ZGT6 ARM Cortex-M4)
  435. #
  436. [env:BIGTREE_SKR_PRO]
  437. platform = ststm32@5.4.3
  438. framework = arduino
  439. board = BigTree_SKR_Pro
  440. extra_scripts = pre:buildroot/share/PlatformIO/scripts/generic_create_variant.py
  441. build_flags = ${common.build_flags}
  442. -DUSBCON -DUSBD_USE_CDC -DUSBD_VID=0x0483 -DUSB_PRODUCT=\"STM32F407ZG\"
  443. -DTARGET_STM32F4 -DSTM32F407_5ZX -DVECT_TAB_OFFSET=0x8000 -DHAVE_HWSERIAL6
  444. lib_deps = ${common.lib_deps}
  445. lib_ignore = Adafruit NeoPixel, SailfishLCD, SailfishRGB_LED, SlowSoftI2CMaster
  446. src_filter = ${common.default_src_filter} +<src/HAL/HAL_STM32>
  447. monitor_speed = 250000
  448. #
  449. # Teensy 3.1 / 3.2 (ARM Cortex-M4)
  450. #
  451. [env:teensy31]
  452. platform = teensy
  453. framework = arduino
  454. board = teensy31
  455. build_flags = ${common.build_flags}
  456. lib_deps = ${common.lib_deps}
  457. TMC26XStepper=https://github.com/trinamic/TMC26XStepper/archive/master.zip
  458. lib_ignore = Adafruit NeoPixel
  459. src_filter = ${common.default_src_filter} +<src/HAL/HAL_TEENSY31_32>
  460. monitor_speed = 250000
  461. #
  462. # Teensy 3.5 / 3.6 (ARM Cortex-M4)
  463. #
  464. [env:teensy35]
  465. platform = teensy
  466. framework = arduino
  467. board = teensy35
  468. build_flags = ${common.build_flags}
  469. lib_deps = ${common.lib_deps}
  470. TMC26XStepper=https://github.com/trinamic/TMC26XStepper/archive/master.zip
  471. lib_ignore = Adafruit NeoPixel
  472. src_filter = ${common.default_src_filter} +<src/HAL/HAL_TEENSY35_36>
  473. monitor_speed = 250000
  474. #
  475. # Malyan M200 (STM32F1)
  476. #
  477. [env:malyanm200]
  478. platform = ststm32
  479. framework = arduino
  480. board = malyanM200
  481. 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
  482. -DDEBUG_LEVEL=0
  483. src_filter = ${common.default_src_filter} +<src/HAL/HAL_STM32F1>
  484. #-<frameworks>
  485. lib_ignore = Adafruit NeoPixel, LiquidCrystal, LiquidTWI2, TMCStepper, TMC26XStepper, U8glib-HAL
  486. #
  487. # Espressif ESP32
  488. #
  489. [env:esp32]
  490. platform = espressif32
  491. board = esp32dev
  492. framework = arduino
  493. upload_speed = 115200
  494. monitor_speed = 115200
  495. upload_port = /dev/ttyUSB0
  496. lib_deps =
  497. AsyncTCP=https://github.com/me-no-dev/AsyncTCP/archive/master.zip
  498. ESPAsyncWebServer=https://github.com/me-no-dev/ESPAsyncWebServer/archive/master.zip
  499. lib_ignore = TMC26XStepper, LiquidCrystal, LiquidTWI2, SailfishLCD, SailfishRGB_LED
  500. src_filter = ${common.default_src_filter} +<src/HAL/HAL_ESP32>
  501. #
  502. # FYSETC F6 V1.3
  503. #
  504. [env:fysetc_f6_13]
  505. platform = atmelavr
  506. framework = arduino
  507. board = fysetc_f6_13
  508. build_flags = ${common.build_flags}
  509. board_build.f_cpu = 16000000L
  510. lib_deps = ${common.lib_deps}
  511. TMC26XStepper=https://github.com/trinamic/TMC26XStepper/archive/master.zip
  512. src_filter = ${common.default_src_filter} +<src/HAL/HAL_AVR>
  513. monitor_speed = 250000
  514. #
  515. # Native
  516. # No supported Arduino libraries, base Marlin only
  517. #
  518. [env:linux_native]
  519. platform = native
  520. build_flags = -D__PLAT_LINUX__ -std=gnu++17 -ggdb -g -lrt -lpthread
  521. src_build_flags = -Wall -IMarlin/src/HAL/HAL_LINUX/include
  522. build_unflags = -Wall
  523. lib_ldf_mode = off
  524. lib_deps =
  525. extra_scripts =
  526. src_filter = ${common.default_src_filter} +<src/HAL/HAL_LINUX>
  527. #
  528. # Adafruit Grand Central M4 (Atmel SAMD51P20A ARM Cortex-M4)
  529. #
  530. [env:adafruit_grandcentral_m4]
  531. platform = atmelsam
  532. board = adafruit_grandcentral_m4
  533. framework = arduino
  534. build_flags = ${common.build_flags} -std=gnu++17
  535. build_unflags = -std=gnu++11
  536. lib_deps = ${common.lib_deps}
  537. lib_ignore = U8glib-HAL
  538. src_filter = ${common.default_src_filter} +<src/HAL/HAL_SAMD51>
  539. debug_tool = jlink