mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-22 01:12:31 +00:00
Needed for the DriverFramework. Fixes the error: 15050 SPIDevObj start failed 15142 DevObj start failed 15185 Unable to open the device path: ERROR [df_lsm9ds1_wrapper] LSM9DS1 start fail: -1 ERROR [df_lsm9ds1_wrapper] DfLsm9ds1Wrapper start failed Command 'df_lsm9ds1_wrapper' failed, returned -1
8 lines
153 B
CMake
8 lines
153 B
CMake
include(configs/posix_rpi_common)
|
|
|
|
add_definitions(
|
|
-D __DF_RPI
|
|
)
|
|
|
|
set(CMAKE_TOOLCHAIN_FILE ${PX4_SOURCE_DIR}/cmake/toolchains/Toolchain-native.cmake)
|