Question
Is there any way to change "Vector Table base offset" and making it fixed rather than let Cube change it every time the code is regenerated?
Hello,
I'm working with a bootloader so I need to change the Vector Table base offset to 0x00002000. This is done in system_stm32f1xx.c file:
#define VECT_TAB_OFFSET 0x00002000U /*!< Vector Table base offset field. This value must be a multiple of 0x200. */But as this part of code is not inside a USER CODE section, every time I regenerate the code, I should change this macro manually. I'm looking for any better solutions.
Regards,
Shayan
