mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-29 14:13:34 +08:00
cmake: add __DF_ defines with comments
This commit is contained in:
@@ -3,9 +3,9 @@ include(posix/px4_impl_posix)
|
||||
set(CMAKE_TOOLCHAIN_FILE ${PX4_SOURCE_DIR}/cmake/toolchains/Toolchain-arm-linux-gnueabihf-raspbian.cmake)
|
||||
|
||||
add_definitions(
|
||||
-D__PX4_POSIX_BEBOP
|
||||
-D__DF_LINUX
|
||||
-D__DF_BEBOP
|
||||
-D__PX4_POSIX_BEBOP
|
||||
-D__DF_LINUX # Define needed DriverFramework
|
||||
-D__DF_BEBOP # Define needed DriverFramework
|
||||
)
|
||||
|
||||
set(CMAKE_PROGRAM_PATH
|
||||
|
||||
@@ -7,7 +7,7 @@ include(posix/px4_impl_posix)
|
||||
# or if it is for the RPi.
|
||||
add_definitions(
|
||||
-D__PX4_POSIX_RPI
|
||||
-D__LINUX
|
||||
-D__DF_LINUX # For DriverFramework
|
||||
)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user