2015-09-09 23:00:58 -04:00
|
|
|
include(posix/px4_impl_posix)
|
|
|
|
|
|
2016-08-05 21:29:49 +02:00
|
|
|
set(CMAKE_TOOLCHAIN_FILE ${CMAKE_SOURCE_DIR}/cmake/toolchains/Toolchain-native.cmake)
|
2015-09-10 17:44:27 -04:00
|
|
|
|
2015-09-10 23:53:25 -04:00
|
|
|
set(config_module_list
|
|
|
|
|
drivers/boards/sitl
|
2016-04-23 02:20:11 -04:00
|
|
|
drivers/device
|
|
|
|
|
drivers/gps
|
2015-09-20 16:41:11 +02:00
|
|
|
drivers/pwm_out_sim
|
2016-04-23 02:20:11 -04:00
|
|
|
|
2015-09-10 23:53:25 -04:00
|
|
|
platforms/common
|
|
|
|
|
platforms/posix/drivers/accelsim
|
2016-04-23 02:20:11 -04:00
|
|
|
platforms/posix/drivers/adcsim
|
2015-09-10 23:53:25 -04:00
|
|
|
platforms/posix/drivers/airspeedsim
|
|
|
|
|
platforms/posix/drivers/barosim
|
2016-04-23 02:20:11 -04:00
|
|
|
platforms/posix/drivers/gpssim
|
2015-09-10 23:53:25 -04:00
|
|
|
platforms/posix/drivers/gyrosim
|
2015-11-18 11:58:21 -08:00
|
|
|
platforms/posix/drivers/ledsim
|
2016-04-23 02:20:11 -04:00
|
|
|
platforms/posix/drivers/rgbledsim
|
|
|
|
|
platforms/posix/drivers/tonealrmsim
|
|
|
|
|
platforms/posix/px4_layer
|
|
|
|
|
platforms/posix/work_queue
|
|
|
|
|
|
2015-09-10 23:53:25 -04:00
|
|
|
systemcmds/esc_calib
|
2016-04-23 02:20:11 -04:00
|
|
|
systemcmds/mixer
|
|
|
|
|
systemcmds/param
|
|
|
|
|
systemcmds/perf
|
2015-09-10 23:53:25 -04:00
|
|
|
systemcmds/reboot
|
2016-05-10 13:31:04 +02:00
|
|
|
systemcmds/sd_bench
|
2015-09-10 23:53:25 -04:00
|
|
|
systemcmds/topic_listener
|
2016-04-23 02:20:11 -04:00
|
|
|
systemcmds/ver
|
2016-05-28 12:10:19 +02:00
|
|
|
systemcmds/top
|
2016-04-07 20:17:51 +02:00
|
|
|
systemcmds/motor_ramp
|
2016-04-23 02:20:11 -04:00
|
|
|
|
2015-09-10 23:53:25 -04:00
|
|
|
modules/attitude_estimator_ekf
|
|
|
|
|
modules/attitude_estimator_q
|
2016-04-23 02:20:11 -04:00
|
|
|
modules/commander
|
|
|
|
|
modules/dataman
|
2016-01-25 22:42:53 +01:00
|
|
|
modules/ekf2
|
2015-09-10 23:53:25 -04:00
|
|
|
modules/ekf_att_pos_estimator
|
|
|
|
|
modules/fw_att_control
|
|
|
|
|
modules/fw_pos_control_l1
|
2016-04-23 02:20:11 -04:00
|
|
|
modules/land_detector
|
2016-04-25 17:36:13 -04:00
|
|
|
modules/logger
|
2016-04-23 02:20:11 -04:00
|
|
|
modules/mavlink
|
|
|
|
|
modules/mc_att_control
|
|
|
|
|
modules/mc_att_control_multiplatform
|
|
|
|
|
modules/mc_pos_control
|
|
|
|
|
modules/mc_pos_control_multiplatform
|
|
|
|
|
modules/navigator
|
|
|
|
|
modules/param
|
|
|
|
|
modules/position_estimator_inav
|
2016-05-13 22:04:28 +02:00
|
|
|
modules/local_position_estimator
|
2016-06-10 12:43:07 +02:00
|
|
|
modules/replay
|
2016-04-23 02:20:11 -04:00
|
|
|
modules/sdlog2
|
|
|
|
|
modules/sensors
|
|
|
|
|
modules/simulator
|
|
|
|
|
modules/systemlib
|
|
|
|
|
modules/systemlib/mixer
|
|
|
|
|
modules/uORB
|
|
|
|
|
modules/vtol_att_control
|
2016-05-19 00:19:53 -04:00
|
|
|
|
2016-04-14 14:07:28 -04:00
|
|
|
lib/controllib
|
2015-09-10 23:53:25 -04:00
|
|
|
lib/conversion
|
2016-04-23 02:20:11 -04:00
|
|
|
lib/DriverFramework/framework
|
2015-09-10 23:53:25 -04:00
|
|
|
lib/ecl
|
|
|
|
|
lib/external_lgpl
|
|
|
|
|
lib/geo
|
|
|
|
|
lib/geo_lookup
|
|
|
|
|
lib/launchdetection
|
2016-04-23 02:20:11 -04:00
|
|
|
lib/mathlib
|
|
|
|
|
lib/mathlib/math/filter
|
2016-07-29 13:27:58 +02:00
|
|
|
lib/rc
|
2015-11-06 22:48:44 +01:00
|
|
|
lib/runway_takeoff
|
2015-12-11 10:57:41 +01:00
|
|
|
lib/tailsitter_recovery
|
2016-04-23 02:20:11 -04:00
|
|
|
lib/terrain_estimation
|
|
|
|
|
|
2015-12-23 09:12:16 +01:00
|
|
|
examples/px4_simple_app
|
2016-05-19 00:19:53 -04:00
|
|
|
|
|
|
|
|
#
|
|
|
|
|
# Testing
|
|
|
|
|
#
|
2016-07-29 13:27:58 +02:00
|
|
|
drivers/sf0x/sf0x_tests
|
|
|
|
|
lib/rc/rc_tests
|
2016-05-19 00:19:53 -04:00
|
|
|
modules/commander/commander_tests
|
|
|
|
|
modules/controllib_test
|
2016-07-29 13:27:58 +02:00
|
|
|
#modules/mavlink/mavlink_tests #TODO: fix mavlink_tests
|
2016-05-19 00:19:53 -04:00
|
|
|
modules/unit_test
|
|
|
|
|
modules/uORB/uORB_tests
|
|
|
|
|
systemcmds/tests
|
|
|
|
|
|
2015-09-10 23:53:25 -04:00
|
|
|
)
|
2015-09-09 23:00:58 -04:00
|
|
|
|
2015-09-10 23:53:25 -04:00
|
|
|
set(config_extra_builtin_cmds
|
2015-09-12 00:24:16 -04:00
|
|
|
serdis
|
|
|
|
|
sercon
|
2015-09-10 23:53:25 -04:00
|
|
|
)
|
2015-09-10 17:44:27 -04:00
|
|
|
|
2015-10-24 10:57:46 -04:00
|
|
|
set(config_sitl_rcS
|
2016-04-21 08:39:28 +02:00
|
|
|
posix-configs/SITL/init/rcS
|
2015-10-24 10:57:46 -04:00
|
|
|
CACHE FILEPATH "init script for sitl"
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
set(config_sitl_viewer
|
|
|
|
|
jmavsim
|
|
|
|
|
CACHE STRING "viewer for sitl"
|
|
|
|
|
)
|
|
|
|
|
set_property(CACHE config_sitl_viewer
|
|
|
|
|
PROPERTY STRINGS "jmavsim;none")
|
|
|
|
|
|
|
|
|
|
set(config_sitl_debugger
|
|
|
|
|
disable
|
|
|
|
|
CACHE STRING "debugger for sitl"
|
|
|
|
|
)
|
|
|
|
|
set_property(CACHE config_sitl_debugger
|
|
|
|
|
PROPERTY STRINGS "disable;gdb;lldb")
|
2016-06-30 15:17:44 +02:00
|
|
|
|
|
|
|
|
# If the environment variable 'replay' is defined, we are building with replay
|
|
|
|
|
# support. In this case, we enable the orb publisher rules.
|
|
|
|
|
set(REPLAY_FILE "$ENV{replay}")
|
|
|
|
|
if(REPLAY_FILE)
|
|
|
|
|
message("Building with uorb publisher rules support")
|
|
|
|
|
add_definitions(-DORB_USE_PUBLISHER_RULES)
|
|
|
|
|
endif()
|
|
|
|
|
|