Ben Katz / mbed-dev-f303

Dependents:   Hobbyking_Cheetah_Compact Hobbyking_Cheetah_Compact_DRV8323_14bit Hobbyking_Cheetah_Compact_DRV8323_V51_201907 HKC_MiniCheetah ... more

Fork of mbed-dev by mbed official

Revision:
167:e84263d55307
Parent:
149:156823d33999
--- a/targets/TARGET_NXP/TARGET_LPC13XX/device/cmsis_nvic.h	Thu Jun 08 15:02:37 2017 +0100
+++ b/targets/TARGET_NXP/TARGET_LPC13XX/device/cmsis_nvic.h	Wed Jun 21 17:46:44 2017 +0100
@@ -1,5 +1,4 @@
 /* mbed Microcontroller Library
- * CMSIS-style functionality to support dynamic vectors
  *******************************************************************************
  * Copyright (c) 2011 ARM Limited. All rights reserved.
  * All rights reserved.
@@ -32,20 +31,7 @@
 #ifndef MBED_CMSIS_NVIC_H
 #define MBED_CMSIS_NVIC_H
 
-#include "cmsis.h"
-
-#define NVIC_NUM_VECTORS      (16 + 32)   // CORE + MCU Peripherals
-#define NVIC_USER_IRQ_OFFSET  16
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-void NVIC_SetVector(IRQn_Type IRQn, uint32_t vector);
-uint32_t NVIC_GetVector(IRQn_Type IRQn);
-
-#ifdef __cplusplus
-}
-#endif
+#define NVIC_NUM_VECTORS        (16 + 32)     // CORE + MCU Peripherals
+#define NVIC_RAM_VECTOR_ADDRESS 0x10000000    // Location of vectors in RAM
 
 #endif