GCC_ARM VTOR fixed, doesnt fit in the bootloader region though..

pull/4824/head
Chris 2017-06-16 16:58:10 +01:00 committed by Martin Kojtal
parent 229e19f4be
commit 4b4c70fdcd
1 changed files with 2 additions and 2 deletions

View File

@ -212,8 +212,8 @@ void SystemInit (void)
extern uint32_t Load$$LR$$LR_IROM1$$Base[];
#define FLASH_VTOR_BASE ((uint32_t)Load$$LR$$LR_IROM1$$Base)
#elif defined(__GNUC__)
extern uint32_t vectors[];
#define FLASH_VTOR_BASE ((uint32_t)vectors)
extern uint32_t g_pfnVectors[];
#define FLASH_VTOR_BASE ((uint32_t)g_pfnVectors)
#else
#error "Flash vector address not set for this toolchain"
#endif