[tests] add test_module target

This commit is contained in:
Felix Ruess
2015-11-23 16:25:08 +01:00
parent 40939beb79
commit 710c38da37
2 changed files with 19 additions and 0 deletions
+2
View File
@@ -83,6 +83,8 @@
<subsystem name="imu" type="aspirin_v2.2"/>
<subsystem name="ahrs" type="int_cmpl_quat"/>
</target>
<target name="test_module" board="lisa_mx_2.0">
</target>
</firmware>
<autopilot name="rotorcraft_autopilot.xml" freq="512"/>
+17
View File
@@ -473,3 +473,20 @@ test_settings.srcs += subsystems/settings.c
test_settings.srcs += $(SRC_ARCH)/subsystems/settings_arch.c
test_settings.srcs += test/subsystems/test_settings.c
test_settings.CFLAGS += -DUSE_PERSISTENT_SETTINGS
#
# test_module
#
# configuration
# SYS_TIME_LED
# MODEM_PORT
# MODEM_BAUD
#
test_module.ARCHDIR = $(ARCH)
test_module.CFLAGS += $(COMMON_TEST_CFLAGS)
test_module.srcs += $(COMMON_TEST_SRCS)
test_module.CFLAGS += $(COMMON_TELEMETRY_CFLAGS)
test_module.srcs += $(COMMON_TELEMETRY_SRCS)
test_module.srcs += mcu_periph/i2c.c $(SRC_ARCH)/mcu_periph/i2c_arch.c
test_module.srcs += test/test_module.c