X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Fstm%2FMakefile.defs;h=8ef30521ee4645e63a60afc531ea5841d0abeaf8;hb=9f017b4837b106e8c422955a95762f1bf3c78016;hp=1480f0b34f9b395b78b68a8cde338cf2bd60e3d5;hpb=8c05f608c8f103649c1e5ec0d5742621e233af78;p=fw%2Faltos diff --git a/src/stm/Makefile.defs b/src/stm/Makefile.defs index 1480f0b3..8ef30521 100644 --- a/src/stm/Makefile.defs +++ b/src/stm/Makefile.defs @@ -7,8 +7,13 @@ vpath load_csv.5c ../kalman vpath matrix.5c ../kalman vpath ao-make-product.5c ../util -CC=arm-none-eabi-gcc +.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