mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-23 02:13:33 +08:00
* NuttX cmake * px4_macros:Pass the stringified predicate as second arg to static assert CC_ASSERT mapes to the c++ static_assert or provides the same funtionality for c via the other macros. The c++ static assert takes 2 argumants the prdicate and a message. This fixes the lacking second argument. * Updated nuttx and apps submodule to upstream nuttx 7.21+==master This is the latest uptake of upstream nuttx and apps. * ROMFS generate with xxd instead of objcopy * delete nuttx-patches * NuttX update submodules to latest px4_nuttx-master * fix nuttx apps and board dependency * docker_run update to latest container 2017-08-29 * cmake ROMFS portable sed usage * NuttX update submodules to latest px4_nuttx-master
59 lines
1.1 KiB
CMake
59 lines
1.1 KiB
CMake
include(posix/px4_impl_posix)
|
|
|
|
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${PX4_SOURCE_DIR}/cmake/cmake_hexagon")
|
|
|
|
# Use build stubs unless explicitly set not to
|
|
if("${DSPAL_STUBS_ENABLE}" STREQUAL "")
|
|
set(DSPAL_STUBS_ENABLE "1")
|
|
endif()
|
|
|
|
set(CMAKE_TOOLCHAIN_FILE ${PX4_SOURCE_DIR}/cmake/cmake_hexagon/toolchain/Toolchain-arm-linux-gnueabihf.cmake)
|
|
|
|
set(DISABLE_PARAMS_MODULE_SCOPING TRUE)
|
|
|
|
# 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(config_module_list
|
|
drivers/device
|
|
drivers/boards
|
|
drivers/led
|
|
drivers/linux_sbus
|
|
|
|
systemcmds/param
|
|
systemcmds/ver
|
|
|
|
modules/mavlink
|
|
|
|
modules/systemlib/param
|
|
modules/systemlib
|
|
modules/uORB
|
|
modules/sensors
|
|
modules/dataman
|
|
modules/sdlog2
|
|
modules/logger
|
|
modules/simulator
|
|
modules/commander
|
|
|
|
lib/controllib
|
|
lib/mathlib
|
|
lib/mathlib/math/filter
|
|
lib/ecl
|
|
lib/geo
|
|
lib/geo_lookup
|
|
lib/conversion
|
|
lib/version
|
|
lib/DriverFramework/framework
|
|
lib/micro-CDR
|
|
|
|
platforms/common
|
|
platforms/posix/px4_layer
|
|
platforms/posix/work_queue
|
|
modules/muorb/krait
|
|
)
|
|
|