Ver código fonte

Tweaks to platformio.ini

Scott Lahteine 4 anos atrás
pai
commit
0080305fa6
1 arquivos alterados com 12 adições e 14 exclusões
  1. 12
    14
      platformio.ini

+ 12
- 14
platformio.ini Ver arquivo

@@ -629,8 +629,8 @@ lib_ignore  = LiquidCrystal, LiquidTWI2, Adafruit NeoPixel, TMCStepper, U8glib-H
629 629
 platform    = ststm32@>=6.1.0
630 630
 board       = malyanm300_f070cb
631 631
 build_flags = ${common.build_flags}
632
-    -DUSBCON -DUSBD_VID=0x0483 "-DUSB_MANUFACTURER=\"Unknown\"" "-DUSB_PRODUCT=\"MALYAN_M300\""
633
-    -DHAL_PCD_MODULE_ENABLED -DUSBD_USE_CDC -DDISABLE_GENERIC_SERIALUSB -DHAL_UART_MODULE_ENABLED
632
+  -DUSBCON -DUSBD_VID=0x0483 "-DUSB_MANUFACTURER=\"Unknown\"" "-DUSB_PRODUCT=\"MALYAN_M300\""
633
+  -DHAL_PCD_MODULE_ENABLED -DUSBD_USE_CDC -DDISABLE_GENERIC_SERIALUSB -DHAL_UART_MODULE_ENABLED
634 634
 src_filter  = ${common.default_src_filter} +<src/HAL/STM32>
635 635
 lib_ignore  = LiquidCrystal, LiquidTWI2, Adafruit NeoPixel, TMCStepper, U8glib-HAL
636 636
 
@@ -656,10 +656,10 @@ platform          = ststm32
656 656
 board             = STEVAL_STM32F401VE
657 657
 platform_packages = framework-arduinoststm32@>=3.10700,<4
658 658
 build_flags       = ${common.build_flags}
659
- -DTARGET_STM32F4 -DARDUINO_STEVAL -DSTM32F401xE
660
- -DUSBCON -DUSBD_USE_CDC -DUSBD_VID=0x0483 -DUSB_PRODUCT=\"STEVAL_F401VE\"
661
- -DDISABLE_GENERIC_SERIALUSB -DUSBD_USE_CDC_COMPOSITE -DUSE_USB_FS
662
- -IMarlin/src/HAL/STM32
659
+  -DTARGET_STM32F4 -DARDUINO_STEVAL -DSTM32F401xE
660
+  -DUSBCON -DUSBD_USE_CDC -DUSBD_VID=0x0483 -DUSB_PRODUCT=\"STEVAL_F401VE\"
661
+  -DDISABLE_GENERIC_SERIALUSB -DUSBD_USE_CDC_COMPOSITE -DUSE_USB_FS
662
+  -IMarlin/src/HAL/STM32
663 663
 build_unflags     = -std=gnu++11
664 664
 extra_scripts     = pre:buildroot/share/PlatformIO/scripts/generic_create_variant.py
665 665
   buildroot/share/PlatformIO/scripts/STEVAL__F401XX.py
@@ -715,10 +715,10 @@ platform          = ststm32
715 715
 board             = blackSTM32F407VET6
716 716
 platform_packages = framework-arduinoststm32@>=3.10700,<4
717 717
 build_flags       = ${common.build_flags}
718
- -DTARGET_STM32F4 -DARDUINO_BLACK_F407VE
719
- -DUSBCON -DUSBD_USE_CDC -DUSBD_VID=0x0483 -DUSB_PRODUCT=\"BLACK_F407VE\"
720
- -DUSBD_USE_CDC_COMPOSITE -DUSE_USB_FS
721
- -IMarlin/src/HAL/STM32
718
+  -DTARGET_STM32F4 -DARDUINO_BLACK_F407VE
719
+  -DUSBCON -DUSBD_USE_CDC -DUSBD_VID=0x0483 -DUSB_PRODUCT=\"BLACK_F407VE\"
720
+  -DUSBD_USE_CDC_COMPOSITE -DUSE_USB_FS
721
+  -IMarlin/src/HAL/STM32
722 722
 build_unflags     = -std=gnu++11
723 723
 extra_scripts     = pre:buildroot/share/PlatformIO/scripts/generic_create_variant.py
724 724
 lib_ignore        = Adafruit NeoPixel, TMCStepper, SailfishLCD, SlowSoftI2CMaster, SoftwareSerial
@@ -749,7 +749,6 @@ debug_init_break  =
749 749
 #
750 750
 [env:BIGTREE_GTR_V1_0]
751 751
 platform          = ststm32@>=5.7.0
752
-framework         = arduino
753 752
 platform_packages = framework-arduinoststm32@>=3.10700,<4
754 753
 board             = BigTree_SKR_Pro
755 754
 extra_scripts     = pre:buildroot/share/PlatformIO/scripts/generic_create_variant.py
@@ -766,7 +765,6 @@ lib_deps          =
766 765
   Arduino-L6470=https://github.com/ameyer/Arduino-L6470/archive/dev.zip
767 766
 lib_ignore        = SoftwareSerial, SoftwareSerialM
768 767
 src_filter        = ${common.default_src_filter} +<src/HAL/STM32>
769
-monitor_speed     = 250000
770 768
 
771 769
 #
772 770
 # BigTreeTech BTT002 V1.0 (STM32F407VGT6 ARM Cortex-M4)
@@ -890,8 +888,8 @@ upload_protocol = dfu
890 888
 platform      = ststm32
891 889
 board         = rumba32_f446ve
892 890
 build_flags   = ${common.build_flags}
893
- -DSTM32F4xx -DARDUINO_RUMBA32_F446VE -DARDUINO_ARCH_STM32 "-DBOARD_NAME=\"RUMBA32_F446VE\""
894
- -DSTM32F446xx -DUSBCON -DUSBD_VID=0x8000
891
+  -DSTM32F4xx -DARDUINO_RUMBA32_F446VE -DARDUINO_ARCH_STM32 "-DBOARD_NAME=\"RUMBA32_F446VE\""
892
+  -DSTM32F446xx -DUSBCON -DUSBD_VID=0x8000
895 893
   "-DUSB_MANUFACTURER=\"Unknown\""
896 894
   "-DUSB_PRODUCT=\"RUMBA32_F446VE\""
897 895
   -DHAL_PCD_MODULE_ENABLED

Carregando…
Cancelar
Salvar