projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
altos/stm32f1: Add DMA and SPI drivers
[fw/altos]
/
src
/
stmf0
/
ao_boot_chain.c
diff --git
a/src/stmf0/ao_boot_chain.c
b/src/stmf0/ao_boot_chain.c
index 8f850a0a6d98d7ee1b0484f746dd8f6453e19d43..d91afdabc7fcbfb949ac007d72d0b8e330339fdf 100644
(file)
--- a/
src/stmf0/ao_boot_chain.c
+++ b/
src/stmf0/ao_boot_chain.c
@@
-43,7
+43,7
@@
struct ao_boot {
uint32_t check;
};
-st
atic struct ao_boot __attribute__ ((section(".boot"))) ao_boot
;
+st
ruct ao_boot ao_boot __attribute__((section(".preserve.2")))
;
int
ao_boot_check_chain(void)