Skip to main content
Shilpashree Madhu
Associate III
December 14, 2021
Solved

Where does the #define USER_VECT_TAB_ADDRESS is located in STM32L4R5ZI-P MCU?

  • December 14, 2021
  • 3 replies
  • 2846 views

..

This topic has been closed for replies.
Best answer by Peter BENSCH

It is located as comment (undefined) in system_stm32l4xx.c, which usually contains:

/*!< Uncomment the following line if you need to relocate the vector table
 anywhere in Flash or Sram, else the vector table is kept at the automatic
 remap of boot address selected */
/* #define USER_VECT_TAB_ADDRESS */

Regards

/Peter

3 replies

Peter BENSCH
Peter BENSCHBest answer
ST Technical Moderator
December 14, 2021

It is located as comment (undefined) in system_stm32l4xx.c, which usually contains:

/*!< Uncomment the following line if you need to relocate the vector table
 anywhere in Flash or Sram, else the vector table is kept at the automatic
 remap of boot address selected */
/* #define USER_VECT_TAB_ADDRESS */

Regards

/Peter

In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
Shilpashree Madhu
Associate III
December 15, 2021

Thanks @Peter BENSCH​ 

Peter BENSCH
ST Technical Moderator
December 15, 2021

If the problem is resolved, please mark this topic as answered by selecting Select as best. This will help other users find that answer faster.

/Peter

In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.