mirror of https://github.com/ARMmbed/mbed-os.git
[EFM32] NVIC virtualization was not committed for CM0
This is a workaround to fix the breaking build until someone adds NVIC virtualization to the CM0plus CMSIS headerpull/3122/head
parent
220363b099
commit
a9fe108266
|
@ -12,6 +12,11 @@
|
|||
#define NVIC_NUM_VECTORS (16 + EXT_IRQ_COUNT) // CORE + MCU Peripherals
|
||||
#define NVIC_USER_IRQ_OFFSET 16
|
||||
|
||||
#if __CORTEX_M == 0
|
||||
#define __NVIC_SetVector NVIC_SetVector
|
||||
#define __NVIC_GetVector NVIC_GetVector
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue