Files
bizhang_-obav/cmake/configs/posix_excelsior_legacy.cmake
2017-01-16 08:25:58 -08:00

15 lines
541 B
CMake

# Excelsior is the code name of a board currently in development.
#
# This cmake config builds for POSIX, so the part of the flight stack running
# on the Linux side of the Snapdragon.
include(configs/posix_sdflight_legacy)
set(CMAKE_TOOLCHAIN_FILE ${PX4_SOURCE_DIR}/cmake/cmake_hexagon/toolchain/Toolchain-arm-oemllib32-linux-gnueabi.cmake)
# This definition allows to differentiate if this just the usual POSIX build
# or if it is for the Snapdragon.
add_definitions(
-D__PX4_POSIX_EXCELSIOR
-D__USING_SNAPDRAGON_LEGACY_DRIVER
)