AnsweredAssumed Answered

cubemx stm32 feature request: support custom VECT_TAB_OFFSET

Question asked by adib on Feb 6, 2016
Latest reply on Apr 3, 2017 by Clive One
Hello,

while dealing with custom bootloader we have to switch application to certain offset address.
Thus we have to move the address of the vector table.

While HSE values are supported to be customized vector table offset is not.

please add following lines to the system_stm32xxxx.c files:
/* #define VECT_TAB_SRAM */

---> #if !defined(VECT_TAB_OFFSET)
#define VECT_TAB_OFFSET  0x00 /*!< Vector Table base offset field.
                                   This value must be a multiple of 0x200. */
---> #endif

Thanks, Regards,

Adib.
/******************************************************************************/

Outcomes