mirror of https://github.com/ARMmbed/mbed-os.git
GCC_ARM VTOR fixed, doesnt fit in the bootloader region though..
parent
0ff055115a
commit
802000b059
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue