TELEMINI_VER=2.0
TELEMINI_DEF=2_0
-vpath %.c ..:../core:../cc1111:../drivers:../product
-vpath %.h ..:../core:../cc1111:../drivers:../product
+vpath %.c ..:../kernel:../cc1111:../drivers:../product
+vpath %.h ..:../kernel:../cc1111:../drivers:../product
vpath ao-make-product.5c ../util
ifndef VERSION
ao_ms5607_convert_8051.c \
ao_product.h \
ao_int64.h \
- ao_sample.h
+ ao_sample.h \
+ ao_exti.h \
+ ao_task.h \
+ altitude-pa-small.h
CORE_SRC = \
ao_cmd.c \
ao_config.c \
- ao_convert.c \
ao_flight.c \
ao_kalman.c \
ao_log.c \
ao_spi.c \
ao_usb.c \
ao_convert_pa.c \
- ao_data.c \
+ ao_convert_volt.c \
ao_beep.c \
ao_timer.c \
+ ao_exti.c \
_bp.c
DRIVER_SRC = \
PROG = $(PROGNAME)-$(VERSION).ihx
PRODUCT=TeleMini-v$(TELEMINI_VER)
PRODUCT_DEF=-DTELEMINI_V_$(TELEMINI_DEF)
-IDPRODUCT=0x000a
+IDPRODUCT=0x0027
include ../cc1111/Makefile.cc1111
# Otherwise, print the full command line.
quiet ?= $($1)
-all: ../$(PROG)
+all: $(PROG)
-../$(PROG): $(REL) Makefile
- $(call quiet,CC) $(LDFLAGS) $(CFLAGS) -o $(PROG) $(REL) && cp $(PROG) $(PMAP) ..
+$(PROG): $(REL) Makefile
+ $(call quiet,CC) $(LDFLAGS) $(CFLAGS) -o $(PROG) $(REL)
$(call quiet,CHECK_STACK) ../cc1111/ao_arch.h $(PMEM) || rm $@
ao_product.h: ao-make-product.5c ../Version