mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-23 17:23:33 +08:00
sensors: add kconfig mechanism to optionally exclude sensor types
This commit is contained in:
@@ -10,3 +10,18 @@ menuconfig USER_SENSORS
|
||||
depends on BOARD_PROTECTED && MODULES_SENSORS
|
||||
---help---
|
||||
Put sensors in userspace memory
|
||||
|
||||
if MODULES_SENSORS
|
||||
config SENSORS_VEHICLE_AIR_DATA
|
||||
bool "Include vehicle air data"
|
||||
default y
|
||||
|
||||
config SENSORS_VEHICLE_GPS_POSITION
|
||||
bool "Include vehicle gps position"
|
||||
default y
|
||||
|
||||
config SENSORS_VEHICLE_MAGNETOMETER
|
||||
bool "Include vehicle magnetometer"
|
||||
default y
|
||||
|
||||
endif #MODULES_SENSORS
|
||||
|
||||
Reference in New Issue
Block a user