cmsis_device_f1 icon indicating copy to clipboard operation
cmsis_device_f1 copied to clipboard

An issue with flash offset on PlatformIO

Open moustafine opened this issue 1 year ago • 3 comments

Could not set proper VECT_TAB_OFFSET in a case with a bootloader.

Compiling .pio/build/genericSTM32F103C8/src/display.o
/home/marat/.platformio/packages/framework-cmsis-stm32f1/Source/Templates/system_stm32f1xx.c:95:0: warning: "VECT_TAB_OFFSET" redefined
 #define VECT_TAB_OFFSET  0x00000000U /*!< Vector Table base offset field.

<command-line>:0:0: note: this is the location of the previous definition

A possible solution in the attachment:

fix-flash-offset.zip

moustafine avatar Apr 24 '24 23:04 moustafine

Hello @moustafine,

Thank you for this proposal. The point has been reported to our development teams. I will ensure to keep you informed with any updates.

With regards,

TOUNSTM avatar Apr 30 '24 09:04 TOUNSTM

ST Internal Reference: 116475

TOUNSTM avatar Apr 30 '24 09:04 TOUNSTM

See also https://github.com/STMicroelectronics/STM32CubeF4/pull/146

TOUNSTM avatar Apr 30 '24 09:04 TOUNSTM