Adding additional changes to the legacy driver config files, originally in the non-legacy driver config files.

This commit is contained in:
jwilson 2016-04-19 18:45:06 -07:00 committed by Lorenz Meier
parent d2ecd3c9f5
commit f76bc2aa18
4 changed files with 6 additions and 3 deletions

View File

@ -10,7 +10,7 @@ set(CONFIG_SHMEM "1")
# or if it is for the Snapdragon. # or if it is for the Snapdragon.
add_definitions( add_definitions(
-D__PX4_POSIX_EAGLE -D__PX4_POSIX_EAGLE
-D__USING_SNAPDRAGON_LEGACY_DRIVER -D__USING_SNAPDRAGON_LEGACY_DRIVER
) )
set(config_module_list set(config_module_list

View File

@ -6,6 +6,7 @@ set(CONFIG_SHMEM "1")
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/cmake_hexagon") set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/cmake_hexagon")
# A temporary build option to support the use of the legacy (non DriverFramework) drivers.
add_definitions( add_definitions(
-D__USING_SNAPDRAGON_LEGACY_DRIVER -D__USING_SNAPDRAGON_LEGACY_DRIVER
) )

View File

@ -25,6 +25,7 @@ set(config_module_list
platforms/posix/drivers/df_mpu9250_wrapper platforms/posix/drivers/df_mpu9250_wrapper
platforms/posix/drivers/df_bmp280_wrapper platforms/posix/drivers/df_bmp280_wrapper
platforms/posix/drivers/df_hmc5883_wrapper platforms/posix/drivers/df_hmc5883_wrapper
platforms/posix/drivers/df_trone_wrapper
# #
# System commands # System commands
@ -54,7 +55,6 @@ set(config_module_list
modules/systemlib/mixer modules/systemlib/mixer
modules/uORB modules/uORB
modules/commander modules/commander
modules/controllib
modules/land_detector modules/land_detector
# #
@ -67,6 +67,7 @@ set(config_module_list
# #
# Libraries # Libraries
# #
lib/controllib
lib/mathlib lib/mathlib
lib/mathlib/math/filter lib/mathlib/math/filter
lib/geo lib/geo
@ -94,4 +95,5 @@ set(config_df_driver_list
mpu9250 mpu9250
bmp280 bmp280
hmc5883 hmc5883
trone
) )

View File

@ -73,11 +73,11 @@ set(config_module_list
modules/systemlib/mixer modules/systemlib/mixer
modules/uORB modules/uORB
modules/commander modules/commander
modules/controllib
# #
# Libraries # Libraries
# #
lib/controllib
lib/mathlib lib/mathlib
lib/mathlib/math/filter lib/mathlib/math/filter
lib/geo lib/geo