Skip to content

Commit 7278930

Browse files
matthijskooijmanfpistm
authored andcommitted
Forward declare Original_Reset_handler
1 parent 6e67b17 commit 7278930

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

libraries/SrcWrapper/src/stm32/bootloader.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ WEAK void jumpToBootloaderRequested(void)
2020
NVIC_SystemReset();
2121
}
2222

23+
// Defined in startup assembly code
24+
void Original_Reset_Handler();
25+
2326
// This overrides the Reset_Handler that is run on reset before
2427
// *anything* else (including memory initialization). Only the stack
2528
// pointer is set up by this time.

0 commit comments

Comments
 (0)