|
@@ -27,15 +27,35 @@ extra_scripts = pre:buildroot/share/PlatformIO/scripts/common-cxxflags.py
|
27
|
27
|
build_flags = -fmax-errors=5 -g -D__MARLIN_FIRMWARE__ -fmerge-all-constants
|
28
|
28
|
lib_deps =
|
29
|
29
|
LiquidCrystal
|
30
|
|
- TMCStepper@>=0.6.2,<1.0.0
|
|
30
|
+ TMCStepper@>=0.6.2
|
|
31
|
+ Adafruit MAX31865 library
|
31
|
32
|
Adafruit NeoPixel
|
32
|
33
|
U8glib-HAL=https://github.com/MarlinFirmware/U8glib-HAL/archive/bugfix.zip
|
33
|
|
- Adafruit_MAX31865=https://github.com/adafruit/Adafruit_MAX31865/archive/master.zip
|
34
|
34
|
LiquidTWI2=https://github.com/lincomatic/LiquidTWI2/archive/master.zip
|
35
|
35
|
Arduino-L6470=https://github.com/ameyer/Arduino-L6470/archive/0.8.0.zip
|
36
|
36
|
SailfishLCD=https://github.com/mikeshub/SailfishLCD/archive/master.zip
|
37
|
37
|
SlowSoftI2CMaster=https://github.com/mikeshub/SlowSoftI2CMaster/archive/master.zip
|
38
|
38
|
|
|
39
|
+[common_stm32f1]
|
|
40
|
+platform = ststm32
|
|
41
|
+build_flags = !python Marlin/src/HAL/STM32F1/build_flags.py
|
|
42
|
+ ${common.build_flags} -std=gnu++14 -DHAVE_SW_SERIAL
|
|
43
|
+build_unflags = -std=gnu++11
|
|
44
|
+src_filter = ${common.default_src_filter} +<src/HAL/STM32F1>
|
|
45
|
+lib_ignore =
|
|
46
|
+ Adafruit NeoPixel
|
|
47
|
+ SPI
|
|
48
|
+lib_deps =
|
|
49
|
+ LiquidCrystal
|
|
50
|
+ TMCStepper@>=0.6.2
|
|
51
|
+ U8glib-HAL=https://github.com/MarlinFirmware/U8glib-HAL/archive/bugfix.zip
|
|
52
|
+ Adafruit MAX31865 library@>=1.1,<1.2
|
|
53
|
+ LiquidTWI2=https://github.com/lincomatic/LiquidTWI2/archive/master.zip
|
|
54
|
+ Arduino-L6470=https://github.com/ameyer/Arduino-L6470/archive/0.8.0.zip
|
|
55
|
+ SailfishLCD=https://github.com/mikeshub/SailfishLCD/archive/master.zip
|
|
56
|
+ SlowSoftI2CMaster=https://github.com/mikeshub/SlowSoftI2CMaster/archive/master.zip
|
|
57
|
+ SoftwareSerialM=https://github.com/FYSETC/SoftwareSerialM/archive/master.zip
|
|
58
|
+
|
39
|
59
|
# Globally defined properties
|
40
|
60
|
# inherited by all environments
|
41
|
61
|
[env]
|
|
@@ -296,34 +316,20 @@ lib_deps = Servo
|
296
|
316
|
# STM32F103RC
|
297
|
317
|
#
|
298
|
318
|
[env:STM32F103RC]
|
299
|
|
-platform = ststm32
|
|
319
|
+platform = ${common_stm32f1.platform}
|
|
320
|
+extends = common_stm32f1
|
300
|
321
|
board = genericSTM32F103RC
|
301
|
322
|
platform_packages = tool-stm32duino
|
302
|
|
-build_flags = !python Marlin/src/HAL/STM32F1/build_flags.py
|
303
|
|
- ${common.build_flags} -std=gnu++14
|
304
|
|
-build_unflags = -std=gnu++11
|
305
|
|
-src_filter = ${common.default_src_filter} +<src/HAL/STM32F1>
|
306
|
|
-lib_deps = ${common.lib_deps}
|
307
|
|
- SoftwareSerialM=https://github.com/FYSETC/SoftwareSerialM/archive/master.zip
|
308
|
|
-lib_ignore = Adafruit NeoPixel, SPI
|
309
|
323
|
monitor_speed = 115200
|
310
|
324
|
|
311
|
325
|
#
|
312
|
326
|
# STM32F103RC_fysetc
|
313
|
327
|
#
|
314
|
328
|
[env:STM32F103RC_fysetc]
|
315
|
|
-platform = ststm32
|
316
|
|
-board = genericSTM32F103RC
|
317
|
|
-#board_build.core = maple
|
318
|
|
-platform_packages = tool-stm32duino
|
319
|
|
-build_flags = !python Marlin/src/HAL/STM32F1/build_flags.py
|
320
|
|
- ${common.build_flags} -std=gnu++14 -DDEBUG_LEVEL=0 -DHAVE_SW_SERIAL
|
321
|
|
-build_unflags = -std=gnu++11
|
|
329
|
+platform = ${common_stm32f1.platform}
|
|
330
|
+extends = env:STM32F103RC
|
322
|
331
|
extra_scripts = buildroot/share/PlatformIO/scripts/STM32F103RC_fysetc.py
|
323
|
|
-src_filter = ${common.default_src_filter} +<src/HAL/STM32F1>
|
324
|
|
-lib_deps = ${common.lib_deps}
|
325
|
|
- SoftwareSerialM=https://github.com/FYSETC/SoftwareSerialM/archive/master.zip
|
326
|
|
-lib_ignore = Adafruit NeoPixel, SPI
|
|
332
|
+build_flags = ${common_stm32f1.build_flags} -DDEBUG_LEVEL=0
|
327
|
333
|
lib_ldf_mode = chain
|
328
|
334
|
debug_tool = stlink
|
329
|
335
|
upload_protocol = serial
|
|
@@ -338,79 +344,41 @@ upload_protocol = serial
|
338
|
344
|
#
|
339
|
345
|
|
340
|
346
|
[env:STM32F103RC_btt]
|
341
|
|
-platform = ststm32
|
342
|
|
-board = genericSTM32F103RC
|
343
|
|
-platform_packages = tool-stm32duino
|
344
|
|
-build_flags = !python Marlin/src/HAL/STM32F1/build_flags.py
|
345
|
|
- ${common.build_flags} -DDEBUG_LEVEL=0 -std=gnu++14 -DHAVE_SW_SERIAL -DSS_TIMER=4
|
346
|
|
-build_unflags = -std=gnu++11
|
|
347
|
+platform = ${common_stm32f1.platform}
|
|
348
|
+extends = env:STM32F103RC
|
347
|
349
|
extra_scripts = buildroot/share/PlatformIO/scripts/STM32F103RC_SKR_MINI.py
|
348
|
|
-src_filter = ${common.default_src_filter} +<src/HAL/STM32F1>
|
349
|
|
-lib_deps = ${common.lib_deps}
|
350
|
|
- SoftwareSerialM=https://github.com/FYSETC/SoftwareSerialM/archive/master.zip
|
351
|
|
-lib_ignore = Adafruit NeoPixel, SPI
|
|
350
|
+build_flags = ${common_stm32f1.build_flags}
|
|
351
|
+ -DDEBUG_LEVEL=0 -DSS_TIMER=4
|
352
|
352
|
monitor_speed = 115200
|
353
|
353
|
|
354
|
354
|
[env:STM32F103RC_btt_USB]
|
355
|
|
-platform = ststm32
|
356
|
|
-board = genericSTM32F103RC
|
357
|
|
-platform_packages = tool-stm32duino
|
358
|
|
-build_flags = !python Marlin/src/HAL/STM32F1/build_flags.py
|
359
|
|
- ${common.build_flags} -DDEBUG_LEVEL=0 -std=gnu++14 -DHAVE_SW_SERIAL -DSS_TIMER=4 -DUSE_USB_COMPOSITE
|
360
|
|
-build_unflags = -std=gnu++11
|
361
|
|
-extra_scripts = buildroot/share/PlatformIO/scripts/STM32F103RC_SKR_MINI.py
|
362
|
|
-src_filter = ${common.default_src_filter} +<src/HAL/STM32F1>
|
363
|
|
-lib_deps = ${common.lib_deps}
|
364
|
|
- SoftwareSerialM=https://github.com/FYSETC/SoftwareSerialM/archive/master.zip
|
|
355
|
+platform = ${common_stm32f1.platform}
|
|
356
|
+extends = env:STM32F103RC_btt
|
|
357
|
+build_flags = ${env:STM32F103RC_btt.build_flags} -DUSE_USB_COMPOSITE
|
|
358
|
+lib_deps = ${env:STM32F103RC_btt.lib_deps}
|
365
|
359
|
USBComposite for STM32F1@==0.91
|
366
|
|
-lib_ignore = Adafruit NeoPixel, SPI
|
367
|
|
-monitor_speed = 115200
|
368
|
360
|
|
369
|
361
|
[env:STM32F103RC_btt_512K]
|
370
|
|
-platform = ststm32
|
371
|
|
-board = genericSTM32F103RC
|
|
362
|
+platform = ${common_stm32f1.platform}
|
|
363
|
+extends = env:STM32F103RC_btt
|
372
|
364
|
board_upload.maximum_size=524288
|
373
|
|
-platform_packages = tool-stm32duino
|
374
|
|
-build_flags = !python Marlin/src/HAL/STM32F1/build_flags.py
|
375
|
|
- ${common.build_flags} -DDEBUG_LEVEL=0 -std=gnu++14 -DHAVE_SW_SERIAL -DSS_TIMER=4 -DSTM32_FLASH_SIZE=512
|
376
|
|
-build_unflags = -std=gnu++11
|
377
|
|
-extra_scripts = buildroot/share/PlatformIO/scripts/STM32F103RC_SKR_MINI.py
|
378
|
|
-src_filter = ${common.default_src_filter} +<src/HAL/STM32F1>
|
379
|
|
-lib_deps = ${common.lib_deps}
|
380
|
|
- SoftwareSerialM=https://github.com/FYSETC/SoftwareSerialM/archive/master.zip
|
381
|
|
-lib_ignore = Adafruit NeoPixel, SPI
|
382
|
|
-monitor_speed = 115200
|
|
365
|
+build_flags = ${env:STM32F103RC_btt.build_flags} -DSTM32_FLASH_SIZE=512
|
383
|
366
|
|
384
|
367
|
[env:STM32F103RC_btt_512K_USB]
|
385
|
|
-platform = ststm32
|
386
|
|
-board = genericSTM32F103RC
|
387
|
|
-board_upload.maximum_size=524288
|
388
|
|
-platform_packages = tool-stm32duino
|
389
|
|
-build_flags = !python Marlin/src/HAL/STM32F1/build_flags.py
|
390
|
|
- ${common.build_flags} -DDEBUG_LEVEL=0 -std=gnu++14 -DHAVE_SW_SERIAL -DSS_TIMER=4 -DSTM32_FLASH_SIZE=512 -DUSE_USB_COMPOSITE
|
391
|
|
-build_unflags = -std=gnu++11
|
392
|
|
-extra_scripts = buildroot/share/PlatformIO/scripts/STM32F103RC_SKR_MINI.py
|
393
|
|
-src_filter = ${common.default_src_filter} +<src/HAL/STM32F1>
|
394
|
|
-lib_deps = ${common.lib_deps}
|
395
|
|
- SoftwareSerialM=https://github.com/FYSETC/SoftwareSerialM/archive/master.zip
|
|
368
|
+platform = ${common_stm32f1.platform}
|
|
369
|
+extends = env:STM32F103RC_btt_512K
|
|
370
|
+build_flags = ${env:STM32F103RC_btt_512K.build_flags} -DUSE_USB_COMPOSITE
|
|
371
|
+lib_deps = ${env:STM32F103RC_btt_512K.lib_deps}
|
396
|
372
|
USBComposite for STM32F1@==0.91
|
397
|
|
-lib_ignore = Adafruit NeoPixel, SPI
|
398
|
|
-monitor_speed = 115200
|
399
|
373
|
|
400
|
374
|
#
|
401
|
375
|
# STM32F103RE
|
402
|
376
|
#
|
403
|
377
|
[env:STM32F103RE]
|
404
|
|
-platform = ststm32
|
|
378
|
+platform = ${common_stm32f1.platform}
|
|
379
|
+extends = common_stm32f1
|
405
|
380
|
board = genericSTM32F103RE
|
406
|
381
|
platform_packages = tool-stm32duino
|
407
|
|
-build_flags = !python Marlin/src/HAL/STM32F1/build_flags.py
|
408
|
|
- ${common.build_flags} -std=gnu++14
|
409
|
|
-build_unflags = -std=gnu++11
|
410
|
|
-src_filter = ${common.default_src_filter} +<src/HAL/STM32F1>
|
411
|
|
-lib_deps = ${common.lib_deps}
|
412
|
|
- SoftwareSerialM=https://github.com/FYSETC/SoftwareSerialM/archive/master.zip
|
413
|
|
-lib_ignore = Adafruit NeoPixel, SPI
|
414
|
382
|
monitor_speed = 115200
|
415
|
383
|
|
416
|
384
|
#
|
|
@@ -418,37 +386,19 @@ monitor_speed = 115200
|
418
|
386
|
# STM32F103RE_btt_USB ......... RET6 (USB mass storage)
|
419
|
387
|
#
|
420
|
388
|
[env:STM32F103RE_btt]
|
421
|
|
-platform = ststm32
|
422
|
|
-board = genericSTM32F103RE
|
423
|
|
-platform_packages = tool-stm32duino
|
424
|
|
-build_flags = !python Marlin/src/HAL/STM32F1/build_flags.py
|
425
|
|
- ${common.build_flags} -DDEBUG_LEVEL=0 -std=gnu++14 -DHAVE_SW_SERIAL -DSS_TIMER=4
|
426
|
|
-build_unflags = -std=gnu++11
|
|
389
|
+platform = ${common_stm32f1.platform}
|
|
390
|
+extends = env:STM32F103RE
|
427
|
391
|
extra_scripts = buildroot/share/PlatformIO/scripts/STM32F103RE_SKR_E3_DIP.py
|
428
|
|
-src_filter = ${common.default_src_filter} +<src/HAL/STM32F1>
|
429
|
|
-lib_deps = ${common.lib_deps}
|
430
|
|
- SoftwareSerialM=https://github.com/FYSETC/SoftwareSerialM/archive/master.zip
|
431
|
|
-lib_ignore = Adafruit NeoPixel, SPI
|
|
392
|
+build_flags = ${common_stm32f1.build_flags} -DDEBUG_LEVEL=0 -DSS_TIMER=4
|
432
|
393
|
debug_tool = stlink
|
433
|
394
|
upload_protocol = stlink
|
434
|
|
-monitor_speed = 115200
|
435
|
395
|
|
436
|
396
|
[env:STM32F103RE_btt_USB]
|
437
|
|
-platform = ststm32
|
438
|
|
-board = genericSTM32F103RE
|
439
|
|
-platform_packages = tool-stm32duino
|
440
|
|
-build_flags = !python Marlin/src/HAL/STM32F1/build_flags.py
|
441
|
|
- ${common.build_flags} -DDEBUG_LEVEL=0 -std=gnu++14 -DHAVE_SW_SERIAL -DSS_TIMER=4 -DUSE_USB_COMPOSITE
|
442
|
|
-build_unflags = -std=gnu++11
|
443
|
|
-extra_scripts = buildroot/share/PlatformIO/scripts/STM32F103RE_SKR_E3_DIP.py
|
444
|
|
-src_filter = ${common.default_src_filter} +<src/HAL/STM32F1>
|
445
|
|
-lib_deps = ${common.lib_deps}
|
446
|
|
- SoftwareSerialM=https://github.com/FYSETC/SoftwareSerialM/archive/master.zip
|
|
397
|
+platform = ${common_stm32f1.platform}
|
|
398
|
+extends = env:STM32F103RE_btt
|
|
399
|
+build_flags = ${env:STM32F103RE_btt.build_flags} -DUSE_USB_COMPOSITE
|
|
400
|
+lib_deps = ${common_stm32f1.lib_deps}
|
447
|
401
|
USBComposite for STM32F1@==0.91
|
448
|
|
-lib_ignore = Adafruit NeoPixel, SPI
|
449
|
|
-debug_tool = stlink
|
450
|
|
-upload_protocol = stlink
|
451
|
|
-monitor_speed = 115200
|
452
|
402
|
|
453
|
403
|
#
|
454
|
404
|
# STM32F4 with STM32GENERIC
|
|
@@ -488,156 +438,129 @@ src_filter = ${common.default_src_filter} +<src/HAL/STM32>
|
488
|
438
|
# Geeetech GTM32 (STM32F103VET6)
|
489
|
439
|
#
|
490
|
440
|
[env:STM32F103VE_GTM32]
|
491
|
|
-platform = ststm32
|
492
|
|
-board = genericSTM32F103VE
|
493
|
|
-build_flags = !python Marlin/src/HAL/STM32F1/build_flags.py
|
494
|
|
- ${common.build_flags} -std=gnu++14 -ffunction-sections -fdata-sections -nostdlib -MMD
|
|
441
|
+platform = ${common_stm32f1.platform}
|
|
442
|
+extends = common_stm32f1
|
|
443
|
+board = genericSTM32F103VE
|
|
444
|
+build_flags = ${common_stm32f1.build_flags}
|
|
445
|
+ -ffunction-sections -fdata-sections -nostdlib -MMD
|
495
|
446
|
-DMCU_STM32F103VE -DARDUINO_GENERIC_STM32F103V -DARDUINO_ARCH_STM32F1 -DBOARD_generic_stm32f103v
|
496
|
|
- -DDEBUG_LEVEL=DEBUG_NONE -DCONFIG_MAPLE_MINI_NO_DISABLE_DEBUG=1 -DVECT_TAB_ADDR=0x8000000 -DERROR_LED_PORT=GPIOE -DERROR_LED_PIN=6
|
497
|
|
-build_unflags = -std=gnu++11
|
498
|
|
-src_filter = ${common.default_src_filter} +<src/HAL/STM32F1>
|
499
|
|
-lib_ignore = Adafruit NeoPixel, SPI
|
|
447
|
+ -DDEBUG_LEVEL=DEBUG_NONE -DCONFIG_MAPLE_MINI_NO_DISABLE_DEBUG=1 -DVECT_TAB_ADDR=0x8000000
|
|
448
|
+ -DERROR_LED_PORT=GPIOE -DERROR_LED_PIN=6
|
500
|
449
|
upload_protocol = serial
|
501
|
450
|
|
502
|
451
|
#
|
503
|
452
|
# Longer 3D board in Alfawise U20 (STM32F103VET6)
|
504
|
453
|
#
|
505
|
454
|
[env:STM32F103VE_longer]
|
506
|
|
-platform = ststm32
|
|
455
|
+platform = ${common_stm32f1.platform}
|
|
456
|
+extends = common_stm32f1
|
507
|
457
|
board = genericSTM32F103VE
|
508
|
|
-build_flags = !python Marlin/src/HAL/STM32F1/build_flags.py
|
509
|
|
- ${common.build_flags} -std=gnu++14 -DMCU_STM32F103VE -DSTM32F1xx -USERIAL_USB -DU20 -DTS_V12
|
510
|
|
-build_unflags = -std=gnu++11 -DCONFIG_MAPLE_MINI_NO_DISABLE_DEBUG=1 -DERROR_LED_PORT=GPIOE -DERROR_LED_PIN=6
|
511
|
458
|
extra_scripts = buildroot/share/PlatformIO/scripts/STM32F103VE_longer.py
|
512
|
|
-src_filter = ${common.default_src_filter} +<src/HAL/STM32F1>
|
513
|
|
-lib_ignore = Adafruit NeoPixel, LiquidTWI2, SPI
|
|
459
|
+build_flags = ${common_stm32f1.build_flags}
|
|
460
|
+ -DMCU_STM32F103VE -DSTM32F1xx -USERIAL_USB -DU20 -DTS_V12
|
|
461
|
+build_unflags = ${common_stm32f1.build_unflags}
|
|
462
|
+ -DCONFIG_MAPLE_MINI_NO_DISABLE_DEBUG=1 -DERROR_LED_PORT=GPIOE -DERROR_LED_PIN=6
|
|
463
|
+lib_ignore = ${common_stm32f1.lib_ignore}
|
|
464
|
+ LiquidTWI2
|
514
|
465
|
|
515
|
466
|
#
|
516
|
467
|
# MKS Robin Mini (STM32F103VET6)
|
517
|
468
|
#
|
518
|
469
|
[env:mks_robin_mini]
|
519
|
|
-platform = ststm32
|
|
470
|
+platform = ${common_stm32f1.platform}
|
|
471
|
+extends = common_stm32f1
|
520
|
472
|
board = genericSTM32F103VE
|
521
|
|
-build_flags = !python Marlin/src/HAL/STM32F1/build_flags.py
|
522
|
|
- ${common.build_flags} -std=gnu++14 -DMCU_STM32F103VE
|
523
|
|
-build_unflags = -std=gnu++11
|
524
|
473
|
extra_scripts = buildroot/share/PlatformIO/scripts/mks_robin_mini.py
|
525
|
|
-src_filter = ${common.default_src_filter} +<src/HAL/STM32F1>
|
526
|
|
-lib_ignore = Adafruit NeoPixel, SPI
|
|
474
|
+build_flags = ${common_stm32f1.build_flags}
|
|
475
|
+ -DMCU_STM32F103VE
|
527
|
476
|
|
528
|
477
|
#
|
529
|
478
|
# MKS Robin Nano (STM32F103VET6)
|
530
|
479
|
#
|
531
|
480
|
[env:mks_robin_nano]
|
532
|
|
-platform = ststm32
|
|
481
|
+platform = ${common_stm32f1.platform}
|
|
482
|
+extends = common_stm32f1
|
533
|
483
|
board = genericSTM32F103VE
|
534
|
484
|
platform_packages = tool-stm32duino
|
535
|
|
-build_flags = !python Marlin/src/HAL/STM32F1/build_flags.py
|
536
|
|
- ${common.build_flags} -std=gnu++14 -DMCU_STM32F103VE -DHAVE_SW_SERIAL -DSS_TIMER=4
|
537
|
|
-build_unflags = -std=gnu++11
|
538
|
485
|
extra_scripts = buildroot/share/PlatformIO/scripts/mks_robin_nano.py
|
539
|
|
-src_filter = ${common.default_src_filter} +<src/HAL/STM32F1>
|
540
|
|
-lib_deps = ${common.lib_deps}
|
541
|
|
- SoftwareSerialM=https://github.com/FYSETC/SoftwareSerialM/archive/master.zip
|
542
|
|
-lib_ignore = Adafruit NeoPixel, SPI
|
|
486
|
+build_flags = ${common_stm32f1.build_flags}
|
|
487
|
+ -DMCU_STM32F103VE -DSS_TIMER=4
|
|
488
|
+
|
543
|
489
|
|
544
|
490
|
#
|
545
|
491
|
# MKS Robin (STM32F103ZET6)
|
546
|
492
|
#
|
547
|
493
|
[env:mks_robin]
|
548
|
|
-platform = ststm32
|
|
494
|
+platform = ${common_stm32f1.platform}
|
|
495
|
+extends = common_stm32f1
|
549
|
496
|
board = genericSTM32F103ZE
|
550
|
|
-build_flags = !python Marlin/src/HAL/STM32F1/build_flags.py
|
551
|
|
- ${common.build_flags} -std=gnu++14 -DHAVE_SW_SERIAL -DSS_TIMER=4 -DSTM32_XL_DENSITY
|
552
|
|
-build_unflags = -std=gnu++11
|
553
|
497
|
extra_scripts = buildroot/share/PlatformIO/scripts/mks_robin.py
|
554
|
|
-src_filter = ${common.default_src_filter} +<src/HAL/STM32F1>
|
555
|
|
-lib_deps = ${common.lib_deps}
|
556
|
|
- SoftwareSerialM=https://github.com/FYSETC/SoftwareSerialM/archive/master.zip
|
557
|
|
-lib_ignore = Adafruit NeoPixel, SPI
|
|
498
|
+build_flags = ${common_stm32f1.build_flags}
|
|
499
|
+ -DSS_TIMER=4 -DSTM32_XL_DENSITY
|
558
|
500
|
|
559
|
501
|
#
|
560
|
502
|
# MKS Robin Pro (STM32F103ZET6)
|
561
|
503
|
#
|
562
|
504
|
[env:mks_robin_pro]
|
563
|
|
-platform = ststm32
|
564
|
|
-board = genericSTM32F103ZE
|
|
505
|
+platform = ${common_stm32f1.platform}
|
|
506
|
+extends = env:mks_robin
|
565
|
507
|
extra_scripts = buildroot/share/PlatformIO/scripts/mks_robin_pro.py
|
566
|
|
-build_flags = !python Marlin/src/HAL/STM32F1/build_flags.py
|
567
|
|
- ${common.build_flags} -std=gnu++14 -DHAVE_SW_SERIAL -DSS_TIMER=4 -DSTM32_XL_DENSITY
|
568
|
|
-build_unflags = -std=gnu++11
|
569
|
|
-src_filter = ${common.default_src_filter} +<src/HAL/STM32F1>
|
570
|
|
-lib_deps = ${common.lib_deps}
|
571
|
|
- SoftwareSerialM=https://github.com/FYSETC/SoftwareSerialM/archive/master.zip
|
572
|
|
-lib_ignore = Adafruit NeoPixel, SPI
|
573
|
508
|
|
574
|
509
|
#
|
575
|
510
|
# MKS Robin E3D (STM32F103RCT6) and
|
576
|
511
|
# MKS Robin E3 with TMC2209
|
577
|
512
|
#
|
578
|
513
|
[env:mks_robin_e3]
|
579
|
|
-platform = ststm32
|
580
|
|
-board = genericSTM32F103RC
|
|
514
|
+platform = ${common_stm32f1.platform}
|
|
515
|
+extends = common_stm32f1
|
|
516
|
+board = genericSTM32F103RC
|
581
|
517
|
platform_packages = tool-stm32duino
|
582
|
|
-build_flags = !python Marlin/src/HAL/STM32F1/build_flags.py
|
583
|
|
- ${common.build_flags} -DDEBUG_LEVEL=0 -std=gnu++14 -DHAVE_SW_SERIAL -DSS_TIMER=4
|
584
|
|
-build_unflags = -std=gnu++11
|
585
|
|
-extra_scripts = buildroot/share/PlatformIO/scripts/mks_robin_e3.py
|
586
|
|
-src_filter = ${common.default_src_filter} +<src/HAL/STM32F1>
|
587
|
|
-lib_deps = ${common.lib_deps}
|
588
|
|
- SoftwareSerialM=https://github.com/FYSETC/SoftwareSerialM/archive/master.zip
|
589
|
|
-lib_ignore = Adafruit NeoPixel, SPI
|
|
518
|
+extra_scripts = buildroot/share/PlatformIO/scripts/mks_robin_e3.py
|
|
519
|
+build_flags = ${common_stm32f1.build_flags}
|
|
520
|
+ -DDEBUG_LEVEL=0 -DSS_TIMER=4
|
590
|
521
|
|
591
|
522
|
#
|
592
|
523
|
# MKS Robin Lite/Lite2 (STM32F103RCT6)
|
593
|
524
|
#
|
594
|
525
|
[env:mks_robin_lite]
|
595
|
|
-platform = ststm32
|
|
526
|
+platform = ${common_stm32f1.platform}
|
|
527
|
+extends = common_stm32f1
|
596
|
528
|
board = genericSTM32F103RC
|
597
|
|
-build_flags = !python Marlin/src/HAL/STM32F1/build_flags.py
|
598
|
|
- ${common.build_flags} -std=gnu++14
|
599
|
|
-build_unflags = -std=gnu++11
|
600
|
529
|
extra_scripts = buildroot/share/PlatformIO/scripts/mks_robin_lite.py
|
601
|
|
-src_filter = ${common.default_src_filter} +<src/HAL/STM32F1>
|
602
|
|
-lib_ignore = Adafruit NeoPixel, SPI
|
|
530
|
+
|
603
|
531
|
|
604
|
532
|
#
|
605
|
533
|
# MKS ROBIN LITE3 (STM32F103RCT6)
|
606
|
534
|
#
|
607
|
535
|
[env:mks_robin_lite3]
|
608
|
|
-platform = ststm32
|
|
536
|
+platform = ${common_stm32f1.platform}
|
|
537
|
+extends = common_stm32f1
|
609
|
538
|
board = genericSTM32F103RC
|
610
|
539
|
extra_scripts = buildroot/share/PlatformIO/scripts/mks_robin_lite3.py
|
611
|
|
-build_flags = !python Marlin/src/HAL/STM32F1/build_flags.py
|
612
|
|
- ${common.build_flags} -std=gnu++14
|
613
|
|
-build_unflags = -std=gnu++11
|
614
|
|
-src_filter = ${common.default_src_filter} +<src/HAL/STM32F1>
|
615
|
|
-lib_deps = ${common.lib_deps}
|
616
|
|
-lib_ignore = Adafruit NeoPixel, SPI
|
617
|
540
|
|
618
|
541
|
#
|
619
|
542
|
# JGAurora A5S A1 (STM32F103ZET6)
|
620
|
543
|
#
|
621
|
544
|
[env:jgaurora_a5s_a1]
|
622
|
|
-platform = ststm32
|
|
545
|
+platform = ${common_stm32f1.platform}
|
|
546
|
+extends = common_stm32f1
|
623
|
547
|
board = genericSTM32F103ZE
|
624
|
|
-build_flags = !python Marlin/src/HAL/STM32F1/build_flags.py
|
625
|
|
- ${common.build_flags} -DSTM32F1xx -std=gnu++14 -DSTM32_XL_DENSITY
|
626
|
|
-build_unflags = -std=gnu++11
|
627
|
548
|
extra_scripts = buildroot/share/PlatformIO/scripts/jgaurora_a5s_a1_with_bootloader.py
|
628
|
|
-src_filter = ${common.default_src_filter} +<src/HAL/STM32F1>
|
629
|
|
-lib_ignore = Adafruit NeoPixel, SPI
|
|
549
|
+build_flags = ${common_stm32f1.build_flags}
|
|
550
|
+ -DSTM32F1xx -DSTM32_XL_DENSITY
|
630
|
551
|
|
631
|
552
|
#
|
632
|
553
|
# Malyan M200 (STM32F103CB)
|
633
|
554
|
#
|
634
|
555
|
[env:STM32F103CB_malyan]
|
635
|
|
-platform = ststm32
|
636
|
|
-board = malyanM200
|
637
|
|
-build_flags = !python Marlin/src/HAL/STM32F1/build_flags.py -DMCU_STM32F103CB -D __STM32F1__=1 -std=c++1y -DSERIAL_USB -ffunction-sections -fdata-sections -Wl,--gc-sections
|
638
|
|
- -DDEBUG_LEVEL=0 -D__MARLIN_FIRMWARE__
|
639
|
|
-src_filter = ${common.default_src_filter} +<src/HAL/STM32F1>
|
640
|
|
-lib_ignore = LiquidCrystal, LiquidTWI2, Adafruit NeoPixel, TMCStepper, U8glib-HAL, SPI
|
|
556
|
+platform = ${common_stm32f1.platform}
|
|
557
|
+extends = common_stm32f1
|
|
558
|
+board = malyanM200
|
|
559
|
+build_flags = ${common_stm32f1.build_flags}
|
|
560
|
+ -DMCU_STM32F103CB -D__STM32F1__=1 -std=c++1y -DSERIAL_USB -ffunction-sections -fdata-sections
|
|
561
|
+ -Wl,--gc-sections -DDEBUG_LEVEL=0 -D__MARLIN_FIRMWARE__
|
|
562
|
+lib_ignore = ${common_stm32f1.lib_ignore}
|
|
563
|
+ LiquidCrystal, LiquidTWI2, TMCStepper, U8glib-HAL, SoftwareSerialM
|
641
|
564
|
|
642
|
565
|
#
|
643
|
566
|
# Malyan M200 v2 (STM32F070RB)
|
|
@@ -669,14 +592,14 @@ lib_ignore = LiquidCrystal, LiquidTWI2, Adafruit NeoPixel, TMCStepper, U8glib-H
|
669
|
592
|
# Chitu boards like Tronxy X5s (STM32F103ZET6)
|
670
|
593
|
#
|
671
|
594
|
[env:chitu_f103]
|
672
|
|
-platform = ststm32
|
|
595
|
+platform = ${common_stm32f1.platform}
|
|
596
|
+extends = common_stm32f1
|
673
|
597
|
board = genericSTM32F103ZE
|
674
|
|
-build_flags = !python Marlin/src/HAL/STM32F1/build_flags.py
|
675
|
|
- ${common.build_flags} -DSTM32F1xx -std=gnu++14 -DSTM32_XL_DENSITY
|
676
|
|
-build_unflags = -std=gnu++11 -DCONFIG_MAPLE_MINI_NO_DISABLE_DEBUG= -DERROR_LED_PORT=GPIOE -DERROR_LED_PIN=6
|
677
|
598
|
extra_scripts = buildroot/share/PlatformIO/scripts/chitu_crypt.py
|
678
|
|
-src_filter = ${common.default_src_filter} +<src/HAL/STM32F1>
|
679
|
|
-lib_ignore = Adafruit NeoPixel
|
|
599
|
+build_flags = ${common_stm32f1.build_flags}
|
|
600
|
+ -DSTM32F1xx -DSTM32_XL_DENSITY
|
|
601
|
+build_unflags = ${common_stm32f1.build_unflags}
|
|
602
|
+ -DCONFIG_MAPLE_MINI_NO_DISABLE_DEBUG= -DERROR_LED_PORT=GPIOE -DERROR_LED_PIN=6
|
680
|
603
|
|
681
|
604
|
#
|
682
|
605
|
# STM32F401VE
|