X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Ftelemetrum-v4.0%2FMakefile;h=5191640754ef55da8be8a4430fb74d16b84a2bf8;hb=ff21e293ee8185b19a30df74ca7a1610625ef465;hp=e1b627b954e06c4ab78c3035e632238acb052449;hpb=13a9247afabfaf93ebf46f9a33862864d2772074;p=fw%2Faltos diff --git a/src/telemetrum-v4.0/Makefile b/src/telemetrum-v4.0/Makefile index e1b627b9..51916407 100644 --- a/src/telemetrum-v4.0/Makefile +++ b/src/telemetrum-v4.0/Makefile @@ -20,18 +20,15 @@ INC = \ ao_ms5607.h \ ao_adxl375.h \ ao_cc1200_CC1200.h \ - ao_profile.h \ ao_task.h \ ao_whiten.h \ - ao_sample_profile.h \ - ao_mpu.h \ samd21.h \ Makefile # SAMD21G17D SAMD21_ROM=128 -SAMD21_RAM=32 +SAMD21_RAM=16 #PROFILE=ao_profile.c #PROFILE_DEF=-DAO_PROFILE=1 @@ -56,27 +53,24 @@ ALTOS_SRC = \ ao_panic.c \ ao_timer.c \ ao_mutex.c \ - ao_serial_stm.c \ + ao_serial_samd21.c \ ao_gps_ublox.c \ ao_gps_show.c \ ao_gps_report_metrum.c \ ao_ignite.c \ ao_freq.c \ - ao_dma_stm.c \ - ao_spi_stm.c \ + ao_dma_samd21.c \ + ao_spi_samd21.c \ ao_cc1200.c \ - ao_fec_tx.c \ - ao_fec_rx.c \ ao_data.c \ ao_ms5607.c \ ao_adxl375.c \ - ao_adc_stm.c \ - ao_beep_stm.c \ + ao_adc_samd21.c \ + ao_beep_samd21.c \ ao_storage.c \ ao_m25.c \ ao_usb_samd21.c \ - ao_exti_stm.c \ - ao_eeprom_stm.c \ + ao_exti_samd21.c \ ao_report.c \ ao_convert_pa.c \ ao_convert_volt.c \ @@ -100,7 +94,6 @@ IDPRODUCT=0x000b CFLAGS = $(PRODUCT_DEF) $(SAMD21_CFLAGS) $(PROFILE_DEF) $(SAMPLE_PROFILE_DEF) $(STACK_GUARD_DEF) - PROGNAME=telemetrum-v4.0 PROG=$(PROGNAME)-$(VERSION).elf HEX=$(PROGNAME)-$(VERSION).ihx @@ -110,7 +103,7 @@ OBJ=$(SRC:.c=.o) all: $(PROG) $(HEX) -$(PROG): Makefile $(OBJ) altos.ld +$(PROG): Makefile $(OBJ) $(call quiet,CC) $(LDFLAGS) -o $(PROG) $(OBJ) $(LIBS) $(OBJ): $(INC)