summaryrefslogtreecommitdiff
path: root/src/stm
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2013-10-25 04:05:09 -0700
committerKeith Packard <keithp@keithp.com>2013-10-25 04:05:09 -0700
commit08143a922fe27bc50a19924f46538f9476ab5fd1 (patch)
treecdd2be15a286183eade9d6b665d5bc5a99d5abff /src/stm
parentba99630f33440b993c69830856d2a7741ffdef71 (diff)
altos: Add gyro-based orientation tracking
This tracks the angle-from-vertical as an additional input to the pyro channels. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/stm')
-rw-r--r--src/stm/Makefile.defs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/stm/Makefile.defs b/src/stm/Makefile.defs
index ee1cb658..0710d747 100644
--- a/src/stm/Makefile.defs
+++ b/src/stm/Makefile.defs
@@ -1,4 +1,4 @@
-vpath % ../stm:../product:../drivers:../core:../util:../kalman:../aes:..
+vpath % ../stm:../product:../drivers:../core:../util:../kalman:../aes:../math:..
vpath make-altitude ../util
vpath make-kalman ../util
vpath kalman.5c ../kalman
@@ -24,7 +24,7 @@ include $(TOPDIR)/Makedefs
CC=$(ARM_CC)
LIBS=-lpdclib-cortex-m3 -lgcc
-AO_CFLAGS=-I. -I../stm -I../core -I../drivers -I..
+AO_CFLAGS=-I. -I../stm -I../core -I../drivers -I../math -I..
STM_CFLAGS=-std=gnu99 -mlittle-endian -mcpu=cortex-m3 -mthumb -ffreestanding -nostdlib $(AO_CFLAGS)
LDFLAGS=-L../stm -Wl,-Taltos.ld