From: Keith Packard Date: Fri, 3 Feb 2017 05:51:11 +0000 (+0100) Subject: altos/stmf0: Allow apps to leave interrupt vectors at 0 X-Git-Tag: 1.7~116 X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=commitdiff_plain;h=f85997eb53779e637dca697d0d96da7d1235fa80 altos/stmf0: Allow apps to leave interrupt vectors at 0 TeleMini v3.0 doesn't need a boot loader, so we'll have the app run its interrupt vector right at the bottom of the address space instead of copying it to the bottom of ram and reconfiguring the chip to use that. Signed-off-by: Keith Packard --- diff --git a/src/stmf0/ao_interrupt.c b/src/stmf0/ao_interrupt.c index 79412483..fcd330f1 100644 --- a/src/stmf0/ao_interrupt.c +++ b/src/stmf0/ao_interrupt.c @@ -26,9 +26,11 @@ #define IS_FLASH_LOADER 0 #endif +#ifndef RELOCATE_INTERRUPT #if !IS_FLASH_LOADER #define RELOCATE_INTERRUPT 1 #endif +#endif extern void main(void); extern char __stack__;