|
@@ -69,22 +69,37 @@ monitor_speed = 250000
|
69
|
69
|
# ATmega1280
|
70
|
70
|
#
|
71
|
71
|
[env:megaatmega1280]
|
72
|
|
-extends = env:megaatmega2560
|
|
72
|
+platform = atmelavr
|
73
|
73
|
board = megaatmega1280
|
|
74
|
+board_build.f_cpu = 16000000L
|
|
75
|
+lib_deps = ${common.lib_deps}
|
|
76
|
+ TMC26XStepper=https://github.com/trinamic/TMC26XStepper/archive/master.zip
|
|
77
|
+src_filter = ${common.default_src_filter} +<src/HAL/HAL_AVR>
|
|
78
|
+monitor_speed = 250000
|
74
|
79
|
|
75
|
80
|
#
|
76
|
81
|
# RAMBo
|
77
|
82
|
#
|
78
|
83
|
[env:rambo]
|
79
|
|
-extends = env:megaatmega2560
|
|
84
|
+platform = atmelavr
|
80
|
85
|
board = reprap_rambo
|
|
86
|
+board_build.f_cpu = 16000000L
|
|
87
|
+lib_deps = ${common.lib_deps}
|
|
88
|
+ TMC26XStepper=https://github.com/trinamic/TMC26XStepper/archive/master.zip
|
|
89
|
+src_filter = ${common.default_src_filter} +<src/HAL/HAL_AVR>
|
|
90
|
+monitor_speed = 250000
|
81
|
91
|
|
82
|
92
|
#
|
83
|
93
|
# FYSETC F6 V1.3
|
84
|
94
|
#
|
85
|
|
-[env:fysetc_f6_13]
|
86
|
|
-extends = env:megaatmega2560
|
|
95
|
+[env:FYSETC_F6_13]
|
|
96
|
+platform = atmelavr
|
87
|
97
|
board = fysetc_f6_13
|
|
98
|
+board_build.f_cpu = 16000000L
|
|
99
|
+lib_deps = ${common.lib_deps}
|
|
100
|
+ TMC26XStepper=https://github.com/trinamic/TMC26XStepper/archive/master.zip
|
|
101
|
+src_filter = ${common.default_src_filter} +<src/HAL/HAL_AVR>
|
|
102
|
+monitor_speed = 250000
|
88
|
103
|
|
89
|
104
|
#
|
90
|
105
|
# Sanguinololu (ATmega644p)
|
|
@@ -101,14 +116,23 @@ monitor_speed = 250000
|
101
|
116
|
# Sanguinololu (ATmega1284p)
|
102
|
117
|
#
|
103
|
118
|
[env:sanguino_atmega1284p]
|
104
|
|
-extends = env:sanguino_atmega644p
|
|
119
|
+platform = atmelavr
|
105
|
120
|
board = sanguino_atmega1284p
|
|
121
|
+lib_deps = ${common.lib_deps}
|
|
122
|
+ TMC26XStepper=https://github.com/trinamic/TMC26XStepper/archive/master.zip
|
|
123
|
+src_filter = ${common.default_src_filter} +<src/HAL/HAL_AVR>
|
|
124
|
+monitor_speed = 250000
|
106
|
125
|
|
107
|
126
|
#
|
108
|
127
|
# Melzi and clones (ATmega1284p)
|
109
|
128
|
#
|
110
|
129
|
[env:melzi]
|
111
|
|
-extends = env:sanguino_atmega1284p
|
|
130
|
+platform = atmelavr
|
|
131
|
+board = sanguino_atmega644p
|
|
132
|
+lib_deps = ${common.lib_deps}
|
|
133
|
+ TMC26XStepper=https://github.com/trinamic/TMC26XStepper/archive/master.zip
|
|
134
|
+src_filter = ${common.default_src_filter} +<src/HAL/HAL_AVR>
|
|
135
|
+monitor_speed = 250000
|
112
|
136
|
build_flags = ${common.build_flags}
|
113
|
137
|
lib_ignore = TMCStepper
|
114
|
138
|
upload_speed = 57600
|
|
@@ -117,7 +141,14 @@ upload_speed = 57600
|
117
|
141
|
# Melzi and clones (Optiboot bootloader)
|
118
|
142
|
#
|
119
|
143
|
[env:melzi_optiboot]
|
120
|
|
-extends = env:melzi
|
|
144
|
+platform = atmelavr
|
|
145
|
+board = sanguino_atmega644p
|
|
146
|
+lib_deps = ${common.lib_deps}
|
|
147
|
+ TMC26XStepper=https://github.com/trinamic/TMC26XStepper/archive/master.zip
|
|
148
|
+src_filter = ${common.default_src_filter} +<src/HAL/HAL_AVR>
|
|
149
|
+monitor_speed = 250000
|
|
150
|
+build_flags = ${common.build_flags}
|
|
151
|
+lib_ignore = TMCStepper
|
121
|
152
|
upload_speed = 115200
|
122
|
153
|
|
123
|
154
|
#
|
|
@@ -142,7 +173,12 @@ monitor_speed = 250000
|
142
|
173
|
# - ? 5DPRINT ?
|
143
|
174
|
#
|
144
|
175
|
[env:at90usb1286_dfu]
|
145
|
|
-extends = env:at90usb1286_cdc
|
|
176
|
+platform = teensy
|
|
177
|
+board = at90usb1286
|
|
178
|
+lib_deps = ${common.lib_deps}
|
|
179
|
+ TMC26XStepper=https://github.com/trinamic/TMC26XStepper/archive/master.zip
|
|
180
|
+src_filter = ${common.default_src_filter} +<src/HAL/HAL_AVR>
|
|
181
|
+monitor_speed = 250000
|
146
|
182
|
|
147
|
183
|
#
|
148
|
184
|
# Due (Atmel SAM3X8E ARM Cortex-M3)
|
|
@@ -157,12 +193,17 @@ src_filter = ${common.default_src_filter} +<src/HAL/HAL_DUE>
|
157
|
193
|
monitor_speed = 250000
|
158
|
194
|
|
159
|
195
|
[env:DUE_USB]
|
160
|
|
-extends = env:DUE
|
|
196
|
+platform = atmelsam
|
161
|
197
|
board = dueUSB
|
|
198
|
+src_filter = ${common.default_src_filter} +<src/HAL/HAL_DUE>
|
|
199
|
+monitor_speed = 250000
|
162
|
200
|
|
163
|
201
|
[env:DUE_debug]
|
164
|
202
|
# Used when WATCHDOG_RESET_MANUAL is enabled
|
165
|
|
-extends = env:DUE
|
|
203
|
+platform = atmelsam
|
|
204
|
+board = due
|
|
205
|
+src_filter = ${common.default_src_filter} +<src/HAL/HAL_DUE>
|
|
206
|
+monitor_speed = 250000
|
166
|
207
|
build_flags = ${common.build_flags}
|
167
|
208
|
-funwind-tables
|
168
|
209
|
-mpoke-function-name
|
|
@@ -190,41 +231,56 @@ lib_deps = Servo
|
190
|
231
|
SailfishLCD=https://github.com/mikeshub/SailfishLCD/archive/master.zip
|
191
|
232
|
|
192
|
233
|
[env:LPC1769]
|
193
|
|
-extends = env:LPC1768
|
|
234
|
+platform = https://github.com/p3p/pio-nxplpc-arduino-lpc176x/archive/0.1.2.zip
|
194
|
235
|
board = nxp_lpc1769
|
195
|
|
-
|
196
|
|
-#
|
197
|
|
-# STM32F1 base
|
198
|
|
-#
|
199
|
|
-[env:STM32F1_base]
|
200
|
|
-platform = ststm32
|
201
|
|
-build_flags = !python Marlin/src/HAL/HAL_STM32F1/build_flags.py
|
202
|
|
- ${common.build_flags} -std=gnu++14
|
203
|
|
-build_unflags = -std=gnu++11
|
204
|
|
-src_filter = ${common.default_src_filter} +<src/HAL/HAL_STM32F1>
|
205
|
|
-lib_ignore = Adafruit NeoPixel, SPI
|
206
|
|
-monitor_speed = 250000
|
|
236
|
+build_flags = -DU8G_HAL_LINKS -IMarlin/src/HAL/HAL_LPC1768/include -IMarlin/src/HAL/HAL_LPC1768/u8g ${common.build_flags}
|
|
237
|
+# debug options for backtrace
|
|
238
|
+# -funwind-tables
|
|
239
|
+# -mpoke-function-name
|
|
240
|
+lib_ldf_mode = off
|
|
241
|
+lib_compat_mode = strict
|
|
242
|
+extra_scripts = Marlin/src/HAL/HAL_LPC1768/upload_extra_script.py
|
|
243
|
+src_filter = ${common.default_src_filter} +<src/HAL/HAL_LPC1768>
|
|
244
|
+monitor_speed = 250000
|
|
245
|
+lib_deps = Servo
|
|
246
|
+ LiquidCrystal
|
|
247
|
+ U8glib-HAL=https://github.com/MarlinFirmware/U8glib-HAL/archive/bugfix.zip
|
|
248
|
+ TMCStepper@>=0.6.1,<1.0.0
|
|
249
|
+ Adafruit NeoPixel=https://github.com/p3p/Adafruit_NeoPixel/archive/release.zip
|
|
250
|
+ SailfishLCD=https://github.com/mikeshub/SailfishLCD/archive/master.zip
|
207
|
251
|
|
208
|
252
|
#
|
209
|
253
|
# STM32F103RC
|
210
|
254
|
#
|
211
|
|
-[env:STM32F103RC_base]
|
212
|
|
-extends = env:STM32F1_base
|
|
255
|
+[env:STM32F103RC]
|
|
256
|
+platform = ststm32
|
213
|
257
|
board = genericSTM32F103RC
|
214
|
258
|
platform_packages = tool-stm32duino
|
|
259
|
+build_flags = !python Marlin/src/HAL/HAL_STM32F1/build_flags.py
|
|
260
|
+ ${common.build_flags} -std=gnu++14
|
|
261
|
+build_unflags = -std=gnu++11
|
|
262
|
+src_filter = ${common.default_src_filter} +<src/HAL/HAL_STM32F1>
|
215
|
263
|
lib_deps = ${common.lib_deps}
|
216
|
264
|
SoftwareSerialM=https://github.com/FYSETC/SoftwareSerialM/archive/master.zip
|
|
265
|
+lib_ignore = Adafruit NeoPixel, SPI
|
217
|
266
|
monitor_speed = 115200
|
218
|
267
|
|
219
|
268
|
#
|
220
|
269
|
# STM32F103RC_fysetc
|
221
|
270
|
#
|
222
|
271
|
[env:STM32F103RC_fysetc]
|
223
|
|
-extends = env:STM32F103RC_base
|
|
272
|
+platform = ststm32
|
|
273
|
+board = genericSTM32F103RC
|
224
|
274
|
#board_build.core = maple
|
225
|
|
-extra_scripts = buildroot/share/PlatformIO/scripts/STM32F103RC_fysetc.py
|
|
275
|
+platform_packages = tool-stm32duino
|
226
|
276
|
build_flags = !python Marlin/src/HAL/HAL_STM32F1/build_flags.py
|
227
|
277
|
${common.build_flags} -std=gnu++14 -DDEBUG_LEVEL=0 -DHAVE_SW_SERIAL
|
|
278
|
+build_unflags = -std=gnu++11
|
|
279
|
+extra_scripts = buildroot/share/PlatformIO/scripts/STM32F103RC_fysetc.py
|
|
280
|
+src_filter = ${common.default_src_filter} +<src/HAL/HAL_STM32F1>
|
|
281
|
+lib_deps = ${common.lib_deps}
|
|
282
|
+ SoftwareSerialM=https://github.com/FYSETC/SoftwareSerialM/archive/master.zip
|
|
283
|
+lib_ignore = Adafruit NeoPixel, SPI
|
228
|
284
|
lib_ldf_mode = chain
|
229
|
285
|
debug_tool = stlink
|
230
|
286
|
upload_protocol = serial
|
|
@@ -240,61 +296,114 @@ monitor_speed = 250000
|
240
|
296
|
#
|
241
|
297
|
|
242
|
298
|
[env:STM32F103RC_bigtree]
|
243
|
|
-extends = env:STM32F103RC_base
|
244
|
|
-extra_scripts = buildroot/share/PlatformIO/scripts/STM32F103RC_SKR_MINI.py
|
|
299
|
+platform = ststm32
|
|
300
|
+board = genericSTM32F103RC
|
|
301
|
+platform_packages = tool-stm32duino
|
245
|
302
|
build_flags = !python Marlin/src/HAL/HAL_STM32F1/build_flags.py
|
246
|
303
|
${common.build_flags} -DDEBUG_LEVEL=0 -std=gnu++14 -DHAVE_SW_SERIAL -DSS_TIMER=4
|
|
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/HAL_STM32F1>
|
|
307
|
+lib_deps = ${common.lib_deps}
|
|
308
|
+ SoftwareSerialM=https://github.com/FYSETC/SoftwareSerialM/archive/master.zip
|
|
309
|
+lib_ignore = Adafruit NeoPixel, SPI
|
|
310
|
+monitor_speed = 115200
|
247
|
311
|
|
248
|
312
|
[env:STM32F103RC_bigtree_USB]
|
249
|
|
-extends = env:STM32F103RC_bigtree
|
|
313
|
+platform = ststm32
|
|
314
|
+board = genericSTM32F103RC
|
|
315
|
+platform_packages = tool-stm32duino
|
250
|
316
|
build_flags = !python Marlin/src/HAL/HAL_STM32F1/build_flags.py
|
251
|
317
|
${common.build_flags} -DDEBUG_LEVEL=0 -std=gnu++14 -DHAVE_SW_SERIAL -DSS_TIMER=4 -DUSE_USB_COMPOSITE
|
|
318
|
+build_unflags = -std=gnu++11
|
|
319
|
+extra_scripts = buildroot/share/PlatformIO/scripts/STM32F103RC_SKR_MINI.py
|
|
320
|
+src_filter = ${common.default_src_filter} +<src/HAL/HAL_STM32F1>
|
|
321
|
+lib_deps = ${common.lib_deps}
|
|
322
|
+ SoftwareSerialM=https://github.com/FYSETC/SoftwareSerialM/archive/master.zip
|
|
323
|
+lib_ignore = Adafruit NeoPixel, SPI
|
|
324
|
+monitor_speed = 115200
|
252
|
325
|
|
253
|
326
|
[env:STM32F103RC_bigtree_512K]
|
254
|
|
-extends = env:STM32F103RC_bigtree
|
|
327
|
+platform = ststm32
|
|
328
|
+board = genericSTM32F103RC
|
255
|
329
|
board_upload.maximum_size=524288
|
|
330
|
+platform_packages = tool-stm32duino
|
256
|
331
|
build_flags = !python Marlin/src/HAL/HAL_STM32F1/build_flags.py
|
257
|
332
|
${common.build_flags} -DDEBUG_LEVEL=0 -std=gnu++14 -DHAVE_SW_SERIAL -DSS_TIMER=4 -DSTM32_FLASH_SIZE=512
|
|
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/HAL_STM32F1>
|
|
336
|
+lib_deps = ${common.lib_deps}
|
|
337
|
+ SoftwareSerialM=https://github.com/FYSETC/SoftwareSerialM/archive/master.zip
|
|
338
|
+lib_ignore = Adafruit NeoPixel, SPI
|
|
339
|
+monitor_speed = 115200
|
258
|
340
|
|
259
|
341
|
[env:STM32F103RC_bigtree_512K_USB]
|
260
|
|
-extends = env:STM32F103RC_bigtree_512K
|
|
342
|
+platform = ststm32
|
|
343
|
+board = genericSTM32F103RC
|
261
|
344
|
board_upload.maximum_size=524288
|
|
345
|
+platform_packages = tool-stm32duino
|
262
|
346
|
build_flags = !python Marlin/src/HAL/HAL_STM32F1/build_flags.py
|
263
|
347
|
${common.build_flags} -DDEBUG_LEVEL=0 -std=gnu++14 -DHAVE_SW_SERIAL -DSS_TIMER=4 -DSTM32_FLASH_SIZE=512 -DUSE_USB_COMPOSITE
|
264
|
|
-
|
265
|
|
-#
|
266
|
|
-# STM32F103RE_base
|
267
|
|
-#
|
268
|
|
-[env:STM32F103RE_base]
|
269
|
|
-extends = env:STM32F1_base
|
270
|
|
-board = genericSTM32F103RE
|
271
|
|
-platform_packages = tool-stm32duino
|
|
348
|
+build_unflags = -std=gnu++11
|
|
349
|
+extra_scripts = buildroot/share/PlatformIO/scripts/STM32F103RC_SKR_MINI.py
|
|
350
|
+src_filter = ${common.default_src_filter} +<src/HAL/HAL_STM32F1>
|
272
|
351
|
lib_deps = ${common.lib_deps}
|
273
|
352
|
SoftwareSerialM=https://github.com/FYSETC/SoftwareSerialM/archive/master.zip
|
|
353
|
+lib_ignore = Adafruit NeoPixel, SPI
|
274
|
354
|
monitor_speed = 115200
|
275
|
355
|
|
276
|
356
|
#
|
277
|
357
|
# STM32F103RE
|
278
|
358
|
#
|
279
|
359
|
[env:STM32F103RE]
|
280
|
|
-extends = env:STM32F103RE_base
|
|
360
|
+platform = ststm32
|
|
361
|
+board = genericSTM32F103RE
|
|
362
|
+platform_packages = tool-stm32duino
|
|
363
|
+build_flags = !python Marlin/src/HAL/HAL_STM32F1/build_flags.py
|
|
364
|
+ ${common.build_flags} -std=gnu++14
|
|
365
|
+build_unflags = -std=gnu++11
|
|
366
|
+src_filter = ${common.default_src_filter} +<src/HAL/HAL_STM32F1>
|
|
367
|
+lib_deps = ${common.lib_deps}
|
|
368
|
+ SoftwareSerialM=https://github.com/FYSETC/SoftwareSerialM/archive/master.zip
|
|
369
|
+lib_ignore = Adafruit NeoPixel, SPI
|
|
370
|
+monitor_speed = 115200
|
281
|
371
|
|
282
|
372
|
#
|
283
|
373
|
# STM32F103RE_bigtree ............. RET6
|
284
|
374
|
# STM32F103RE_bigtree_USB ......... RET6 (USB)
|
285
|
375
|
#
|
286
|
376
|
[env:STM32F103RE_bigtree]
|
287
|
|
-extends = env:STM32F103RE_base
|
288
|
|
-extra_scripts = buildroot/share/PlatformIO/scripts/STM32F103RE_SKR_E3_DIP.py
|
|
377
|
+platform = ststm32
|
|
378
|
+board = genericSTM32F103RE
|
|
379
|
+platform_packages = tool-stm32duino
|
289
|
380
|
build_flags = !python Marlin/src/HAL/HAL_STM32F1/build_flags.py
|
290
|
381
|
${common.build_flags} -DDEBUG_LEVEL=0 -std=gnu++14 -DHAVE_SW_SERIAL -DSS_TIMER=4
|
|
382
|
+build_unflags = -std=gnu++11
|
|
383
|
+extra_scripts = buildroot/share/PlatformIO/scripts/STM32F103RE_SKR_E3_DIP.py
|
|
384
|
+src_filter = ${common.default_src_filter} +<src/HAL/HAL_STM32F1>
|
|
385
|
+lib_deps = ${common.lib_deps}
|
|
386
|
+ SoftwareSerialM=https://github.com/FYSETC/SoftwareSerialM/archive/master.zip
|
|
387
|
+lib_ignore = Adafruit NeoPixel, SPI
|
291
|
388
|
debug_tool = stlink
|
292
|
389
|
upload_protocol = stlink
|
|
390
|
+monitor_speed = 115200
|
293
|
391
|
|
294
|
392
|
[env:STM32F103RE_bigtree_USB]
|
295
|
|
-extends = env:STM32F103RE_bigtree
|
|
393
|
+platform = ststm32
|
|
394
|
+board = genericSTM32F103RE
|
|
395
|
+platform_packages = tool-stm32duino
|
296
|
396
|
build_flags = !python Marlin/src/HAL/HAL_STM32F1/build_flags.py
|
297
|
397
|
${common.build_flags} -DDEBUG_LEVEL=0 -std=gnu++14 -DHAVE_SW_SERIAL -DSS_TIMER=4 -DUSE_USB_COMPOSITE
|
|
398
|
+build_unflags = -std=gnu++11
|
|
399
|
+extra_scripts = buildroot/share/PlatformIO/scripts/STM32F103RE_SKR_E3_DIP.py
|
|
400
|
+src_filter = ${common.default_src_filter} +<src/HAL/HAL_STM32F1>
|
|
401
|
+lib_deps = ${common.lib_deps}
|
|
402
|
+ SoftwareSerialM=https://github.com/FYSETC/SoftwareSerialM/archive/master.zip
|
|
403
|
+lib_ignore = Adafruit NeoPixel, SPI
|
|
404
|
+debug_tool = stlink
|
|
405
|
+upload_protocol = stlink
|
|
406
|
+monitor_speed = 115200
|
298
|
407
|
|
299
|
408
|
#
|
300
|
409
|
# STM32F4 with STM32GENERIC
|
|
@@ -336,58 +445,86 @@ monitor_speed = 250000
|
336
|
445
|
# Longer 3D board in Alfawise U20 (STM32F103VET6)
|
337
|
446
|
#
|
338
|
447
|
[env:STM32F103VE_longer]
|
339
|
|
-extends = env:STM32F1_base
|
|
448
|
+platform = ststm32
|
340
|
449
|
board = genericSTM32F103VE
|
341
|
|
-extra_scripts = buildroot/share/PlatformIO/scripts/STM32F103VE_longer.py
|
342
|
450
|
build_flags = !python Marlin/src/HAL/HAL_STM32F1/build_flags.py
|
343
|
451
|
${common.build_flags} -std=gnu++14 -USERIAL_USB
|
344
|
452
|
-DSTM32F1xx -DU20 -DTS_V12
|
345
|
453
|
build_unflags = -std=gnu++11 -DCONFIG_MAPLE_MINI_NO_DISABLE_DEBUG=1 -DERROR_LED_PORT=GPIOE -DERROR_LED_PIN=6
|
|
454
|
+extra_scripts = buildroot/share/PlatformIO/scripts/STM32F103VE_longer.py
|
|
455
|
+src_filter = ${common.default_src_filter} +<src/HAL/HAL_STM32F1>
|
346
|
456
|
lib_ignore = Adafruit NeoPixel, LiquidTWI2, SPI
|
|
457
|
+monitor_speed = 250000
|
347
|
458
|
|
348
|
459
|
#
|
349
|
460
|
# MKS Robin (STM32F103ZET6)
|
350
|
461
|
#
|
351
|
462
|
[env:mks_robin]
|
352
|
|
-extends = env:STM32F1_base
|
|
463
|
+platform = ststm32
|
353
|
464
|
board = genericSTM32F103ZE
|
354
|
|
-extra_scripts = buildroot/share/PlatformIO/scripts/mks_robin.py
|
355
|
465
|
build_flags = !python Marlin/src/HAL/HAL_STM32F1/build_flags.py
|
356
|
466
|
${common.build_flags} -std=gnu++14 -DSTM32_XL_DENSITY
|
|
467
|
+build_unflags = -std=gnu++11
|
|
468
|
+extra_scripts = buildroot/share/PlatformIO/scripts/mks_robin.py
|
|
469
|
+src_filter = ${common.default_src_filter} +<src/HAL/HAL_STM32F1>
|
|
470
|
+lib_ignore = Adafruit NeoPixel, SPI
|
|
471
|
+monitor_speed = 250000
|
357
|
472
|
|
358
|
473
|
#
|
359
|
474
|
# MKS Robin Lite/Lite2 (STM32F103RCT6)
|
360
|
475
|
#
|
361
|
476
|
[env:mks_robin_lite]
|
362
|
|
-extends = env:STM32F1_base
|
|
477
|
+platform = ststm32
|
363
|
478
|
board = genericSTM32F103RC
|
|
479
|
+build_flags = !python Marlin/src/HAL/HAL_STM32F1/build_flags.py
|
|
480
|
+ ${common.build_flags} -std=gnu++14
|
|
481
|
+build_unflags = -std=gnu++11
|
364
|
482
|
extra_scripts = buildroot/share/PlatformIO/scripts/mks_robin_lite.py
|
|
483
|
+src_filter = ${common.default_src_filter} +<src/HAL/HAL_STM32F1>
|
|
484
|
+lib_ignore = Adafruit NeoPixel, SPI
|
|
485
|
+monitor_speed = 250000
|
365
|
486
|
|
366
|
487
|
#
|
367
|
488
|
# MKS Robin Mini (STM32F103VET6)
|
368
|
489
|
#
|
369
|
490
|
[env:mks_robin_mini]
|
370
|
|
-extends = env:STM32F1_base
|
|
491
|
+platform = ststm32
|
371
|
492
|
board = genericSTM32F103VE
|
|
493
|
+build_flags = !python Marlin/src/HAL/HAL_STM32F1/build_flags.py
|
|
494
|
+ ${common.build_flags} -std=gnu++14
|
|
495
|
+build_unflags = -std=gnu++11
|
372
|
496
|
extra_scripts = buildroot/share/PlatformIO/scripts/mks_robin_mini.py
|
|
497
|
+src_filter = ${common.default_src_filter} +<src/HAL/HAL_STM32F1>
|
|
498
|
+lib_ignore = Adafruit NeoPixel, SPI
|
|
499
|
+monitor_speed = 250000
|
373
|
500
|
|
374
|
501
|
#
|
375
|
502
|
# MKS Robin Nano (STM32F103VET6)
|
376
|
503
|
#
|
377
|
504
|
[env:mks_robin_nano]
|
378
|
|
-extends = env:STM32F1_base
|
|
505
|
+platform = ststm32
|
379
|
506
|
board = genericSTM32F103VE
|
|
507
|
+build_flags = !python Marlin/src/HAL/HAL_STM32F1/build_flags.py
|
|
508
|
+ ${common.build_flags} -std=gnu++14
|
|
509
|
+build_unflags = -std=gnu++11
|
380
|
510
|
extra_scripts = buildroot/share/PlatformIO/scripts/mks_robin_nano.py
|
|
511
|
+src_filter = ${common.default_src_filter} +<src/HAL/HAL_STM32F1>
|
|
512
|
+lib_ignore = Adafruit NeoPixel, SPI
|
|
513
|
+monitor_speed = 250000
|
381
|
514
|
|
382
|
515
|
#
|
383
|
516
|
# JGAurora A5S A1 (STM32F103ZET6)
|
384
|
517
|
#
|
385
|
518
|
[env:jgaurora_a5s_a1]
|
386
|
|
-extends = env:STM32F1_base
|
|
519
|
+platform = ststm32
|
387
|
520
|
board = genericSTM32F103ZE
|
388
|
|
-extra_scripts = buildroot/share/PlatformIO/scripts/jgaurora_a5s_a1_with_bootloader.py
|
389
|
521
|
build_flags = !python Marlin/src/HAL/HAL_STM32F1/build_flags.py
|
390
|
522
|
${common.build_flags} -DSTM32F1xx -std=gnu++14 -DSTM32_XL_DENSITY
|
|
523
|
+build_unflags = -std=gnu++11
|
|
524
|
+extra_scripts = buildroot/share/PlatformIO/scripts/jgaurora_a5s_a1_with_bootloader.py
|
|
525
|
+src_filter = ${common.default_src_filter} +<src/HAL/HAL_STM32F1>
|
|
526
|
+lib_ignore = Adafruit NeoPixel, SPI
|
|
527
|
+monitor_speed = 250000
|
391
|
528
|
|
392
|
529
|
#
|
393
|
530
|
# Malyan M200 (STM32F103CB)
|
|
@@ -404,39 +541,35 @@ lib_ignore = Adafruit NeoPixel, LiquidCrystal, LiquidTWI2, TMCStepper, U8glib-H
|
404
|
541
|
# Chitu boards like Tronxy X5s (STM32F103ZET6)
|
405
|
542
|
#
|
406
|
543
|
[env:chitu_f103]
|
407
|
|
-extends = env:STM32F1_base
|
|
544
|
+platform = ststm32
|
408
|
545
|
board = genericSTM32F103ZE
|
409
|
|
-extra_scripts = buildroot/share/PlatformIO/scripts/chitu_crypt.py
|
410
|
546
|
build_flags = !python Marlin/src/HAL/HAL_STM32F1/build_flags.py
|
411
|
547
|
${common.build_flags} -DSTM32F1xx -std=gnu++14 -DSTM32_XL_DENSITY
|
412
|
548
|
build_unflags = -std=gnu++11 -DCONFIG_MAPLE_MINI_NO_DISABLE_DEBUG= -DERROR_LED_PORT=GPIOE -DERROR_LED_PIN=6
|
|
549
|
+extra_scripts = buildroot/share/PlatformIO/scripts/chitu_crypt.py
|
|
550
|
+src_filter = ${common.default_src_filter} +<src/HAL/HAL_STM32F1>
|
413
|
551
|
lib_ignore = Adafruit NeoPixel
|
414
|
|
-
|
415
|
|
-#
|
416
|
|
-# STM32 HAL environments
|
417
|
|
-#
|
418
|
|
-[env:STM32_hal]
|
419
|
|
-platform = ststm32
|
420
|
|
-build_unflags = -std=gnu++11
|
421
|
|
-src_filter = ${common.default_src_filter} +<src/HAL/HAL_STM32>
|
422
|
552
|
monitor_speed = 250000
|
423
|
553
|
|
424
|
554
|
#
|
425
|
555
|
# FYSETC S6 (STM32F446VET6 ARM Cortex-M4)
|
426
|
556
|
#
|
427
|
557
|
[env:FYSETC_S6]
|
428
|
|
-extends = env:STM32_hal
|
|
558
|
+platform = ststm32
|
429
|
559
|
board = fysetc_s6
|
430
|
|
-extra_scripts = buildroot/share/PlatformIO/scripts/fysetc_STM32S6.py
|
|
560
|
+platform_packages = tool-stm32duino
|
431
|
561
|
build_flags = ${common.build_flags}
|
432
|
562
|
-DTARGET_STM32F4 -std=gnu++14
|
433
|
563
|
-DVECT_TAB_OFFSET=0x10000
|
434
|
564
|
-DUSBCON -DUSBD_USE_CDC -DHAL_PCD_MODULE_ENABLED -DUSBD_VID=0x0483 '-DUSB_PRODUCT="FYSETC_S6"'
|
|
565
|
+build_unflags = -std=gnu++11
|
|
566
|
+extra_scripts = buildroot/share/PlatformIO/scripts/fysetc_STM32S6.py
|
|
567
|
+src_filter = ${common.default_src_filter} +<src/HAL/HAL_STM32>
|
435
|
568
|
lib_ignore = Arduino-L6470
|
436
|
|
-platform_packages = tool-stm32duino
|
437
|
569
|
debug_tool = stlink
|
438
|
570
|
#upload_protocol = stlink
|
439
|
571
|
upload_protocol = serial
|
|
572
|
+monitor_speed = 250000
|
440
|
573
|
|
441
|
574
|
#
|
442
|
575
|
# STM32F407VET6 with RAMPS-like shield
|
|
@@ -444,29 +577,33 @@ upload_protocol = serial
|
444
|
577
|
# Shield - https://github.com/jmz52/Hardware
|
445
|
578
|
#
|
446
|
579
|
[env:STM32F407VE_black]
|
447
|
|
-extends = env:STM32_hal
|
448
|
|
-platform_packages = framework-arduinoststm32@>=3.10700.191028
|
|
580
|
+platform = ststm32
|
449
|
581
|
board = blackSTM32F407VET6
|
450
|
|
-extra_scripts = pre:buildroot/share/PlatformIO/scripts/generic_create_variant.py
|
|
582
|
+platform_packages = framework-arduinoststm32@>=3.10700.191028
|
451
|
583
|
build_flags = ${common.build_flags}
|
452
|
584
|
-DTARGET_STM32F4 -DARDUINO_BLACK_F407VE
|
453
|
585
|
-DUSBCON -DUSBD_USE_CDC -DUSBD_VID=0x0483 -DUSB_PRODUCT=\"BLACK_F407VE\"
|
454
|
586
|
-IMarlin/src/HAL/HAL_STM32
|
|
587
|
+build_unflags = -std=gnu++11
|
|
588
|
+extra_scripts = pre:buildroot/share/PlatformIO/scripts/generic_create_variant.py
|
455
|
589
|
lib_ignore = Adafruit NeoPixel, TMCStepper, SailfishLCD, SailfishRGB_LED, SlowSoftI2CMaster, SoftwareSerial
|
|
590
|
+src_filter = ${common.default_src_filter} +<src/HAL/HAL_STM32>
|
|
591
|
+monitor_speed = 250000
|
456
|
592
|
|
457
|
593
|
#
|
458
|
594
|
# Bigtreetech SKR Pro (STM32F407ZGT6 ARM Cortex-M4)
|
459
|
595
|
#
|
460
|
596
|
[env:BIGTREE_SKR_PRO]
|
461
|
|
-extends = env:STM32_hal
|
462
|
|
-platform_packages = framework-arduinoststm32@>=3.10700.191028
|
|
597
|
+platform = ststm32
|
463
|
598
|
board = BigTree_SKR_Pro
|
464
|
|
-extra_scripts = pre:buildroot/share/PlatformIO/scripts/generic_create_variant.py
|
|
599
|
+platform_packages = framework-arduinoststm32@>=3.10700.191028
|
465
|
600
|
build_flags = ${common.build_flags}
|
466
|
601
|
-DUSBCON -DUSBD_USE_CDC -DUSBD_VID=0x0483 -DUSB_PRODUCT=\"STM32F407ZG\"
|
467
|
602
|
-DTARGET_STM32F4 -DSTM32F407_5ZX -DVECT_TAB_OFFSET=0x8000
|
468
|
603
|
-DHAVE_HWSERIAL6
|
469
|
604
|
-IMarlin/src/HAL/HAL_STM32
|
|
605
|
+build_unflags = -std=gnu++11
|
|
606
|
+extra_scripts = pre:buildroot/share/PlatformIO/scripts/generic_create_variant.py
|
470
|
607
|
lib_deps =
|
471
|
608
|
U8glib-HAL=https://github.com/MarlinFirmware/U8glib-HAL/archive/bugfix.zip
|
472
|
609
|
LiquidCrystal
|
|
@@ -475,15 +612,15 @@ lib_deps =
|
475
|
612
|
LiquidTWI2=https://github.com/lincomatic/LiquidTWI2/archive/master.zip
|
476
|
613
|
Arduino-L6470=https://github.com/ameyer/Arduino-L6470/archive/dev.zip
|
477
|
614
|
lib_ignore = SoftwareSerial, SoftwareSerialM
|
|
615
|
+src_filter = ${common.default_src_filter} +<src/HAL/HAL_STM32>
|
|
616
|
+monitor_speed = 250000
|
478
|
617
|
|
479
|
618
|
#
|
480
|
619
|
# Bigtreetech SKR BTT002 (STM32F407VET6 ARM Cortex-M4)
|
481
|
620
|
#
|
482
|
621
|
[env:BIGTREE_BTT002]
|
483
|
|
-extends = env:STM32_hal
|
484
|
|
-platform = ststm32@5.6.0
|
|
622
|
+platform = ststm32@5.6.0
|
485
|
623
|
board = BigTree_Btt002
|
486
|
|
-extra_scripts = pre:buildroot/share/PlatformIO/scripts/generic_create_variant.py
|
487
|
624
|
build_flags = ${common.build_flags}
|
488
|
625
|
-DUSBCON -DUSBD_USE_CDC -DUSBD_VID=0x0483 -DUSB_PRODUCT=\"STM32F407VE\"
|
489
|
626
|
-DTARGET_STM32F4 -DSTM32F407_5VX -DVECT_TAB_OFFSET=0x8000
|
|
@@ -491,7 +628,11 @@ build_flags = ${common.build_flags}
|
491
|
628
|
-DHAVE_HWSERIAL3
|
492
|
629
|
-DPIN_SERIAL2_RX=PD_6
|
493
|
630
|
-DPIN_SERIAL2_TX=PD_5
|
|
631
|
+build_unflags = -std=gnu++11
|
|
632
|
+extra_scripts = pre:buildroot/share/PlatformIO/scripts/generic_create_variant.py
|
494
|
633
|
lib_ignore = Adafruit NeoPixel, SailfishLCD, SailfishRGB_LED, SlowSoftI2CMaster
|
|
634
|
+src_filter = ${common.default_src_filter} +<src/HAL/HAL_STM32>
|
|
635
|
+monitor_speed = 250000
|
495
|
636
|
|
496
|
637
|
#
|
497
|
638
|
# Teensy 3.1 / 3.2 (ARM Cortex-M4)
|
|
@@ -509,9 +650,13 @@ monitor_speed = 250000
|
509
|
650
|
# Teensy 3.5 / 3.6 (ARM Cortex-M4)
|
510
|
651
|
#
|
511
|
652
|
[env:teensy35]
|
512
|
|
-extends = env:teensy31
|
|
653
|
+platform = teensy
|
513
|
654
|
board = teensy35
|
|
655
|
+lib_deps = ${common.lib_deps}
|
|
656
|
+ TMC26XStepper=https://github.com/trinamic/TMC26XStepper/archive/master.zip
|
|
657
|
+lib_ignore = Adafruit NeoPixel
|
514
|
658
|
src_filter = ${common.default_src_filter} +<src/HAL/HAL_TEENSY35_36>
|
|
659
|
+monitor_speed = 250000
|
515
|
660
|
|
516
|
661
|
#
|
517
|
662
|
# Espressif ESP32
|