diff options
| author | Keith Packard <keithp@keithp.com> | 2009-04-17 23:38:14 -0700 |
|---|---|---|
| committer | Keith Packard <keithp@keithp.com> | 2009-04-17 23:38:14 -0700 |
| commit | 022f83ca6fd589005d8eb3e25e633950fef69fa7 (patch) | |
| tree | 4a081c02188cadbc93de00c96cd2f6a8f2b59d53 /Makefile | |
| parent | 5e2393eb6b1a6d7b180bd63d5165ee7b7ff5f9e0 (diff) | |
Add gps, debug dongle support and pressure alt tables
GPS also pulled in serial support. The altitude tables take raw 11-bit
pressure sample numbers and convert them to standard pressure altitude
values.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 12 |
1 files changed, 10 insertions, 2 deletions
@@ -4,7 +4,7 @@ NO_OPT=--nogcse --noinvariant --noinduction --nojtbound --noloopreverse \ --nolabelopt --nooverlay --peep-asm DEBUG=--debug -CFLAGS=--model-small $(DEBUG) --less-pedantic +CFLAGS=--model-small $(DEBUG) --less-pedantic --opt-code-speed LDFLAGS=--out-fmt-ihx LDFLAGS_FLASH=$(LDFLAGS) --code-loc 0x0000 --code-size 0x8000 \ @@ -12,20 +12,25 @@ LDFLAGS_FLASH=$(LDFLAGS) --code-loc 0x0000 --code-size 0x8000 \ INC = \ ao.h \ - cc1111.h + cc1111.h \ + altitude.h SRC = \ ao_adc.c \ ao_beep.c \ ao_cmd.c \ + ao_convert.c \ + ao_dbg.c \ ao_dma.c \ ao_ee.c \ ao_flight.c \ + ao_gps.c \ ao_led.c \ ao_log.c \ ao_mutex.c \ ao_panic.c \ ao_report.c \ + ao_serial.c \ ao_task.c \ ao_timer.c \ ao_usb.c \ @@ -56,6 +61,9 @@ $(PROG).ihx: $(REL) Makefile $(CC) $(LDFLAGS_FLASH) $(CFLAGS) -o $(PROG).ihx $(REL) sh check-stack ao.h $(PROG).mem +altitude.h: make-altitude + nickle make-altitude > altitude.h + clean: rm -f $(ADB) $(ASM) $(LNK) $(LST) $(REL) $(RST) $(SYM) rm -f $(PROGS) $(PCDB) $(PLNK) $(PMAP) $(PMEM) $(PAOM) |
