You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
495 B
C
39 lines
495 B
C
2 years ago
|
#include <stm32l476xx.h>
|
||
|
|
||
|
__attribute__ ((naked))
|
||
|
void NMI_Handler(void)
|
||
|
{
|
||
|
while (1);
|
||
|
}
|
||
|
|
||
|
__attribute__ ((naked))
|
||
|
void HardFault_Handler(void)
|
||
|
{
|
||
|
while (1);
|
||
|
}
|
||
|
|
||
|
__attribute__ ((naked))
|
||
|
void MemManage_Handler(void)
|
||
|
{
|
||
|
while (1);
|
||
|
}
|
||
|
|
||
|
__attribute__ ((naked))
|
||
|
void BusFault_Handler(void)
|
||
|
{
|
||
|
while (1);
|
||
|
}
|
||
|
|
||
|
__attribute__ ((naked))
|
||
|
void UsageFault_Handler(void)
|
||
|
{
|
||
|
while (1);
|
||
|
}
|
||
|
|
||
|
__attribute__ ((naked))
|
||
|
void DebugMon_Handler(void)
|
||
|
{
|
||
|
while (1);
|
||
|
}
|
||
|
|