diff options
| author | Keith Packard <keithp@keithp.com> | 2013-12-08 11:14:29 -0800 |
|---|---|---|
| committer | Keith Packard <keithp@keithp.com> | 2013-12-08 11:14:29 -0800 |
| commit | 52b19511222980138faddb2047707baceff0a596 (patch) | |
| tree | 82243836e6dc51e4feeff7301f0f98288172a861 /src/stm | |
| parent | a1e4750a7d4af72e8e9086735885f48c9b56c18e (diff) | |
altos: Build .ihx files for all arm projects
The .ihx version can be processed by the java loader
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/stm')
| -rw-r--r-- | src/stm/Makefile.defs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/stm/Makefile.defs b/src/stm/Makefile.defs index 0710d747..b1998f93 100644 --- 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: - objcopy -O ihex $*.elf $@ + $(ELFTOHEX) --output=$@ $*.elf 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 +ELFTOHEX=$(TOPDIR)/../ao-tools/ao-elftohex/ao-elftohex V=0 # The user has explicitly enabled quiet compilation. |
