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