Commit 10067c81 authored by Christian Eichler's avatar Christian Eichler
Browse files

Enable LED 1.1 in case of any CortexM4 (internal) interrupt

parent e8b7a373
......@@ -50,13 +50,13 @@ void SystemCoreClockSetup(void)
void gene_main(int);
void gene_init(void);
IHANDLER void PendSV_Handler() { P1_1_toggle(); while(1) {} }
IHANDLER void SysTick_Handler() { P1_1_toggle(); while(1) {} }
IHANDLER void SVC_Handler() { P1_1_toggle(); while(1) {} }
IHANDLER void HardFault_Handler() { P1_1_toggle(); while(1) {} }
IHANDLER void NMI_Handler() { P1_1_toggle(); while(1) {} }
IHANDLER void MemManage_Handler() { P1_1_toggle(); while(1) {} }
IHANDLER void UsageFault_Handler() { P1_1_toggle(); while(1) {} }
IHANDLER void PendSV_Handler() { P1_1_set(); while(1) {} }
IHANDLER void SysTick_Handler() { P1_1_set(); while(1) {} }
IHANDLER void SVC_Handler() { P1_1_set(); while(1) {} }
IHANDLER void HardFault_Handler() { P1_1_set(); while(1) {} }
IHANDLER void NMI_Handler() { P1_1_set(); while(1) {} }
IHANDLER void MemManage_Handler() { P1_1_set(); while(1) {} }
IHANDLER void UsageFault_Handler() { P1_1_set(); while(1) {} }
IHANDLER void BusFault_Handler() {
__asm volatile("ldr sp,=__initial_sp; isb");
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment