/* Interrupt functions */
-static void stm_halt_isr(void)
+void stm_halt_isr(void)
{
ao_panic(AO_PANIC_CRASH);
}
-static void stm_ignore_isr(void)
+void stm_ignore_isr(void)
{
}
#if AO_BOOT_CHAIN
if (ao_boot_check_chain()) {
#if AO_BOOT_PIN
- ao_boot_check_pin();
+ if (ao_boot_check_pin())
#endif
+ {
+ ao_boot_chain(AO_BOOT_APPLICATION_BASE);
+ }
}
#endif
/* Turn on syscfg */
isr(cec_can)
isr(usb)
+#undef isr
+#undef isr_halt
+
#define i(addr,name) [(addr)/4] = stm_ ## name ## _isr
__attribute__ ((section(".interrupt")))