cmake: try to compile and link everything for MPU

Unfortunately this still gives linking errors.
This commit is contained in:
Julian Oes 2016-02-04 12:37:10 +01:00
parent caa94d58a6
commit 5cf3215e38
4 changed files with 4 additions and 0 deletions

View File

@ -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()

View File

@ -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

View File

@ -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

View File

@ -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