[STM32 library] Library improvement
Dear,
It's just an idea to improve the STM32 library.
In the "system_stm32fxxx.c" files in the CMSIS folder, the vector table offset is defined as follow :
#define VECT_TAB_OFFSET 0x00In some product, I use a bottloader, so the vector table is relocated.
And then I have one Debug configuration and one Release configuration, the vector table offset isn't the same in this two configuration
- Debug => no offset
- Release => offset
To do this, I need to modify this file.
Why do not add a conditional compilation as is do for the oscillator value in the "stm32fxx_hal_conf.h" file ?
Something like that :
#if !defined (VECT_TAB_OFFSET)
#define VECT_TAB_OFFSET 0x00
#endifLike that, it is possible to defined the "VECT_TAB_OFFSET" in the project properties proprocessor.
