mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
cmake: try to compile and link everything for MPU
Unfortunately this still gives linking errors.
This commit is contained in:
parent
caa94d58a6
commit
5cf3215e38
@ -346,6 +346,7 @@ endforeach()
|
||||
add_subdirectory(src/firmware/${OS})
|
||||
|
||||
add_subdirectory(src/lib/DriverFramework/framework/src)
|
||||
add_subdirectory(src/lib/DriverFramework/drivers/)
|
||||
#add_dependencies(df_driver_framework nuttx_export_${CONFIG}.stamp)
|
||||
if (NOT "${OS}" STREQUAL "nuttx")
|
||||
endif()
|
||||
|
||||
@ -643,6 +643,7 @@ function(px4_add_common_flags)
|
||||
${CMAKE_BINARY_DIR}/src/modules
|
||||
${CMAKE_SOURCE_DIR}/mavlink/include/mavlink
|
||||
${CMAKE_SOURCE_DIR}/src/lib/DriverFramework/framework/include
|
||||
${CMAKE_SOURCE_DIR}/src/lib/DriverFramework/drivers/imu
|
||||
)
|
||||
|
||||
list(APPEND added_include_dirs
|
||||
|
||||
@ -18,6 +18,7 @@ set(config_module_list
|
||||
platforms/posix/drivers/gyrosim
|
||||
platforms/posix/drivers/rgbledsim
|
||||
platforms/posix/drivers/ledsim
|
||||
platforms/posix/drivers/df_imu
|
||||
systemcmds/param
|
||||
systemcmds/mixer
|
||||
systemcmds/ver
|
||||
|
||||
@ -37,6 +37,7 @@ set(config_module_list
|
||||
# $(EAGLE_DRIVERS_SRC)/uart_esc
|
||||
# $(EAGLE_DRIVERS_SRC)/rc_receiver
|
||||
# $(EAGLE_DRIVERS_SRC)/csr_gps
|
||||
platforms/posix/drivers/df_imu
|
||||
|
||||
#
|
||||
# System commands
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user