Add igniters and update flight control algorithm
[fw/altos] / Makefile
index 2bb4cd68e297cfba3687edb8232a50c404f2a4c6..a391c510cd56b258f3b2937c066175d706870f97 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -7,7 +7,7 @@ CC=sdcc
 CFLAGS=--model-small --debug --opt-code-speed 
 
 LDFLAGS=--out-fmt-ihx --code-loc 0x0000 --code-size 0x8000 \
-       --xram-loc 0xf000 --xram-size 0xf00 --iram-size 0xff
+       --xram-loc 0xf000 --xram-size 0xda2 --iram-size 0xff
 
 INC = \
        ao.h \
@@ -61,7 +61,8 @@ TELE_DRIVER_SRC = \
 #
 TM_DRIVER_SRC = \
        ao_adc.c \
-       ao_ee.c
+       ao_ee.c \
+       ao_ignite.c
 
 #
 # Tasks run on TeleMetrum
@@ -150,7 +151,7 @@ REL=$(SRC:.c=.rel)
 RST=$(SRC:.c=.rst)
 SYM=$(SRC:.c=.sym)
 
-PROGS=telemetrum.ihx tidongle.ihx teleterra.ihx teledongle.ihx ao_flight_test
+PROGS=telemetrum.ihx tidongle.ihx teleterra.ihx teledongle.ihx
 
 PCDB=$(PROGS:.ihx=.cdb)
 PLNK=$(PROGS:.ihx=.lnk)
@@ -193,3 +194,6 @@ clean:
        rm -f $(PROGS) $(PCDB) $(PLNK) $(PMAP) $(PMEM) $(PAOM)
 
 install:
+
+ao_flight_test: ao_flight.c ao_flight_test.c
+       cc -g -o $@ ao_flight_test.c