diff -r f71f6c0af3cd -r 897330ee6e9d platformio.ini --- a/platformio.ini Thu Sep 09 21:59:53 2021 +0200 +++ b/platformio.ini Sun Oct 03 22:58:49 2021 +0200 @@ -17,27 +17,11 @@ # Automatic targets - enable auto-uploading # targets = upload -# stay on mbed 5.15 for now -[env:f446re] -platform = ststm32 -framework = mbed -#platform_packages = -# framework-mbed @ ~6.51504.0 -board = nucleo_f446re -build_flags = -DHAVE_PC -#build_flags = -DHAVE_PC --verbose -#lib_compat_mode = 0 -#build_flags = -DHAVE_PC -DPIO_FRAMEWORK_MBED_RTOS_PRESENT -#-DDEVICE_SPI_ASYNCH= - -[env:f303re] -platform = ststm32 -framework = mbed -board = nucleo_f303re - [env:fp_dfu] platform = ststm32 framework = mbed +platform_packages = + framework-mbed @ https://github.com/douardda/mbed-os.git#platformio board = hp34970_fp_f303rd board_build.mbed.ldscript = $PROJECTSRC_DIR/../TARGET_HP34970_FP_F303RD/STM32F303XE.ld @@ -50,11 +34,13 @@ [env:fp_stlink] platform = ststm32 framework = mbed +platform_packages = + framework-mbed @ https://github.com/douardda/mbed-os.git#platformio board = hp34970_fp_f303rd board_build.mbed.ldscript = $PROJECTSRC_DIR/../TARGET_HP34970_FP_F303RD/STM32F303XE.ld build_flags = - -DHAVE_PC + -DHAVE_PC -DSTUFF -I$PROJECTSRC_DIR/../TARGET_HP34970_FP_F303RD debug_tool = stlink upload_protocol = stlink