2016-01-02 04:30:51 -04:00
|
|
|
include(qurt/px4_impl_qurt)
|
|
|
|
|
2016-04-15 18:42:47 -03: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()
|
2016-01-02 04:30:51 -04:00
|
|
|
|
2016-02-03 05:46:17 -04:00
|
|
|
set(CONFIG_SHMEM "1")
|
2016-05-05 03:09:59 -03:00
|
|
|
|
2016-05-04 18:26:41 -03:00
|
|
|
set(config_generate_parameters_scope ALL)
|
2016-02-03 05:46:17 -04:00
|
|
|
|
2016-01-10 03:00:59 -04:00
|
|
|
set(CMAKE_TOOLCHAIN_FILE ${CMAKE_SOURCE_DIR}/cmake/cmake_hexagon/toolchain/Toolchain-qurt.cmake)
|
2016-04-15 18:42:47 -03:00
|
|
|
|
|
|
|
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/cmake_hexagon")
|
2016-01-02 04:30:51 -04:00
|
|
|
|
|
|
|
set(config_module_list
|
|
|
|
#
|
|
|
|
# Board support modules
|
|
|
|
#
|
|
|
|
drivers/device
|
|
|
|
modules/sensors
|
2016-02-10 10:57:37 -04:00
|
|
|
platforms/posix/drivers/df_mpu9250_wrapper
|
2016-02-11 08:10:43 -04:00
|
|
|
platforms/posix/drivers/df_bmp280_wrapper
|
2016-02-15 08:43:21 -04:00
|
|
|
platforms/posix/drivers/df_hmc5883_wrapper
|
2016-04-04 11:29:30 -03:00
|
|
|
platforms/posix/drivers/df_trone_wrapper
|
2016-04-28 10:31:40 -03:00
|
|
|
platforms/posix/drivers/df_isl29501_wrapper
|
2016-01-02 04:30:51 -04:00
|
|
|
|
|
|
|
#
|
|
|
|
# System commands
|
|
|
|
#
|
|
|
|
systemcmds/param
|
|
|
|
|
|
|
|
#
|
|
|
|
# Estimation modules (EKF/ SO3 / other filters)
|
|
|
|
#
|
|
|
|
#modules/attitude_estimator_ekf
|
|
|
|
modules/ekf_att_pos_estimator
|
|
|
|
modules/attitude_estimator_q
|
|
|
|
modules/position_estimator_inav
|
2016-03-23 06:04:08 -03:00
|
|
|
modules/ekf2
|
2016-01-02 04:30:51 -04:00
|
|
|
|
|
|
|
#
|
|
|
|
# Vehicle Control
|
|
|
|
#
|
|
|
|
modules/mc_att_control
|
|
|
|
modules/mc_pos_control
|
|
|
|
|
|
|
|
#
|
|
|
|
# Library modules
|
|
|
|
#
|
|
|
|
modules/param
|
|
|
|
modules/systemlib
|
|
|
|
modules/systemlib/mixer
|
|
|
|
modules/uORB
|
|
|
|
modules/commander
|
2016-03-22 18:12:40 -03:00
|
|
|
modules/land_detector
|
2016-01-02 04:30:51 -04:00
|
|
|
|
2016-02-15 08:43:21 -04:00
|
|
|
#
|
|
|
|
# PX4 drivers
|
|
|
|
#
|
2016-03-03 07:12:38 -04:00
|
|
|
drivers/gps
|
2016-03-10 05:02:55 -04:00
|
|
|
drivers/uart_esc
|
2016-03-18 10:28:24 -03:00
|
|
|
drivers/qshell/qurt
|
2016-02-15 08:43:21 -04:00
|
|
|
|
2016-01-02 04:30:51 -04:00
|
|
|
#
|
|
|
|
# Libraries
|
|
|
|
#
|
2016-04-14 15:07:28 -03:00
|
|
|
lib/controllib
|
2016-01-02 04:30:51 -04:00
|
|
|
lib/mathlib
|
|
|
|
lib/mathlib/math/filter
|
|
|
|
lib/geo
|
2016-02-03 05:40:32 -04:00
|
|
|
lib/ecl
|
2016-01-02 04:30:51 -04:00
|
|
|
lib/geo_lookup
|
|
|
|
lib/conversion
|
|
|
|
lib/terrain_estimation
|
|
|
|
lib/runway_takeoff
|
|
|
|
lib/tailsitter_recovery
|
2016-05-03 05:03:28 -03:00
|
|
|
lib/DriverFramework/framework
|
2016-01-02 04:30:51 -04:00
|
|
|
|
|
|
|
#
|
|
|
|
# QuRT port
|
|
|
|
#
|
|
|
|
platforms/common
|
|
|
|
platforms/qurt/px4_layer
|
|
|
|
platforms/posix/work_queue
|
|
|
|
|
|
|
|
#
|
|
|
|
# sources for muorb over fastrpc
|
|
|
|
#
|
|
|
|
modules/muorb/adsp
|
|
|
|
)
|
2016-02-09 02:54:25 -04:00
|
|
|
|
|
|
|
set(config_df_driver_list
|
|
|
|
mpu9250
|
|
|
|
bmp280
|
2016-02-15 08:43:21 -04:00
|
|
|
hmc5883
|
2016-04-04 11:29:30 -03:00
|
|
|
trone
|
2016-04-28 10:31:40 -03:00
|
|
|
isl29501
|
2016-02-09 02:54:25 -04:00
|
|
|
)
|