From 2231a4a1ffe2c0b36fee147cdbaa651dc3e5edaf Mon Sep 17 00:00:00 2001 From: Josh Stewart Date: Mon, 3 Feb 2020 09:06:14 +1100 Subject: [PATCH] Set stm32f407 build to use current PIO platform code --- platformio.ini | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/platformio.ini b/platformio.ini index 9b48d1e7..673ea152 100644 --- a/platformio.ini +++ b/platformio.ini @@ -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