Skip to content

Commit

Permalink
f415: fixed vector table address for DroneCAN
Browse files Browse the repository at this point in the history
  • Loading branch information
tridge committed Oct 9, 2024
1 parent 0298c47 commit a85b888
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions Mcu/f415/Src/system_at32f415.c
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,12 @@
/** @addtogroup AT32F415_system_private_defines
* @{
*/
#define VECT_TAB_OFFSET \
0x1000 /*!< vector table base offset field. this value must be a multiple \
of 0x200. */
/*!< vector table base offset field. this value must be a multiple of 0x200. */
#if DRONECAN_SUPPORT
#define VECT_TAB_OFFSET 0x4000
#else
#define VECT_TAB_OFFSET 0x1000
#endif
/**
* @}
*/
Expand Down

0 comments on commit a85b888

Please sign in to comment.