From 5b6fae5380be2e22dfdfe804adfb2900768bf949 Mon Sep 17 00:00:00 2001 From: jwilson Date: Mon, 2 May 2016 14:54:29 -0700 Subject: [PATCH] Adding config changes to allow PX4 to be built for the Excelsior board. --- cmake/configs/posix_excelsior_default.cmake | 5 ++ cmake/configs/posix_sdflight_default.cmake | 56 +++++++++++++++++++++ cmake/configs/qurt_excelsior_default.cmake | 6 +++ 3 files changed, 67 insertions(+) create mode 100644 cmake/configs/posix_excelsior_default.cmake create mode 100644 cmake/configs/posix_sdflight_default.cmake create mode 100644 cmake/configs/qurt_excelsior_default.cmake diff --git a/cmake/configs/posix_excelsior_default.cmake b/cmake/configs/posix_excelsior_default.cmake new file mode 100644 index 0000000000..2fd57a9ddd --- /dev/null +++ b/cmake/configs/posix_excelsior_default.cmake @@ -0,0 +1,5 @@ +include(configs/posix_sdflight_default) +add_definitions( + -D__PX4_POSIX_EXCELSIOR +) + diff --git a/cmake/configs/posix_sdflight_default.cmake b/cmake/configs/posix_sdflight_default.cmake new file mode 100644 index 0000000000..d95fcaa4f1 --- /dev/null +++ b/cmake/configs/posix_sdflight_default.cmake @@ -0,0 +1,56 @@ +include(posix/px4_impl_posix) + +set(CMAKE_TOOLCHAIN_FILE ${CMAKE_SOURCE_DIR}/cmake/toolchains/Toolchain-arm-linux-gnueabihf.cmake) + +set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/cmake_hexagon") + +set(CONFIG_SHMEM "1") + +set(config_module_list + drivers/device + drivers/blinkm + drivers/pwm_out_sim + drivers/rgbled + drivers/led + drivers/boards/sitl + drivers/qshell/posix + + systemcmds/param + systemcmds/mixer + systemcmds/ver + systemcmds/topic_listener + + modules/mavlink + + modules/attitude_estimator_ekf + modules/ekf_att_pos_estimator + + modules/mc_pos_control + modules/mc_att_control + + modules/param + modules/systemlib + modules/systemlib/mixer + modules/uORB + modules/muorb/krait + modules/sensors + modules/dataman + modules/sdlog2 + modules/simulator + modules/commander + + lib/controllib + lib/mathlib + lib/mathlib/math/filter + lib/conversion + lib/ecl + lib/geo + lib/geo_lookup + lib/terrain_estimation + lib/runway_takeoff + lib/tailsitter_recovery + + platforms/common + platforms/posix/px4_layer + platforms/posix/work_queue + ) diff --git a/cmake/configs/qurt_excelsior_default.cmake b/cmake/configs/qurt_excelsior_default.cmake new file mode 100644 index 0000000000..ef9b549d49 --- /dev/null +++ b/cmake/configs/qurt_excelsior_default.cmake @@ -0,0 +1,6 @@ +include(configs/qurt_eagle_default) + +add_definitions( + -D__PX4_QURT_EXCELSIOR +) +