diff options
Diffstat (limited to 'src/stm/Makefile.defs')
| -rw-r--r-- | src/stm/Makefile.defs | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/stm/Makefile.defs b/src/stm/Makefile.defs index 04404cdc..c8bb7d70 100644 --- a/src/stm/Makefile.defs +++ b/src/stm/Makefile.defs @@ -7,9 +7,14 @@ vpath load_csv.5c ../kalman vpath matrix.5c ../kalman vpath ao-make-product.5c ../util +.SUFFIXES: .elf .ihx + +.elf.ihx: + objcopy -O ihex $*.elf $@ + CC=arm-none-eabi-gcc -SAT=/home/keithp/sat -SAT_CLIB=$(SAT)/lib/pdclib.a +SAT=/opt/cortex +SAT_CLIB=$(SAT)/lib/pdclib-cortex-m3.a SAT_CFLAGS=-I$(SAT)/include ifndef VERSION |
