2016-05-05 15:51:41 -03:00
|
|
|
include(qurt/px4_impl_qurt)
|
|
|
|
|
|
|
|
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()
|
|
|
|
|
|
|
|
set(CONFIG_SHMEM "1")
|
|
|
|
|
|
|
|
set(config_generate_parameters_scope ALL)
|
|
|
|
|
2016-10-13 10:47:32 -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()
|
|
|
|
|
2016-08-18 16:37:23 -03:00
|
|
|
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${PX4_SOURCE_DIR}/cmake/cmake_hexagon")
|
2016-10-14 06:52:15 -03:00
|
|
|
include(toolchain/Toolchain-qurt)
|
|
|
|
include(qurt_flags)
|
|
|
|
include_directories(${HEXAGON_SDK_INCLUDES})
|
|
|
|
|
2016-05-05 15:51:41 -03:00
|
|
|
|
|
|
|
set(config_module_list
|
|
|
|
#
|
|
|
|
# Board support modules
|
|
|
|
#
|
|
|
|
drivers/device
|
|
|
|
modules/sensors
|
|
|
|
platforms/posix/drivers/df_mpu9250_wrapper
|
|
|
|
platforms/posix/drivers/df_bmp280_wrapper
|
|
|
|
platforms/posix/drivers/df_hmc5883_wrapper
|
|
|
|
platforms/posix/drivers/df_trone_wrapper
|
|
|
|
platforms/posix/drivers/df_isl29501_wrapper
|
|
|
|
|
|
|
|
#
|
|
|
|
# System commands
|
|
|
|
#
|
|
|
|
systemcmds/param
|
|
|
|
|
|
|
|
#
|
2016-08-06 15:36:38 -03:00
|
|
|
# Estimation modules
|
2016-05-05 15:51:41 -03:00
|
|
|
#
|
|
|
|
modules/attitude_estimator_q
|
|
|
|
modules/position_estimator_inav
|
2016-08-06 15:36:38 -03:00
|
|
|
modules/local_position_estimator
|
2016-05-05 15:51:41 -03:00
|
|
|
modules/ekf2
|
|
|
|
|
|
|
|
#
|
|
|
|
# Vehicle Control
|
|
|
|
#
|
|
|
|
modules/mc_att_control
|
|
|
|
modules/mc_pos_control
|
|
|
|
|
|
|
|
#
|
|
|
|
# Library modules
|
|
|
|
#
|
|
|
|
modules/param
|
|
|
|
modules/systemlib
|
|
|
|
modules/systemlib/mixer
|
|
|
|
modules/uORB
|
|
|
|
modules/commander
|
|
|
|
modules/land_detector
|
|
|
|
|
|
|
|
#
|
|
|
|
# PX4 drivers
|
|
|
|
#
|
|
|
|
drivers/gps
|
2016-12-16 13:41:45 -04:00
|
|
|
#drivers/pwm_out_rc_in
|
2016-05-05 15:51:41 -03:00
|
|
|
drivers/qshell/qurt
|
2016-12-16 13:41:45 -04:00
|
|
|
drivers/snapdragon_pwm_out
|
|
|
|
|
2016-05-05 15:51:41 -03:00
|
|
|
#
|
|
|
|
# Libraries
|
|
|
|
#
|
|
|
|
lib/controllib
|
|
|
|
lib/mathlib
|
|
|
|
lib/mathlib/math/filter
|
|
|
|
lib/geo
|
|
|
|
lib/ecl
|
|
|
|
lib/geo_lookup
|
|
|
|
lib/conversion
|
|
|
|
lib/terrain_estimation
|
|
|
|
lib/runway_takeoff
|
|
|
|
lib/tailsitter_recovery
|
|
|
|
lib/DriverFramework/framework
|
|
|
|
|
|
|
|
#
|
|
|
|
# QuRT port
|
|
|
|
#
|
|
|
|
platforms/common
|
|
|
|
platforms/qurt/px4_layer
|
|
|
|
platforms/posix/work_queue
|
|
|
|
|
|
|
|
#
|
|
|
|
# sources for muorb over fastrpc
|
|
|
|
#
|
|
|
|
modules/muorb/adsp
|
|
|
|
)
|
|
|
|
|
|
|
|
set(config_df_driver_list
|
|
|
|
mpu9250
|
|
|
|
bmp280
|
|
|
|
hmc5883
|
|
|
|
trone
|
|
|
|
isl29501
|
|
|
|
)
|