Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add header file with IRQ handlers declarations, useful for C++.
- Loading branch information
Showing
1 changed file
with
29 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
/* | ||
* Unified Cortex Startup - IRQ handler declarations for C++ | ||
* | ||
* This file is in public domain | ||
* | ||
* Put together by Paul Sokolovsky based on article by Vanya Sergeev | ||
* http://dev.frozeneskimo.com/notes/cortex_cmsis/ , GNU ld documentation | ||
* and numerous other public resources. | ||
* | ||
*/ | ||
|
||
#ifdef __cplusplus | ||
extern "C" { | ||
#endif | ||
|
||
void Reset_Handler(void); | ||
void NMI_Handler(void); | ||
void HardFault_Handler(void); | ||
void MemManage_Handler(void); | ||
void BusFault_Handler(void); | ||
void UsageFault_Handler(void); | ||
void SVC_Handler(void); | ||
void DebugMon_Handler(void); | ||
void PendSV_Handler(void); | ||
void SysTick_Handler(void); | ||
|
||
#ifdef __cplusplus | ||
} | ||
#endif |