mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-21 01:12:11 +00:00
* Use DriverFramework as a PX4 module Targets wanting to use DriverFramework must add lib/DriverFramework/framework to their config file. Signed-off-by: Mark Charlebois <charlebm@gmail.com> * Removed spurious code No need to add if check before for loop Signed-off-by: Mark Charlebois <charlebm@gmail.com> * Added DriverFramework to NuttX configs Added lib/DriverFramework/firmware to nuttx configs Signed-off-by: Mark Charlebois <charlebm@gmail.com> * Updated src/lib/DriverFramework * Removed DF_TARGET and __DF_${OS} defines These are now handled inside DriverFramework Signed-off-by: Mark Charlebois <charlebm@gmail.com> * Updated DriverFramework Signed-off-by: Mark Charlebois <charlebm@gmail.com> * Restored __DF_${OS} The include files in DriverFramwork need to know the target OS. Signed-off-by: Mark Charlebois <charlebm@gmail.com>
47 lines
866 B
CMake
47 lines
866 B
CMake
include(posix/px4_impl_posix)
|
|
|
|
set(CMAKE_TOOLCHAIN_FILE ${CMAKE_SOURCE_DIR}/cmake/toolchains/Toolchain-arm-linux-gnueabihf.cmake)
|
|
|
|
set(CONFIG_SHMEM "1")
|
|
|
|
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/cmake_hexagon")
|
|
|
|
# A temporary build option to support the use of the legacy (non DriverFramework) drivers.
|
|
add_definitions(
|
|
-D__USING_SNAPDRAGON_LEGACY_DRIVER
|
|
)
|
|
|
|
set(config_module_list
|
|
drivers/device
|
|
drivers/boards/sitl
|
|
drivers/led
|
|
|
|
systemcmds/param
|
|
systemcmds/ver
|
|
|
|
modules/mavlink
|
|
|
|
modules/param
|
|
modules/systemlib
|
|
modules/uORB
|
|
modules/dataman
|
|
modules/sdlog2
|
|
modules/simulator
|
|
modules/commander
|
|
|
|
lib/controllib
|
|
lib/mathlib
|
|
lib/mathlib/math/filter
|
|
lib/geo
|
|
lib/geo_lookup
|
|
lib/conversion
|
|
lib/DriverFramework/framework
|
|
|
|
platforms/common
|
|
platforms/posix/px4_layer
|
|
platforms/posix/work_queue
|
|
|
|
modules/muorb/krait
|
|
)
|
|
|