mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-14 09:53:33 +08:00
Moved everything driver/sensor related to SPACE opt
This commit is contained in:
@@ -35,7 +35,7 @@ px4_add_module(
|
||||
MODULE modules__fake_imu
|
||||
MAIN fake_imu
|
||||
COMPILE_FLAGS
|
||||
${MAX_CUSTOM_OPT_LEVEL_SPEED}
|
||||
${MAX_CUSTOM_OPT_LEVEL_SPACE}
|
||||
SRCS
|
||||
FakeImu.cpp
|
||||
FakeImu.hpp
|
||||
|
||||
@@ -35,5 +35,5 @@ px4_add_library(drivers_accelerometer
|
||||
PX4Accelerometer.cpp
|
||||
PX4Accelerometer.hpp
|
||||
)
|
||||
target_compile_options(drivers_accelerometer PRIVATE ${MAX_CUSTOM_OPT_LEVEL_SPEED})
|
||||
target_compile_options(drivers_accelerometer PRIVATE ${MAX_CUSTOM_OPT_LEVEL_SPACE})
|
||||
target_link_libraries(drivers_accelerometer PRIVATE conversion)
|
||||
|
||||
@@ -35,5 +35,5 @@ px4_add_library(drivers_gyroscope
|
||||
PX4Gyroscope.cpp
|
||||
PX4Gyroscope.hpp
|
||||
)
|
||||
target_compile_options(drivers_gyroscope PRIVATE ${MAX_CUSTOM_OPT_LEVEL_SPEED})
|
||||
target_compile_options(drivers_gyroscope PRIVATE ${MAX_CUSTOM_OPT_LEVEL_SPACE})
|
||||
target_link_libraries(drivers_gyroscope PRIVATE conversion)
|
||||
|
||||
@@ -36,7 +36,7 @@ px4_add_library(vehicle_acceleration
|
||||
VehicleAcceleration.hpp
|
||||
)
|
||||
|
||||
target_compile_options(vehicle_acceleration PRIVATE ${MAX_CUSTOM_OPT_LEVEL_SPEED})
|
||||
target_compile_options(vehicle_acceleration PRIVATE ${MAX_CUSTOM_OPT_LEVEL_SPACE})
|
||||
|
||||
target_link_libraries(vehicle_acceleration
|
||||
PRIVATE
|
||||
|
||||
@@ -38,7 +38,7 @@ px4_add_library(vehicle_angular_velocity
|
||||
|
||||
target_compile_options(vehicle_angular_velocity
|
||||
PRIVATE
|
||||
${MAX_CUSTOM_OPT_LEVEL_SPEED}
|
||||
${MAX_CUSTOM_OPT_LEVEL_SPACE}
|
||||
#-DDEBUG_BUILD
|
||||
)
|
||||
|
||||
|
||||
@@ -38,7 +38,7 @@ px4_add_library(vehicle_imu
|
||||
|
||||
target_compile_options(vehicle_imu
|
||||
PRIVATE
|
||||
${MAX_CUSTOM_OPT_LEVEL_SPEED}
|
||||
${MAX_CUSTOM_OPT_LEVEL_SPACE}
|
||||
#-DDEBUG_BUILD
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user