Browse Source

Tweaks to platformio.ini

Scott Lahteine 4 years ago
parent
commit
0080305fa6
1 changed files with 12 additions and 14 deletions
  1. 12
    14
      platformio.ini

+ 12
- 14
platformio.ini View File

629
 platform    = ststm32@>=6.1.0
629
 platform    = ststm32@>=6.1.0
630
 board       = malyanm300_f070cb
630
 board       = malyanm300_f070cb
631
 build_flags = ${common.build_flags}
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
 src_filter  = ${common.default_src_filter} +<src/HAL/STM32>
634
 src_filter  = ${common.default_src_filter} +<src/HAL/STM32>
635
 lib_ignore  = LiquidCrystal, LiquidTWI2, Adafruit NeoPixel, TMCStepper, U8glib-HAL
635
 lib_ignore  = LiquidCrystal, LiquidTWI2, Adafruit NeoPixel, TMCStepper, U8glib-HAL
636
 
636
 
656
 board             = STEVAL_STM32F401VE
656
 board             = STEVAL_STM32F401VE
657
 platform_packages = framework-arduinoststm32@>=3.10700,<4
657
 platform_packages = framework-arduinoststm32@>=3.10700,<4
658
 build_flags       = ${common.build_flags}
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
 build_unflags     = -std=gnu++11
663
 build_unflags     = -std=gnu++11
664
 extra_scripts     = pre:buildroot/share/PlatformIO/scripts/generic_create_variant.py
664
 extra_scripts     = pre:buildroot/share/PlatformIO/scripts/generic_create_variant.py
665
   buildroot/share/PlatformIO/scripts/STEVAL__F401XX.py
665
   buildroot/share/PlatformIO/scripts/STEVAL__F401XX.py
715
 board             = blackSTM32F407VET6
715
 board             = blackSTM32F407VET6
716
 platform_packages = framework-arduinoststm32@>=3.10700,<4
716
 platform_packages = framework-arduinoststm32@>=3.10700,<4
717
 build_flags       = ${common.build_flags}
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
 build_unflags     = -std=gnu++11
722
 build_unflags     = -std=gnu++11
723
 extra_scripts     = pre:buildroot/share/PlatformIO/scripts/generic_create_variant.py
723
 extra_scripts     = pre:buildroot/share/PlatformIO/scripts/generic_create_variant.py
724
 lib_ignore        = Adafruit NeoPixel, TMCStepper, SailfishLCD, SlowSoftI2CMaster, SoftwareSerial
724
 lib_ignore        = Adafruit NeoPixel, TMCStepper, SailfishLCD, SlowSoftI2CMaster, SoftwareSerial
749
 #
749
 #
750
 [env:BIGTREE_GTR_V1_0]
750
 [env:BIGTREE_GTR_V1_0]
751
 platform          = ststm32@>=5.7.0
751
 platform          = ststm32@>=5.7.0
752
-framework         = arduino
753
 platform_packages = framework-arduinoststm32@>=3.10700,<4
752
 platform_packages = framework-arduinoststm32@>=3.10700,<4
754
 board             = BigTree_SKR_Pro
753
 board             = BigTree_SKR_Pro
755
 extra_scripts     = pre:buildroot/share/PlatformIO/scripts/generic_create_variant.py
754
 extra_scripts     = pre:buildroot/share/PlatformIO/scripts/generic_create_variant.py
766
   Arduino-L6470=https://github.com/ameyer/Arduino-L6470/archive/dev.zip
765
   Arduino-L6470=https://github.com/ameyer/Arduino-L6470/archive/dev.zip
767
 lib_ignore        = SoftwareSerial, SoftwareSerialM
766
 lib_ignore        = SoftwareSerial, SoftwareSerialM
768
 src_filter        = ${common.default_src_filter} +<src/HAL/STM32>
767
 src_filter        = ${common.default_src_filter} +<src/HAL/STM32>
769
-monitor_speed     = 250000
770
 
768
 
771
 #
769
 #
772
 # BigTreeTech BTT002 V1.0 (STM32F407VGT6 ARM Cortex-M4)
770
 # BigTreeTech BTT002 V1.0 (STM32F407VGT6 ARM Cortex-M4)
890
 platform      = ststm32
888
 platform      = ststm32
891
 board         = rumba32_f446ve
889
 board         = rumba32_f446ve
892
 build_flags   = ${common.build_flags}
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
   "-DUSB_MANUFACTURER=\"Unknown\""
893
   "-DUSB_MANUFACTURER=\"Unknown\""
896
   "-DUSB_PRODUCT=\"RUMBA32_F446VE\""
894
   "-DUSB_PRODUCT=\"RUMBA32_F446VE\""
897
   -DHAL_PCD_MODULE_ENABLED
895
   -DHAL_PCD_MODULE_ENABLED

Loading…
Cancel
Save