2015-09-10 19:00:20 -03: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-05-05 03:09:59 -03:00
|
|
|
set(config_generate_parameters_scope ALL)
|
|
|
|
|
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
|
|
|
|
|
|
|
|
#
|
|
|
|
# System commands
|
|
|
|
#
|
|
|
|
systemcmds/param
|
|
|
|
|
|
|
|
#
|
|
|
|
# Library modules
|
|
|
|
#
|
2015-09-13 19:55:48 -03:00
|
|
|
modules/param
|
2015-09-11 01:52:55 -03:00
|
|
|
modules/systemlib
|
2015-09-11 22:32:44 -03:00
|
|
|
modules/systemlib/mixer
|
2015-09-11 01:52:55 -03:00
|
|
|
modules/uORB
|
|
|
|
|
|
|
|
#
|
|
|
|
# Libraries
|
|
|
|
#
|
|
|
|
lib/mathlib
|
|
|
|
lib/mathlib/math/filter
|
|
|
|
lib/conversion
|
2016-05-03 05:03:28 -03:00
|
|
|
lib/DriverFramework/framework
|
2015-09-11 01:52:55 -03:00
|
|
|
|
|
|
|
#
|
|
|
|
# QuRT port
|
|
|
|
#
|
|
|
|
platforms/common
|
|
|
|
platforms/qurt/px4_layer
|
|
|
|
platforms/posix/work_queue
|
|
|
|
platforms/qurt/tests/hello
|
2015-09-11 22:32:44 -03:00
|
|
|
platforms/posix/tests/vcdev_test
|
|
|
|
platforms/posix/tests/hrt_test
|
|
|
|
platforms/posix/tests/wqueue
|
2015-09-11 01:52:55 -03:00
|
|
|
)
|
2015-09-10 19:00:20 -03:00
|
|
|
|