[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 header
pull/3122/head
Steven Cooreman 2016-10-25 09:51:25 -07:00
parent 220363b099
commit a9fe108266
1 changed files with 5 additions and 0 deletions

View File

@ -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