Skip to content

Commit 2f299b3

Browse files
committed
Remove NVIC ops from TARGET_DISCO_L072CZ_LRWAN1
1 parent de76d98 commit 2f299b3

File tree

2 files changed

+1
-69
lines changed

2 files changed

+1
-69
lines changed

targets/TARGET_STM/TARGET_STM32L0/TARGET_DISCO_L072CZ_LRWAN1/device/cmsis_nvic.c

Lines changed: 0 additions & 55 deletions
This file was deleted.

targets/TARGET_STM/TARGET_STM32L0/TARGET_DISCO_L072CZ_LRWAN1/device/cmsis_nvic.h

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -36,19 +36,6 @@
3636
// MCU Peripherals: 32 vectors = 128 bytes from 0x40 to 0xBF
3737
// Total: 48 vectors = 192 bytes (0xC0) to be reserved in RAM
3838
#define NVIC_NUM_VECTORS 48
39-
#define NVIC_USER_IRQ_OFFSET 16
40-
41-
#include "cmsis.h"
42-
43-
#ifdef __cplusplus
44-
extern "C" {
45-
#endif
46-
47-
void NVIC_SetVector(IRQn_Type IRQn, uint32_t vector);
48-
uint32_t NVIC_GetVector(IRQn_Type IRQn);
49-
50-
#ifdef __cplusplus
51-
}
52-
#endif
39+
#define NVIC_RAM_VECTOR_ADDRESS (0x20000000) // Vectors positioned at start of RAM
5340

5441
#endif

0 commit comments

Comments
 (0)