ao_hmc5883.h \
ao_mpu6000.h \
ao_cc1120_CC1120.h \
+ ao_profile.h \
ao_whiten.h \
stm32l.h
# 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 \
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_cc1120.c \
ao_fec_tx.c \
+ ao_fec_rx.c \
ao_ms5607.c \
ao_adc_stm.c \
ao_beep_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_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
-CFLAGS = $(PRODUCT_DEF) $(STM_CFLAGS) -Os -g
+CFLAGS = $(PRODUCT_DEF) $(STM_CFLAGS) $(PROFILE_DEF) -Os -g
PROG=megametrum-v0.1-$(VERSION).elf