X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Fproduct%2FMakefile.telenano;h=e1e350a610e332915108fdda0b9217cb4e8bd4ab;hb=master;hp=56db1c2c89193aa8911bffdf61713cbf3ce57867;hpb=5fd869b244f8f2b76258dc31a5507a73fd47cf1d;p=fw%2Faltos diff --git a/src/product/Makefile.telenano b/src/product/Makefile.telenano deleted file mode 100644 index 56db1c2c..00000000 --- a/src/product/Makefile.telenano +++ /dev/null @@ -1,101 +0,0 @@ -# -# TeleNano build file -# -# Define TELENANO_VER and TELENANO_DEF and then -# include this file - -vpath %.c ..:../core:../cc1111:../drivers:../product -vpath %.h ..:../core:../cc1111:../drivers:../product -vpath ao-make-product.5c ../util - -ifndef VERSION -include ../Version -endif - -INC = \ - ao.h \ - ao_pins.h \ - cc1111.h \ - ao_product.h - -CORE_SRC = \ - ao_cmd.c \ - ao_config.c \ - ao_convert.c \ - ao_flight_nano.c \ - ao_kalman.c \ - ao_log.c \ - ao_log_tiny.c \ - ao_mutex.c \ - ao_panic.c \ - ao_report.c \ - ao_sample_mm.c \ - ao_stdio.c \ - ao_storage.c \ - ao_task.c \ - ao_telemetry.c \ - ao_freq.c - -CC1111_SRC = \ - ao_adc.c \ - ao_dma.c \ - ao_intflash.c \ - ao_led.c \ - ao_packet.c \ - ao_packet_slave.c \ - ao_radio.c \ - ao_romconfig.c \ - ao_string.c \ - ao_timer.c \ - _bp.c - -DRIVER_SRC = - -PRODUCT_SRC = \ - ao_telenano.c - -SRC = \ - $(CORE_SRC) \ - $(CC1111_SRC) \ - $(DRIVER_SRC) \ - $(PRODUCT_SRC) - -PROG = telenano-v$(TELENANO_VER)-$(VERSION).ihx -PRODUCT=TeleNano-v$(TELENANO_VER) -PRODUCT_DEF=-DTELENANO_V_$(TELENANO_DEF) -IDPRODUCT=0x000a -CODESIZE=0x6700 - -include ../cc1111/Makefile.cc1111 - -NICKLE=nickle -CHECK_STACK=sh ../util/check-stack - -V=0 -# The user has explicitly enabled quiet compilation. -ifeq ($(V),0) -quiet = @printf " $1 $2 $@\n"; $($1) -endif -# Otherwise, print the full command line. -quiet ?= $($1) - -all: ../$(PROG) - -../$(PROG): $(REL) Makefile - $(call quiet,CC) $(LDFLAGS) $(CFLAGS) -o $(PROG) $(REL) && cp $(PROG) $(PMAP) .. - $(call quiet,CHECK_STACK) ../cc1111/ao_arch.h $(PMEM) || rm $@ - -ao_product.h: ao-make-product.5c ../Version - $(call quiet,NICKLE,$<) $< -m altusmetrum.org -i $(IDPRODUCT) -p $(PRODUCT) -v $(VERSION) > $@ - -distclean: clean - -clean: - rm -f $(ADB) $(ASM) $(LNK) $(LST) $(REL) $(RST) $(SYM) - rm -f $(PROG) $(PCDB) $(PLNK) $(PMAP) $(PMEM) $(PAOM) - rm -f ao_product.h - rm -f ../$(PROG) ../$(PMAP) - -install: - -uninstall: