Skip to content

Commit 28b7cbf

Browse files
committed
nrf: Mark interrupt vectors as used
1 parent 95d2694 commit 28b7cbf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ports/nrf/device/nrf52/startup_nrf52840.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ void CRYPTOCELL_IRQHandler (void) __attribute__ ((weak, alias("Default_Han
116116
void SPIM3_IRQHandler (void) __attribute__ ((weak, alias("Default_Handler")));
117117
void PWM3_IRQHandler (void) __attribute__ ((weak, alias("Default_Handler")));
118118

119-
const func __Vectors[] __attribute__ ((section(".isr_vector"))) = {
119+
const func __Vectors[] __attribute__ ((used, section(".isr_vector"))) = {
120120
(func)&_estack,
121121
Reset_Handler,
122122
NMI_Handler,

0 commit comments

Comments
 (0)