projects
/
fw
/
altos
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f43c3ad
)
altos/stmf0: Allow apps to leave interrupt vectors at 0
author
Keith Packard
<keithp@keithp.com>
Fri, 3 Feb 2017 05:51:11 +0000
(06:51 +0100)
committer
Keith Packard
<keithp@keithp.com>
Mon, 20 Feb 2017 19:16:52 +0000
(11:16 -0800)
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 <keithp@keithp.com>
src/stmf0/ao_interrupt.c
patch
|
blob
|
history
diff --git
a/src/stmf0/ao_interrupt.c
b/src/stmf0/ao_interrupt.c
index 794124834b13c7e74777f33f5aa47c5df8396f35..fcd330f1b5aafc6620075ecfad98ad40a3be6aa6 100644
(file)
--- 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__;