Browse Source

Use ststm32 5.6.0 for now

Scott Lahteine 5 years ago
parent
commit
e0f68cda1e
1 changed files with 35 additions and 35 deletions
  1. 35
    35
      platformio.ini

+ 35
- 35
platformio.ini View File

254
 # STM32F103RE
254
 # STM32F103RE
255
 #
255
 #
256
 [env:STM32F103RE]
256
 [env:STM32F103RE]
257
-platform      = ststm32
257
+platform      = ststm32@5.6.0
258
 framework     = arduino
258
 framework     = arduino
259
 board         = genericSTM32F103RE
259
 board         = genericSTM32F103RE
260
 build_flags   = !python Marlin/src/HAL/HAL_STM32F1/build_flags.py
260
 build_flags   = !python Marlin/src/HAL/HAL_STM32F1/build_flags.py
272
 # STM32F103RC_fysetc
272
 # STM32F103RC_fysetc
273
 #
273
 #
274
 [env:STM32F103RC_fysetc]
274
 [env:STM32F103RC_fysetc]
275
-platform          = ststm32
275
+platform          = ststm32@5.6.0
276
 framework         = arduino
276
 framework         = arduino
277
 board             = genericSTM32F103RC
277
 board             = genericSTM32F103RC
278
 #board_build.core = maple
278
 #board_build.core = maple
295
 # BigTree SKR Mini V1.1 / SKR mini E3 / SKR E3 DIP (STM32F103RCT6 ARM Cortex-M3)
295
 # BigTree SKR Mini V1.1 / SKR mini E3 / SKR E3 DIP (STM32F103RCT6 ARM Cortex-M3)
296
 #
296
 #
297
 [env:STM32F103RC_bigtree]
297
 [env:STM32F103RC_bigtree]
298
-platform          = ststm32
298
+platform          = ststm32@5.6.0
299
 framework         = arduino
299
 framework         = arduino
300
 board             = genericSTM32F103RC
300
 board             = genericSTM32F103RC
301
 platform_packages = tool-stm32duino
301
 platform_packages = tool-stm32duino
309
 monitor_speed     = 115200
309
 monitor_speed     = 115200
310
 
310
 
311
 [env:STM32F103RC_bigtree_USB]
311
 [env:STM32F103RC_bigtree_USB]
312
-platform          = ststm32
312
+platform          = ststm32@5.6.0
313
 framework         = arduino
313
 framework         = arduino
314
 board             = genericSTM32F103RC
314
 board             = genericSTM32F103RC
315
 platform_packages = tool-stm32duino
315
 platform_packages = tool-stm32duino
326
 # STM32F4 with STM32GENERIC
326
 # STM32F4 with STM32GENERIC
327
 #
327
 #
328
 [env:STM32F4]
328
 [env:STM32F4]
329
-platform      = ststm32
329
+platform      = ststm32@5.6.0
330
 framework     = arduino
330
 framework     = arduino
331
 board         = disco_f407vg
331
 board         = disco_f407vg
332
 build_flags   = ${common.build_flags} -DUSE_STM32GENERIC -DSTM32GENERIC -DSTM32F4 -DMENU_USB_SERIAL -DMENU_SERIAL=SerialUSB
332
 build_flags   = ${common.build_flags} -DUSE_STM32GENERIC -DSTM32GENERIC -DSTM32F4 -DMENU_USB_SERIAL -DMENU_SERIAL=SerialUSB
339
 # STM32F7 with STM32GENERIC
339
 # STM32F7 with STM32GENERIC
340
 #
340
 #
341
 [env:STM32F7]
341
 [env:STM32F7]
342
-platform      = ststm32
342
+platform      = ststm32@5.6.0
343
 framework     = arduino
343
 framework     = arduino
344
 board         = remram_v1
344
 board         = remram_v1
345
 build_flags   = ${common.build_flags} -DUSE_STM32GENERIC -DSTM32GENERIC -DSTM32F7 -DMENU_USB_SERIAL -DMENU_SERIAL=SerialUSB
345
 build_flags   = ${common.build_flags} -DUSE_STM32GENERIC -DSTM32GENERIC -DSTM32F7 -DMENU_USB_SERIAL -DMENU_SERIAL=SerialUSB
352
 # ARMED (STM32)
352
 # ARMED (STM32)
353
 #
353
 #
354
 [env:ARMED]
