X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Fmegametrum-v0.1%2FMakefile;h=b0f2a61211fb37c2000bbf43ba0e2f9ceda15157;hb=0dd9e1dd62656a931f9559af6da9131f704f83f9;hp=6347f8c3ad96f0ed1bdf50d0e9a1a486a84e79ff;hpb=0993595035a2813deba6991fa25bc0d475f2e6bb;p=fw%2Faltos diff --git a/src/megametrum-v0.1/Makefile b/src/megametrum-v0.1/Makefile index 6347f8c3..b0f2a612 100644 --- a/src/megametrum-v0.1/Makefile +++ b/src/megametrum-v0.1/Makefile @@ -8,10 +8,12 @@ include ../stm/Makefile.defs INC = \ ao.h \ ao_arch.h \ + ao_arch_funcs.h \ ao_pins.h \ altitude.h \ ao_kalman.h \ - ao_product.h + ao_product.h \ + ao_ms5607.h # # Common AltOS sources @@ -31,7 +33,14 @@ ALTOS_SRC = \ ao_serial_stm.c \ ao_gps_skytraq.c \ ao_cc1120.c \ - ao_freq.c + ao_freq.c \ + ao_dma_stm.c \ + ao_spi_stm.c \ + ao_ms5607.c \ + ao_adc_stm.c \ + ao_beep_stm.c \ + ao_storage.c \ + ao_m25.c PRODUCT=MegaMetrum-v0.1 PRODUCT_DEF=-DMEGAMETRUM @@ -39,7 +48,7 @@ IDPRODUCT=0x000a CFLAGS = $(PRODUCT_DEF) $(STM_CFLAGS) -Os -g -PROG=megametrum-v0.1-$(VERSION).ihx +PROG=megametrum-v0.1-$(VERSION).elf SRC=$(ALTOS_SRC) ao_megametrum.c OBJ=$(SRC:.c=.o)