STMicroelectronics / STM32CubeG0

STM32Cube MCU Full Package for the STM32G0 series - (HAL + LL Drivers, CMSIS Core, CMSIS Device, MW libraries plus a set of Projects running on all boards provided by ST (Nucleo, Evaluation and Discovery Kits))
Other
164 stars 75 forks source link

Set default Vector Table location #33

Open lamik opened 2 years ago

lamik commented 2 years ago

If User doesn't define USER_VECT_TAB_ADDRESS, Vector Table will never be set with current SystemInit() function. Interrupts won't work with such configuration.

Added #else option if User doesn't want to use own VTOR - just set the default.

IMPORTANT INFORMATION

Contributor License Agreement (CLA)

ALABSTM commented 1 year ago

Hi @lamik,

Thank you for this proposal. We are already working on a solution internally. I will keep you updated.

With regards,

ALABSTM commented 1 year ago

ST Internal Reference: 116475