projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
src/draw: Provide some useful constants
[fw/altos]
/
src
/
telemetrum-v4.0
/
Makefile
diff --git
a/src/telemetrum-v4.0/Makefile
b/src/telemetrum-v4.0/Makefile
index 5733a9d0482fea954954cf4b861971f039974b1e..5191640754ef55da8be8a4430fb74d16b84a2bf8 100644
(file)
--- a/
src/telemetrum-v4.0/Makefile
+++ b/
src/telemetrum-v4.0/Makefile
@@
-20,14
+20,16
@@
INC = \
ao_ms5607.h \
ao_adxl375.h \
ao_cc1200_CC1200.h \
ao_ms5607.h \
ao_adxl375.h \
ao_cc1200_CC1200.h \
- ao_profile.h \
ao_task.h \
ao_whiten.h \
ao_task.h \
ao_whiten.h \
- ao_sample_profile.h \
- ao_mpu.h \
samd21.h \
Makefile
samd21.h \
Makefile
+# SAMD21G17D
+
+SAMD21_ROM=128
+SAMD21_RAM=16
+
#PROFILE=ao_profile.c
#PROFILE_DEF=-DAO_PROFILE=1
#PROFILE=ao_profile.c
#PROFILE_DEF=-DAO_PROFILE=1
@@
-51,27
+53,24
@@
ALTOS_SRC = \
ao_panic.c \
ao_timer.c \
ao_mutex.c \
ao_panic.c \
ao_timer.c \
ao_mutex.c \
- ao_serial_s
tm
.c \
+ ao_serial_s
amd21
.c \
ao_gps_ublox.c \
ao_gps_show.c \
ao_gps_report_metrum.c \
ao_ignite.c \
ao_freq.c \
ao_gps_ublox.c \
ao_gps_show.c \
ao_gps_report_metrum.c \
ao_ignite.c \
ao_freq.c \
- ao_dma_s
tm
.c \
- ao_spi_s
tm
.c \
+ ao_dma_s
amd21
.c \
+ ao_spi_s
amd21
.c \
ao_cc1200.c \
ao_cc1200.c \
- ao_fec_tx.c \
- ao_fec_rx.c \
ao_data.c \
ao_ms5607.c \
ao_adxl375.c \
ao_data.c \
ao_ms5607.c \
ao_adxl375.c \
- ao_adc_s
tm
.c \
- ao_beep_s
tm
.c \
+ ao_adc_s
amd21
.c \
+ ao_beep_s
amd21
.c \
ao_storage.c \
ao_m25.c \
ao_usb_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 \
ao_report.c \
ao_convert_pa.c \
ao_convert_volt.c \
@@
-95,7
+94,6
@@
IDPRODUCT=0x000b
CFLAGS = $(PRODUCT_DEF) $(SAMD21_CFLAGS) $(PROFILE_DEF) $(SAMPLE_PROFILE_DEF) $(STACK_GUARD_DEF)
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
PROGNAME=telemetrum-v4.0
PROG=$(PROGNAME)-$(VERSION).elf
HEX=$(PROGNAME)-$(VERSION).ihx
@@
-105,7
+103,7
@@
OBJ=$(SRC:.c=.o)
all: $(PROG) $(HEX)
all: $(PROG) $(HEX)
-$(PROG): Makefile $(OBJ)
altos.ld
+$(PROG): Makefile $(OBJ)
$(call quiet,CC) $(LDFLAGS) -o $(PROG) $(OBJ) $(LIBS)
$(OBJ): $(INC)
$(call quiet,CC) $(LDFLAGS) -o $(PROG) $(OBJ) $(LIBS)
$(OBJ): $(INC)