354
 [env:ARMED]
355
-platform    = ststm32
355
+platform    = ststm32@5.6.0
356
 framework   = arduino
356
 framework   = arduino
357
 board       = armed_v1
357
 board       = armed_v1
358
 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
358
 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
365
 # Longer 3D board in Alfawise U20 (STM32F103VET6)
365
 # Longer 3D board in Alfawise U20 (STM32F103VET6)
366
 #
366
 #
367
 [env:STM32F103VE_longer]
367
 [env:STM32F103VE_longer]
368
-platform      = ststm32
368
+platform      = ststm32@5.6.0
369
 framework     = arduino
369
 framework     = arduino
370
 board         = genericSTM32F103VE
370
 board         = genericSTM32F103VE
371
 monitor_speed = 250000
371
 monitor_speed = 250000
382
 # MKS Robin (STM32F103ZET6)
382
 # MKS Robin (STM32F103ZET6)
383
 #
383
 #
384
 [env:mks_robin]
384
 [env:mks_robin]
385
-platform      = ststm32
385
+platform      = ststm32@5.6.0
386
 framework     = arduino
386
 framework     = arduino
387
 board         = genericSTM32F103ZE
387
 board         = genericSTM32F103ZE
388
 extra_scripts = buildroot/share/PlatformIO/scripts/mks_robin.py
388
 extra_scripts = buildroot/share/PlatformIO/scripts/mks_robin.py
397
 # MKS ROBIN LITE/LITE2 (STM32F103RCT6)
397
 # MKS ROBIN LITE/LITE2 (STM32F103RCT6)
398
 #
398
 #
399
 [env:mks_robin_lite]
399
 [env:mks_robin_lite]
400
-platform      = ststm32
400
+platform      = ststm32@5.6.0
401
 framework     = arduino
401
 framework     = arduino
402
 board         = genericSTM32F103RC
402
 board         = genericSTM32F103RC
403
 extra_scripts = buildroot/share/PlatformIO/scripts/mks_robin_lite.py
403
 extra_scripts = buildroot/share/PlatformIO/scripts/mks_robin_lite.py
412
 # MKS Robin Mini (STM32F103VET6)
412
 # MKS Robin Mini (STM32F103VET6)
413
 #
413
 #
414
 [env:mks_robin_mini]
414
 [env:mks_robin_mini]
415
-platform      = ststm32
415
+platform      = ststm32@5.6.0
416
 framework     = arduino
416
 framework     = arduino
417
 board         = genericSTM32F103VE
417
 board         = genericSTM32F103VE
418
 extra_scripts = buildroot/share/PlatformIO/scripts/mks_robin_mini.py
418
 extra_scripts = buildroot/share/PlatformIO/scripts/mks_robin_mini.py
427
 # MKS Robin Nano (STM32F103VET6)
427
 # MKS Robin Nano (STM32F103VET6)
428
 #
428
 #
429
 [env:mks_robin_nano]
429
 [env:mks_robin_nano]
430
-platform      = ststm32
430
+platform      = ststm32@5.6.0
431
 framework     = arduino
431
 framework     = arduino
432
 board         = genericSTM32F103VE
432
 board         = genericSTM32F103VE
433
 extra_scripts = buildroot/share/PlatformIO/scripts/mks_robin_nano.py
433
 extra_scripts = buildroot/share/PlatformIO/scripts/mks_robin_nano.py
442
 # JGAurora A5S A1 (STM32F103ZET6)
442
 # JGAurora A5S A1 (STM32F103ZET6)
443
 #
443
 #
444
 [env:jgaurora_a5s_a1]
444
 [env:jgaurora_a5s_a1]
445
-platform      = ststm32
445
+platform      = ststm32@5.6.0
446
 framework     = arduino
446
 framework     = arduino
447
 board         = genericSTM32F103ZE
447
 board         = genericSTM32F103ZE
448
 extra_scripts = buildroot/share/PlatformIO/scripts/jgaurora_a5s_a1_with_bootloader.py
448
 extra_scripts = buildroot/share/PlatformIO/scripts/jgaurora_a5s_a1_with_bootloader.py
460
 # Shield - https://github.com/jmz52/Hardware
460
 # Shield - https://github.com/jmz52/Hardware
461
 #
461
 #
462
 [env:STM32F407VE_black]
462
 [env:STM32F407VE_black]
