projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
altos: Move profiling settings to Makefile
[fw/altos]
/
src
/
megametrum-v0.1
/
Makefile
diff --git
a/src/megametrum-v0.1/Makefile
b/src/megametrum-v0.1/Makefile
index 22a58ff445de4d512cf224eee08f594509606118..6fc9324e1d501a25b15dc88b141ec2486707e865 100644
(file)
--- a/
src/megametrum-v0.1/Makefile
+++ b/
src/megametrum-v0.1/Makefile
@@
-19,6
+19,7
@@
INC = \
ao_hmc5883.h \
ao_mpu6000.h \
ao_cc1120_CC1120.h \
ao_hmc5883.h \
ao_mpu6000.h \
ao_cc1120_CC1120.h \
+ ao_profile.h \
ao_whiten.h \
stm32l.h
ao_whiten.h \
stm32l.h
@@
-26,8
+27,10
@@
INC = \
# Common AltOS sources
#
# Common AltOS sources
#
-# ao_packet.c \
-# ao_packet_slave.c \
+#PROFILE=ao_profile.c
+#PROFILE_DEF=-DAO_PROFILE=1
+
+# ao_hmc5883.c
ALTOS_SRC = \
ao_interrupt.c \
ALTOS_SRC = \
ao_interrupt.c \
@@
-43,6
+46,8
@@
ALTOS_SRC = \
ao_mutex.c \
ao_serial_stm.c \
ao_gps_skytraq.c \
ao_mutex.c \
ao_serial_stm.c \
ao_gps_skytraq.c \
+ ao_gps_report_mega.c \
+ ao_ignite.c \
ao_freq.c \
ao_dma_stm.c \
ao_spi_stm.c \
ao_freq.c \
ao_dma_stm.c \
ao_spi_stm.c \
@@
-58,7
+63,6
@@
ALTOS_SRC = \
ao_exti_stm.c \
ao_report.c \
ao_i2c_stm.c \
ao_exti_stm.c \
ao_report.c \
ao_i2c_stm.c \
- ao_hmc5883.c \
ao_mpu6000.c \
ao_convert_pa.c \
ao_log.c \
ao_mpu6000.c \
ao_convert_pa.c \
ao_log.c \
@@
-66,14
+70,17
@@
ALTOS_SRC = \
ao_sample_mm.c \
ao_kalman.c \
ao_flight_mm.c \
ao_sample_mm.c \
ao_kalman.c \
ao_flight_mm.c \
- ao_telemetry.c
-
+ ao_telemetry.c \
+ ao_packet_slave.c \
+ ao_packet.c \
+ ao_companion.c \
+ $(PROFILE)
PRODUCT=MegaMetrum-v0.1
PRODUCT_DEF=-DMEGAMETRUM
IDPRODUCT=0x0023
PRODUCT=MegaMetrum-v0.1
PRODUCT_DEF=-DMEGAMETRUM
IDPRODUCT=0x0023
-CFLAGS = $(PRODUCT_DEF) $(STM_CFLAGS) -Os -g
+CFLAGS = $(PRODUCT_DEF) $(STM_CFLAGS)
$(PROFILE_DEF)
-Os -g
PROG=megametrum-v0.1-$(VERSION).elf
PROG=megametrum-v0.1-$(VERSION).elf