Skip to content

Commit

Permalink
Merge pull request #1860 from c1728p9/fix_interrupt_manager
Browse files Browse the repository at this point in the history
Fix support for InterruptManager on KSDK 2
  • Loading branch information
0xc0170 committed Jun 7, 2016
2 parents 2460907 + ec81bcc commit 6455389
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions hal/targets/cmsis/TARGET_Freescale/TARGET_K22F/cmsis_nvic.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 3 additions & 0 deletions hal/targets/cmsis/TARGET_Freescale/TARGET_K64F/cmsis_nvic.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 3 additions & 0 deletions hal/targets/cmsis/TARGET_Freescale/TARGET_KL27Z/cmsis_nvic.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6455389

Please sign in to comment.