Add in existing flight pieces: flight/report/log
[fw/altos] / Makefile
index ab1a253be1ba4fb913d01b9b1b84e4a04ff70218..f8c9c73a7b22aaba15e1619f69a388ff65a96f56 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -4,14 +4,9 @@ NO_OPT=--nogcse --noinvariant --noinduction --nojtbound --noloopreverse \
        --nolabelopt --nooverlay --peep-asm
 DEBUG=--debug
 
-CFLAGS=--model-large $(DEBUG) --less-pedantic \
-       --no-peep --int-long-reent --float-reent \
+CFLAGS=--model-small $(DEBUG) --less-pedantic
 
 LDFLAGS=--out-fmt-ihx
-LDFLAGS_RAM=$(LDFLAGS) --code-loc 0xf000 --code-size 0x800 \
-       --xram-loc 0xf800 --xram-size 0x700 --iram-size 0xff
-
-
 LDFLAGS_FLASH=$(LDFLAGS) --code-loc 0x0000 --code-size 0x8000 \
        --xram-loc 0xf000 --xram-size 0xf00 --iram-size 0xff
 
@@ -22,12 +17,19 @@ INC = \
 SRC = \
        ao_adc.c \
        ao_beep.c \
+       ao_cmd.c \
+       ao_dma.c \
+       ao_ee.c \
+       ao_flight.c \
        ao_led.c \
+       ao_log.c \
+       ao_mutex.c \
+       ao_panic.c \
+       ao_report.c \
        ao_task.c \
        ao_timer.c \
        ao_usb.c \
-       ao_panic.c \
-       ao_test.c \
+       ao_main.c \
        _bp.c
        
 ADB=$(SRC:.c=.adb)