Skip to content

Commit f01600a

Browse files
committed
RP2040: Add weak aliases for ISR handlers
Fixes baremetal build
1 parent d7ccde9 commit f01600a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

targets/TARGET_RASPBERRYPI/TARGET_RP2040/pico-sdk/rp2_common/pico_standard_link/crt0.S

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -89,10 +89,10 @@ __vectors:
8989
// these are separated out for clarity
9090
decl_isr_bkpt isr_invalid
9191
decl_isr_bkpt isr_nmi
92-
decl_isr_bkpt isr_hardfault
93-
decl_isr_bkpt isr_svcall
94-
decl_isr_bkpt isr_pendsv
95-
decl_isr_bkpt isr_systick
92+
decl_isr_bkpt HardFault_Handler
93+
decl_isr_bkpt SVC_Handler
94+
decl_isr_bkpt PendSV_Handler
95+
decl_isr_bkpt SysTick_Handler
9696

9797
.macro decl_isr name
9898
.weak \name

0 commit comments

Comments
 (0)