X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Fstmf0%2Fao_interrupt.c;h=1ee6e720091be2e277fca3b26536fd559caea35d;hb=d8e9d1529cb744742cfd7d4f5e9f168d4d6dc498;hp=81878d895ffaebbf9f19422cdc60abf6b7d03a8c;hpb=0686a7b8aec524d81bda4c572549a3a068ce0eed;p=fw%2Faltos diff --git a/src/stmf0/ao_interrupt.c b/src/stmf0/ao_interrupt.c index 81878d89..1ee6e720 100644 --- a/src/stmf0/ao_interrupt.c +++ b/src/stmf0/ao_interrupt.c @@ -72,8 +72,11 @@ void start(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 */ @@ -145,6 +148,9 @@ isr(usart3_4_5_6_7_8) isr(cec_can) isr(usb) +#undef isr +#undef isr_halt + #define i(addr,name) [(addr)/4] = stm_ ## name ## _isr __attribute__ ((section(".interrupt")))