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