mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-18 06:23:34 +08:00
Work on px4io firmware building.
This commit is contained in:
@@ -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
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user