463
-platform = ststm32@5.4.3
464
-framework = arduino
465
-board = blackSTM32F407VET6
463
+platform      = ststm32@5.6.0
464
+framework     = arduino
465
+board         = blackSTM32F407VET6
466
 extra_scripts = pre:buildroot/share/PlatformIO/scripts/black_stm32f407vet6.py
466
 extra_scripts = pre:buildroot/share/PlatformIO/scripts/black_stm32f407vet6.py
467
-build_flags = ${common.build_flags}
467
+build_flags   = ${common.build_flags}
468
   -DSTM32F4 -DUSBCON -DUSBD_USE_CDC -DUSBD_VID=0x0483 -DUSB_PRODUCT=\"BLACK_F407VE\"
468
   -DSTM32F4 -DUSBCON -DUSBD_USE_CDC -DUSBD_VID=0x0483 -DUSB_PRODUCT=\"BLACK_F407VE\"
469
-lib_deps = ${common.lib_deps}
470
-lib_ignore = Adafruit NeoPixel, TMCStepper, SailfishLCD, SailfishRGB_LED, SlowSoftI2CMaster
471
-src_filter = ${common.default_src_filter} +<src/HAL/HAL_STM32>
469
+lib_deps      = ${common.lib_deps}
470
+lib_ignore    = Adafruit NeoPixel, TMCStepper, SailfishLCD, SailfishRGB_LED, SlowSoftI2CMaster
471
+src_filter    = ${common.default_src_filter} +<src/HAL/HAL_STM32>
472
 monitor_speed = 250000
472
 monitor_speed = 250000
473
 
473
 
474
 #
474
 #
475
 # Bigtreetech SKR Pro (STM32F407ZGT6 ARM Cortex-M4)
475
 # Bigtreetech SKR Pro (STM32F407ZGT6 ARM Cortex-M4)
476
 #
476
 #
477
 [env:BIGTREE_SKR_PRO]
477
 [env:BIGTREE_SKR_PRO]
478
-platform = ststm32
479
-framework = arduino
480
-board = BigTree_SKR_Pro
478
+platform      = ststm32@5.6.0
479
+framework     = arduino
480
+board         = BigTree_SKR_Pro
481
 extra_scripts = pre:buildroot/share/PlatformIO/scripts/generic_create_variant.py
481
 extra_scripts = pre:buildroot/share/PlatformIO/scripts/generic_create_variant.py
482
-build_flags = ${common.build_flags}
482
+build_flags   = ${common.build_flags}
483
   -DUSBCON -DUSBD_USE_CDC -DUSBD_VID=0x0483 -DUSB_PRODUCT=\"STM32F407ZG\"
483
   -DUSBCON -DUSBD_USE_CDC -DUSBD_VID=0x0483 -DUSB_PRODUCT=\"STM32F407ZG\"
484
   -DTARGET_STM32F4 -DSTM32F407_5ZX -DVECT_TAB_OFFSET=0x8000 -DHAVE_HWSERIAL6
484
   -DTARGET_STM32F4 -DSTM32F407_5ZX -DVECT_TAB_OFFSET=0x8000 -DHAVE_HWSERIAL6
485
-lib_deps =
485
+lib_deps      =
486
   U8glib-HAL=https://github.com/MarlinFirmware/U8glib-HAL/archive/bugfix.zip
486
   U8glib-HAL=https://github.com/MarlinFirmware/U8glib-HAL/archive/bugfix.zip
487
   LiquidCrystal@1.3.4
487
   LiquidCrystal@1.3.4
488
   TMCStepper@>=0.5.0,<1.0.0
488
   TMCStepper@>=0.5.0,<1.0.0
489
   Adafruit NeoPixel
489
   Adafruit NeoPixel
490
   LiquidTWI2=https://github.com/lincomatic/LiquidTWI2/archive/master.zip
490
   LiquidTWI2=https://github.com/lincomatic/LiquidTWI2/archive/master.zip
491
   Arduino-L6470=https://github.com/ameyer/Arduino-L6470/archive/dev.zip
491
   Arduino-L6470=https://github.com/ameyer/Arduino-L6470/archive/dev.zip
492
-src_filter = ${common.default_src_filter} +<src/HAL/HAL_STM32>
492
+src_filter    = ${common.default_src_filter} +<src/HAL/HAL_STM32>
493
 monitor_speed = 250000
