projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use -Os for STM apps. Fix altos.ld to matchall .rodata* sections
[fw/altos]
/
src
/
stm
/
Makefile.defs
diff --git
a/src/stm/Makefile.defs
b/src/stm/Makefile.defs
index c799231a909e5e9093c85cc35fdad1e2366855c5..6191ec45d37a6bd4df4916eaff082b7e33a33d12 100644
(file)
--- a/
src/stm/Makefile.defs
+++ b/
src/stm/Makefile.defs
@@
-19,6
+19,8
@@
endif
AO_CFLAGS=-I. -I../stm -I../core -I..
STM_CFLAGS=-std=gnu99 -mlittle-endian -mcpu=cortex-m3 -mthumb -ffreestanding -nostdlib $(AO_CFLAGS) $(SAT_CFLAGS)
+LDFLAGS=-L../stm -Wl,-Taltos.ld
+
NICKLE=nickle
V=0