X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Fstm%2FMakefile.defs;h=8ef30521ee4645e63a60afc531ea5841d0abeaf8;hb=528e2e41112cad8a81bccbb89c3bd202b818a506;hp=04404cdcda11b3a86c400becabfcfdee7721cd57;hpb=583458772746317b98fced907ec780edff465888;p=fw%2Faltos diff --git a/src/stm/Makefile.defs b/src/stm/Makefile.defs index 04404cdc..8ef30521 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 -CC=arm-none-eabi-gcc -SAT=/home/keithp/sat -SAT_CLIB=$(SAT)/lib/pdclib.a +.SUFFIXES: .elf .ihx + +.elf.ihx: + objcopy -O ihex $*.elf $@ + +SAT=/opt/cortex +CC=$(SAT)/bin/arm-none-eabi-gcc +SAT_CLIB=$(SAT)/lib/pdclib-cortex-m3.a SAT_CFLAGS=-I$(SAT)/include ifndef VERSION