493
 monitor_speed = 250000
494
 
494
 
495
 #
495
 #
496
 # BIGTREE_SKR_BTT002 (STM32F407VET6 ARM Cortex-M4)
496
 # BIGTREE_SKR_BTT002 (STM32F407VET6 ARM Cortex-M4)
497
 #
497
 #
498
 [env:BIGTREE_BTT002]
498
 [env:BIGTREE_BTT002]
499
-platform = ststm32
500
-framework = arduino
501
-board = BigTree_Btt002
499
+platform      = ststm32@5.6.0
500
+framework     = arduino
501
+board         = BigTree_Btt002
502
 extra_scripts = pre:buildroot/share/PlatformIO/scripts/generic_create_variant.py
502
 extra_scripts = pre:buildroot/share/PlatformIO/scripts/generic_create_variant.py
503
-build_flags = ${common.build_flags}
503
+build_flags   = ${common.build_flags}
504
   -DUSBCON -DUSBD_USE_CDC -DUSBD_VID=0x0483 -DUSB_PRODUCT=\"STM32F407VE\"
504
   -DUSBCON -DUSBD_USE_CDC -DUSBD_VID=0x0483 -DUSB_PRODUCT=\"STM32F407VE\"
505
   -DTARGET_STM32F4 -DSTM32F407_5VX -DVECT_TAB_OFFSET=0x8000
505
   -DTARGET_STM32F4 -DSTM32F407_5VX -DVECT_TAB_OFFSET=0x8000
506
   -DHAVE_HWSERIAL2
506
   -DHAVE_HWSERIAL2
507
   -DHAVE_HWSERIAL3
507
   -DHAVE_HWSERIAL3
508
   -DPIN_SERIAL2_RX=PD_6
508
   -DPIN_SERIAL2_RX=PD_6
509
   -DPIN_SERIAL2_TX=PD_5
509
   -DPIN_SERIAL2_TX=PD_5
510
-lib_deps = ${common.lib_deps}
511
-lib_ignore = Adafruit NeoPixel, SailfishLCD, SailfishRGB_LED, SlowSoftI2CMaster
512
-src_filter = ${common.default_src_filter} +<src/HAL/HAL_STM32>
510
+lib_deps      = ${common.lib_deps}
511
+lib_ignore    = Adafruit NeoPixel, SailfishLCD, SailfishRGB_LED, SlowSoftI2CMaster
512
+src_filter    = ${common.default_src_filter} +<src/HAL/HAL_STM32>
513
 monitor_speed = 250000
513
 monitor_speed = 250000
514
 
514
 
515
 #
515
 #
530
 # Malyan M200 (STM32F103CB)
530
 # Malyan M200 (STM32F103CB)
531
 #
531
 #
532
 [env:STM32F103CB_malyan]
532
 [env:STM32F103CB_malyan]
533
-platform    = ststm32
533
+platform    = ststm32@5.6.0
534
 framework   = arduino
534
 framework   = arduino
535
 board       = malyanM200
535
 board       = malyanM200
536
 build_flags = !python Marlin/src/HAL/HAL_STM32F1/build_flags.py -DMCU_STM32F103CB -D __STM32F1__=1 -std=c++1y -D MOTHERBOARD="BOARD_MALYAN_M200" -DSERIAL_USB -ffunction-sections -fdata-sections -Wl,--gc-sections
536
 build_flags = !python Marlin/src/HAL/HAL_STM32F1/build_flags.py -DMCU_STM32F103CB -D __STM32F1__=1 -std=c++1y -D MOTHERBOARD="BOARD_MALYAN_M200" -DSERIAL_USB -ffunction-sections -fdata-sections -Wl,--gc-sections
542
 # Chitu boards like Tronxy X5s (STM32F103ZET6)
542
 # Chitu boards like Tronxy X5s (STM32F103ZET6)
543
 #
543
 #
544
 [env:chitu_f103]
544
 [env:chitu_f103]
545
-platform      = ststm32
545
+platform      = ststm32@5.6.0
546
 framework     = arduino
546
 framework     = arduino
547
 board         = genericSTM32F103ZE
547
 board         = genericSTM32F103ZE
548
 extra_scripts = buildroot/share/PlatformIO/scripts/chitu_crypt.py
548
 extra_scripts = buildroot/share/PlatformIO/scripts/chitu_crypt.py

Loading…
Cancel
Save