2015-09-10 13:29:21 -03:00
|
|
|
|
2016-02-10 13:38:00 -04:00
|
|
|
set(CONFIG_SHMEM "1")
|
|
|
|
|
2015-09-10 19:00:20 -03:00
|
|
|
# Run a full link with build stubs to make sure qurt target isn't broken
|
2016-02-10 13:38:00 -04:00
|
|
|
set(QURT_ENABLE_STUBS "1")
|
2015-09-10 19:00:20 -03:00
|
|
|
|
2016-01-19 03:16:31 -04:00
|
|
|
if ("$ENV{HEXAGON_SDK_ROOT}" STREQUAL "")
|
|
|
|
message(FATAL_ERROR "Enviroment variable HEXAGON_SDK_ROOT must be set")
|
|
|
|
else()
|
|
|
|
set(HEXAGON_SDK_ROOT $ENV{HEXAGON_SDK_ROOT})
|
|
|
|
endif()
|
|
|
|
|
2017-03-28 11:10:17 -03:00
|
|
|
set(DISABLE_PARAMS_MODULE_SCOPING TRUE)
|
2016-05-05 03:09:59 -03:00
|
|
|
|
2016-10-19 11:53:11 -03:00
|
|
|
# Get $QC_SOC_TARGET from environment if existing.
|
|
|
|
if (DEFINED ENV{QC_SOC_TARGET})
|
|
|
|
set(QC_SOC_TARGET $ENV{QC_SOC_TARGET})
|
|
|
|
else()
|
|
|
|
set(QC_SOC_TARGET "APQ8074")
|
|
|
|
endif()
|
|
|
|
|
|
|
|
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${PX4_SOURCE_DIR}/cmake/cmake_hexagon")
|
|
|
|
include(toolchain/Toolchain-qurt)
|
|
|
|
include(qurt_flags)
|
|
|
|
include_directories(${HEXAGON_SDK_INCLUDES})
|
|
|
|
|
2015-09-11 01:52:55 -03:00
|
|
|
set(config_module_list
|
|
|
|
drivers/device
|
2017-08-29 18:22:05 -03:00
|
|
|
drivers/boards
|
2015-09-11 01:52:55 -03:00
|
|
|
drivers/pwm_out_sim
|
|
|
|
drivers/led
|
|
|
|
drivers/rgbled
|
|
|
|
modules/sensors
|
2015-09-10 13:29:21 -03:00
|
|
|
|
2015-09-11 01:52:55 -03:00
|
|
|
#
|
|
|
|
# System commands
|
|
|
|
#
|
|
|
|
systemcmds/param
|
2017-02-24 05:22:56 -04:00
|
|
|
systemcmds/led
|
2015-09-11 01:52:55 -03:00
|
|
|
systemcmds/mixer
|
2015-09-08 05:20:48 -03:00
|
|
|
|
2015-09-11 01:52:55 -03:00
|
|
|
#
|
2016-08-06 15:36:38 -03:00
|
|
|
# Estimation modules
|
2015-09-11 01:52:55 -03:00
|
|
|
#
|
|
|
|
modules/attitude_estimator_q
|
|
|
|
modules/position_estimator_inav
|
2016-08-06 15:36:38 -03:00
|
|
|
modules/local_position_estimator
|
|
|
|
modules/ekf2
|
2015-09-08 05:20:48 -03:00
|
|
|
|
2015-09-11 01:52:55 -03:00
|
|
|
#
|
|
|
|
# Vehicle Control
|
|
|
|
#
|
|
|
|
modules/mc_att_control
|
|
|
|
modules/mc_pos_control
|
2015-09-08 05:20:48 -03:00
|
|
|
|
2015-09-11 01:52:55 -03:00
|
|
|
#
|
|
|
|
# Library modules
|
|
|
|
#
|
2017-06-05 16:24:10 -03:00
|
|
|
modules/systemlib/param
|
2015-09-11 01:52:55 -03:00
|
|
|
modules/systemlib
|
|
|
|
modules/uORB
|
|
|
|
modules/commander
|
2015-09-08 05:20:48 -03:00
|
|
|
|
2015-09-11 01:52:55 -03:00
|
|
|
#
|
|
|
|
# Libraries
|
|
|
|
#
|
2016-04-14 15:07:28 -03:00
|
|
|
lib/controllib
|
2015-09-11 01:52:55 -03:00
|
|
|
lib/conversion
|
2017-10-12 10:13:06 -03:00
|
|
|
lib/DriverFramework/framework
|
2015-09-21 12:58:38 -03:00
|
|
|
lib/ecl
|
2017-10-12 10:13:06 -03:00
|
|
|
lib/geo
|
|
|
|
lib/geo_lookup
|
2017-02-24 05:22:56 -04:00
|
|
|
lib/led
|
2017-10-12 10:13:06 -03:00
|
|
|
lib/mathlib
|
|
|
|
lib/mathlib/math/filter
|
|
|
|
lib/mixer
|
2015-11-06 17:48:44 -04:00
|
|
|
lib/runway_takeoff
|
2015-12-11 05:57:41 -04:00
|
|
|
lib/tailsitter_recovery
|
2017-10-12 10:13:06 -03:00
|
|
|
lib/terrain_estimation
|
2016-12-20 09:59:21 -04:00
|
|
|
lib/version
|
2015-09-08 05:20:48 -03:00
|
|
|
|
2015-09-11 01:52:55 -03:00
|
|
|
#
|
|
|
|
# QuRT port
|
|
|
|
#
|
|
|
|
platforms/common
|
|
|
|
platforms/qurt/px4_layer
|
|
|
|
platforms/posix/work_queue
|
2015-09-08 05:20:48 -03:00
|
|
|
|
2015-09-11 01:52:55 -03:00
|
|
|
#
|
|
|
|
# sources for muorb over fastrpc
|
|
|
|
#
|
|
|
|
modules/muorb/adsp
|
|
|
|
)
|
2015-09-08 05:20:48 -03:00
|
|
|
|