2016-01-02 04:30:51 -04:00
|
|
|
include(qurt/px4_impl_qurt)
|
|
|
|
|
2016-01-02 07:51:26 -04:00
|
|
|
#if ("${HEXAGON_DRIVERS_ROOT}" #STREQUAL "")
|
|
|
|
# message(FATAL_ERROR "HEXAGON_DRIVERS_ROOT is not set")
|
|
|
|
#endif()
|
2016-01-02 04:30:51 -04:00
|
|
|
|
2016-01-02 07:51:26 -04:00
|
|
|
#if ("${EAGLE_DRIVERS_SRC}" STREQUAL "")
|
|
|
|
# message(FATAL_ERROR "EAGLE_DRIVERS_SRC is not set")
|
|
|
|
#endif()
|
2016-01-02 04:30:51 -04:00
|
|
|
|
2016-01-02 07:51:26 -04:00
|
|
|
#include_directories(${HEXAGON_DRIVERS_ROOT}/inc)
|
2016-01-02 04:30:51 -04:00
|
|
|
|
2016-02-03 05:46:17 -04:00
|
|
|
set(CONFIG_SHMEM "1")
|
|
|
|
|
2016-01-02 04:30:51 -04:00
|
|
|
# For Actual flight we need to link against the driver dynamic libraries
|
2016-01-10 03:00:59 -04:00
|
|
|
#set(target_libraries
|
|
|
|
# -L${HEXAGON_DRIVERS_ROOT}/libs
|
2016-01-02 04:30:51 -04:00
|
|
|
# The plan is to replace these with our drivers
|
|
|
|
# mpu9x50
|
|
|
|
# uart_esc
|
|
|
|
# csr_gps
|
|
|
|
# rc_receiver
|
2016-01-10 03:00:59 -04:00
|
|
|
# )
|
2016-01-02 04:30:51 -04:00
|
|
|
|
|
|
|
|
2016-01-10 03:00:59 -04:00
|
|
|
set(CMAKE_TOOLCHAIN_FILE ${CMAKE_SOURCE_DIR}/cmake/cmake_hexagon/toolchain/Toolchain-qurt.cmake)
|
|
|
|
include(${CMAKE_SOURCE_DIR}/cmake/cmake_hexagon/qurt_app.cmake)
|
2016-01-02 04:30:51 -04:00
|
|
|
|
|
|
|
set(config_module_list
|
|
|
|
#
|
|
|
|
# Board support modules
|
|
|
|
#
|
|
|
|
drivers/device
|
|
|
|
modules/sensors
|
|
|
|
# The plan is to replace these with our drivers
|
|
|
|
# $(EAGLE_DRIVERS_SRC)/mpu9x50
|
|
|
|
# $(EAGLE_DRIVERS_SRC)/uart_esc
|
|
|
|
# $(EAGLE_DRIVERS_SRC)/rc_receiver
|
|
|
|
# $(EAGLE_DRIVERS_SRC)/csr_gps
|
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-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
|
|
|
|
|
|
|
|
#
|
|
|
|
# Vehicle Control
|
|
|
|
#
|
|
|
|
modules/mc_att_control
|
|
|
|
modules/mc_pos_control
|
|
|
|
|
|
|
|
#
|
|
|
|
# Library modules
|
|
|
|
#
|
|
|
|
modules/param
|
|
|
|
modules/systemlib
|
|
|
|
modules/systemlib/mixer
|
|
|
|
modules/uORB
|
|
|
|
modules/commander
|
|
|
|
modules/controllib
|
|
|
|
|
|
|
|
#
|
|
|
|
# Libraries
|
|
|
|
#
|
|
|
|
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
|
|
|
|
|
|
|
|
#
|
|
|
|
# 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
|
|
|
|
)
|