Fix support for InterruptManager on KSDK 2

Add the define NVIC_NUM_VECTORS for KSDK 2 targets so InterruptManager
is supported.
pull/1860/head
Russ Butler 2016-06-06 15:51:11 +01:00
parent 2460907099
commit ec81bccb01
3 changed files with 9 additions and 0 deletions

View File

@ -32,6 +32,9 @@
#ifndef MBED_CMSIS_NVIC_H
#define MBED_CMSIS_NVIC_H
#define NVIC_NUM_VECTORS (16 + 74) // CORE + MCU Peripherals
#define NVIC_USER_IRQ_OFFSET 16
#include "cmsis.h"
#ifdef __cplusplus

View File

@ -32,6 +32,9 @@
#ifndef MBED_CMSIS_NVIC_H
#define MBED_CMSIS_NVIC_H
#define NVIC_NUM_VECTORS (16 + 86) // CORE + MCU Peripherals
#define NVIC_USER_IRQ_OFFSET 16
#include "cmsis.h"
#ifdef __cplusplus

View File

@ -32,6 +32,9 @@
#ifndef MBED_CMSIS_NVIC_H
#define MBED_CMSIS_NVIC_H
#define NVIC_NUM_VECTORS (16 + 32) // CORE + MCU Peripherals
#define NVIC_USER_IRQ_OFFSET 16
#include "cmsis.h"
#ifdef __cplusplus