Set stm32f407 build to use current PIO platform code

This commit is contained in:
Josh Stewart 2020-02-03 09:06:14 +11:00
parent 6f8c126581
commit 2231a4a1ff
1 changed files with 3 additions and 3 deletions

View File

@ -61,12 +61,12 @@ build_flags = -fpermissive -std=gnu++11 -UBOARD_NR_GPIO_PINS -DUSE_STM32GENERIC
;STM32 Official core
[env:black_F407VE]
;platform = ststm32@~4.5.0
platform = https://github.com/platformio/platform-ststm32.git
platform = ststm32
;platform = https://github.com/platformio/platform-ststm32.git
framework = arduino
;board = genericSTM32F407VET6
board = black_f407ve
;lib_deps = EEPROM
lib_deps = EEPROM
board_build.core = stm32
;build_flags = -fpermissive -std=gnu++11 -UBOARD_NR_GPIO_PINS -DCORE_STM32_OFFICIAL -DSRAM_AS_EEPROM
build_flags = -fpermissive -std=gnu++11 -UBOARD_NR_GPIO_PINS -DCORE_STM32_OFFICIAL -DSPIFLASH_AS_EEPROM -DUSBCON -DUSBD_VID=0x0483 "-DUSB_MANUFACTURER=\"Unknown\"" "-DUSB_PRODUCT=\"BLACK_F407VE\"" -DHAL_PCD_MODULE_ENABLED -DUSBD_USE_CDC -DHAL_UART_MODULE_ENABLED