projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
altos: Build .ihx files for all arm projects
[fw/altos]
/
src
/
stm
/
Makefile.defs
diff --git
a/src/stm/Makefile.defs
b/src/stm/Makefile.defs
index 0710d74774ec4e18c4e8fba3df9db52ba342a14e..b1998f93661bd541455fc304d7eb9d327a2a6e13 100644
(file)
--- a/
src/stm/Makefile.defs
+++ b/
src/stm/Makefile.defs
@@
-10,7
+10,7
@@
vpath ao-make-product.5c ../util
.SUFFIXES: .elf .ihx
.elf.ihx:
.SUFFIXES: .elf .ihx
.elf.ihx:
- objcopy -O ihex $*.elf $@
+ $(ELFTOHEX) --output=$@ $*.elf
ifndef TOPDIR
TOPDIR=..
ifndef TOPDIR
TOPDIR=..
@@
-30,6
+30,7
@@
STM_CFLAGS=-std=gnu99 -mlittle-endian -mcpu=cortex-m3 -mthumb -ffreestanding -no
LDFLAGS=-L../stm -Wl,-Taltos.ld
NICKLE=nickle
LDFLAGS=-L../stm -Wl,-Taltos.ld
NICKLE=nickle
+ELFTOHEX=$(TOPDIR)/../ao-tools/ao-elftohex/ao-elftohex
V=0
# The user has explicitly enabled quiet compilation.
V=0
# The user has explicitly enabled quiet compilation.