Work on px4io firmware building.

This commit is contained in:
James Goppert
2015-09-13 23:20:00 -04:00
parent be45c2e0a9
commit 676a3d230c
15 changed files with 276 additions and 128 deletions
+38 -28
View File
@@ -30,6 +30,43 @@
# POSSIBILITY OF SUCH DAMAGE.
#
############################################################################
set(srcs
test_adc.c
test_bson.c
test_float.c
test_gpio.c
test_hott_telemetry.c
test_hrt.c
test_int.c
test_jig_voltages.c
test_led.c
test_sensors.c
test_servo.c
test_sleep.c
test_uart_baudchange.c
test_uart_console.c
test_uart_loopback.c
test_uart_send.c
test_mixer.cpp
test_mathlib.cpp
test_file.c
test_file2.c
tests_main.c
test_param.c
test_ppm_loopback.c
test_rc.c
test_conv.cpp
test_mount.c
test_eigen.cpp
)
if(${OS} STREQUAL "nuttx")
list(APPEND srcs
test_time.c
)
endif()
px4_add_module(
MODULE systemcmds__tests
MAIN tests
@@ -37,34 +74,7 @@ px4_add_module(
COMPILE_FLAGS
-Wframe-larger-than=6000
-O0
SRCS
test_adc.c
test_bson.c
test_float.c
test_gpio.c
test_hott_telemetry.c
test_hrt.c
test_int.c
test_jig_voltages.c
test_led.c
test_sensors.c
test_servo.c
test_sleep.c
test_uart_baudchange.c
test_uart_console.c
test_uart_loopback.c
test_uart_send.c
test_mixer.cpp
test_mathlib.cpp
test_file.c
test_file2.c
tests_main.c
test_param.c
test_ppm_loopback.c
test_rc.c
test_conv.cpp
test_mount.c
test_eigen.cpp
SRCS ${srcs}
DEPENDS
platforms__common
)