use explicit path not $(HOME) to find ARM toolchain for now
[fw/altos] / src / stm / Makefile.defs
index c799231a909e5e9093c85cc35fdad1e2366855c5..76962a3efd55d98fd0cd7dd9fb474472b699e405 100644 (file)
@@ -8,7 +8,7 @@ vpath matrix.5c ../kalman
 vpath ao-make-product.5c ../util
 
 CC=arm-none-eabi-gcc
-SAT=$(HOME)/sat
+SAT=/home/keithp/sat
 SAT_CLIB=$(SAT)/lib/pdclib.a
 SAT_CFLAGS=-I$(SAT)/include
 
@@ -19,6 +19,8 @@ endif
 AO_CFLAGS=-I. -I../stm -I../core -I..
 STM_CFLAGS=-std=gnu99 -mlittle-endian -mcpu=cortex-m3 -mthumb -ffreestanding -nostdlib $(AO_CFLAGS) $(SAT_CFLAGS)
 
+LDFLAGS=-L../stm -Wl,-Taltos.ld
+
 NICKLE=nickle
 
 V=0