X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Fstm%2FMakefile.defs;h=8ef30521ee4645e63a60afc531ea5841d0abeaf8;hb=9f017b4837b106e8c422955a95762f1bf3c78016;hp=04404cdcda11b3a86c400becabfcfdee7721cd57;hpb=e4d244eefa4c779cd9c8a91389bf998c54705b72;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