Sun, 01 Nov 2020 22:11:39 +0100
rename fp environment as fp_dfu and add a fp_stlink
to make it a bit easier to choose the selected upload protocol
platformio.ini | file | annotate | diff | comparison | revisions |
--- a/platformio.ini Sun Nov 01 22:10:10 2020 +0100 +++ b/platformio.ini Sun Nov 01 22:11:39 2020 +0100 @@ -35,7 +35,7 @@ framework = mbed board = nucleo_f303re -[env:fp] +[env:fp_dfu] platform = ststm32 framework = mbed board = hp34970_fp_f303rd @@ -46,3 +46,15 @@ -I$PROJECTSRC_DIR/../TARGET_HP34970_FP_F303RD debug_tool = stlink upload_protocol = dfu + +[env:fp_stlink] +platform = ststm32 +framework = mbed +board = hp34970_fp_f303rd +board_build.mbed.ldscript = + $PROJECTSRC_DIR/../TARGET_HP34970_FP_F303RD/STM32F303XE.ld +build_flags = + -DHAVE_PC + -I$PROJECTSRC_DIR/../TARGET_HP34970_FP_F303RD +debug_tool = stlink +upload_protocol = stlink