mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-21 08:33:33 +08:00
Add support for protected build in drivers, systemcmds and modules Kconfig
Signed-off-by: Jukka Laitinen <jukkax@ssrc.tii.ae>
This commit is contained in:
committed by
Beat Küng
parent
6071b87afc
commit
9449ed6e66
@@ -2,4 +2,11 @@ menuconfig MODULES_AIRSHIP_ATT_CONTROL
|
||||
bool "airship_att_control"
|
||||
default n
|
||||
---help---
|
||||
Enable support for airship_att_control
|
||||
Enable support for airship_att_control
|
||||
|
||||
menuconfig USER_AIRSHIP_ATT_CONTROL
|
||||
bool "airship_att_control running as userspace module"
|
||||
default y
|
||||
depends on BOARD_PROTECTED && MODULES_AIRSHIP_ATT_CONTROL
|
||||
---help---
|
||||
Put airship_att_control in userspace memory
|
||||
|
||||
@@ -2,4 +2,11 @@ menuconfig MODULES_AIRSPEED_SELECTOR
|
||||
bool "airspeed_selector"
|
||||
default n
|
||||
---help---
|
||||
Enable support for airspeed_selector
|
||||
Enable support for airspeed_selector
|
||||
|
||||
menuconfig USER_AIRSPEED_SELECTOR
|
||||
bool "airspeed_selector running as userspace module"
|
||||
default y
|
||||
depends on BOARD_PROTECTED && MODULES_AIRSPEED_SELECTOR
|
||||
---help---
|
||||
Put airspeed_selector in userspace memory
|
||||
|
||||
@@ -2,4 +2,11 @@ menuconfig MODULES_ANGULAR_VELOCITY_CONTROLLER
|
||||
bool "angular_velocity_controller"
|
||||
default n
|
||||
---help---
|
||||
Enable support for angular_velocity_controller
|
||||
Enable support for angular_velocity_controller
|
||||
|
||||
menuconfig USER_ANGULAR_VELOCITY_CONTROLLER
|
||||
bool "angular_velocity_controller running as userspace module"
|
||||
default y
|
||||
depends on BOARD_PROTECTED && MODULES_ANGULAR_VELOCITY_CONTROLLER
|
||||
---help---
|
||||
Put angular_velocity_controller in userspace memory
|
||||
|
||||
@@ -2,4 +2,11 @@ menuconfig MODULES_ATTITUDE_ESTIMATOR_Q
|
||||
bool "attitude_estimator_q"
|
||||
default n
|
||||
---help---
|
||||
Enable support for attitude_estimator_q
|
||||
Enable support for attitude_estimator_q
|
||||
|
||||
menuconfig USER_ATTITUDE_ESTIMATOR_Q
|
||||
bool "attitude_estimator_q running as userspace module"
|
||||
default n
|
||||
depends on BOARD_PROTECTED && MODULES_ATTITUDE_ESTIMATOR_Q
|
||||
---help---
|
||||
Put attitude_estimator_q in userspace memory
|
||||
|
||||
@@ -2,4 +2,11 @@ menuconfig MODULES_BATTERY_STATUS
|
||||
bool "battery_status"
|
||||
default n
|
||||
---help---
|
||||
Enable support for battery_status
|
||||
Enable support for battery_status
|
||||
|
||||
menuconfig USER_BATTERY_STATUS
|
||||
bool "battery_status running as userspace module"
|
||||
default n
|
||||
depends on BOARD_PROTECTED && MODULES_BATTERY_STATUS
|
||||
---help---
|
||||
Put battery_status in userspace memory
|
||||
|
||||
@@ -2,4 +2,11 @@ menuconfig MODULES_CAMERA_FEEDBACK
|
||||
bool "camera_feedback"
|
||||
default n
|
||||
---help---
|
||||
Enable support for camera_feedback
|
||||
Enable support for camera_feedback
|
||||
|
||||
menuconfig USER_CAMERA_FEEDBACK
|
||||
bool "camera_feedback running as userspace module"
|
||||
default y
|
||||
depends on BOARD_PROTECTED && MODULES_CAMERA_FEEDBACK
|
||||
---help---
|
||||
Put camera_feedback in userspace memory
|
||||
|
||||
@@ -2,4 +2,11 @@ menuconfig MODULES_COMMANDER
|
||||
bool "commander"
|
||||
default n
|
||||
---help---
|
||||
Enable support for commander
|
||||
Enable support for commander
|
||||
|
||||
menuconfig USER_COMMANDER
|
||||
bool "commander running as userspace module"
|
||||
default y
|
||||
depends on BOARD_PROTECTED && MODULES_COMMANDER
|
||||
---help---
|
||||
Put commander in userspace memory
|
||||
|
||||
@@ -2,4 +2,11 @@ menuconfig MODULES_CONTROL_ALLOCATOR
|
||||
bool "control_allocator"
|
||||
default n
|
||||
---help---
|
||||
Enable support for control_allocator
|
||||
Enable support for control_allocator
|
||||
|
||||
menuconfig USER_CONTROL_ALLOCATOR
|
||||
bool "control_allocator running as userspace module"
|
||||
default y
|
||||
depends on BOARD_PROTECTED && MODULES_CONTROL_ALLOCATOR
|
||||
---help---
|
||||
Put control_allocator in userspace memory
|
||||
|
||||
@@ -3,3 +3,11 @@ menuconfig MODULES_DATAMAN
|
||||
default n
|
||||
---help---
|
||||
Enable support for dataman
|
||||
|
||||
|
||||
menuconfig USER_DATAMAN
|
||||
bool "dataman running as userspace module"
|
||||
default y
|
||||
depends on BOARD_PROTECTED && MODULES_DATAMAN
|
||||
---help---
|
||||
Put dataman in userspace memory
|
||||
|
||||
@@ -2,4 +2,11 @@ menuconfig MODULES_EKF2
|
||||
bool "ekf2"
|
||||
default n
|
||||
---help---
|
||||
Enable support for ekf2
|
||||
Enable support for ekf2
|
||||
|
||||
menuconfig USER_EKF2
|
||||
bool "ekf2 running as userspace module"
|
||||
default n
|
||||
depends on BOARD_PROTECTED && MODULES_EKF2
|
||||
---help---
|
||||
Put ekf2 in userspace memory
|
||||
|
||||
@@ -2,4 +2,11 @@ menuconfig MODULES_ESC_BATTERY
|
||||
bool "esc_battery"
|
||||
default n
|
||||
---help---
|
||||
Enable support for esc_battery
|
||||
Enable support for esc_battery
|
||||
|
||||
menuconfig USER_ESC_BATTERY
|
||||
bool "esc_battery running as userspace module"
|
||||
default y
|
||||
depends on BOARD_PROTECTED && MODULES_ESC_BATTERY
|
||||
---help---
|
||||
Put esc_battery in userspace memory
|
||||
|
||||
@@ -2,4 +2,11 @@ menuconfig MODULES_EVENTS
|
||||
bool "events"
|
||||
default n
|
||||
---help---
|
||||
Enable support for events
|
||||
Enable support for events
|
||||
|
||||
menuconfig USER_EVENTS
|
||||
bool "events running as userspace module"
|
||||
default y
|
||||
depends on BOARD_PROTECTED && MODULES_EVENTS
|
||||
---help---
|
||||
Put events in userspace memory
|
||||
|
||||
@@ -2,4 +2,11 @@ menuconfig MODULES_FLIGHT_MODE_MANAGER
|
||||
bool "flight_mode_manager"
|
||||
default n
|
||||
---help---
|
||||
Enable support for flight_mode_manager
|
||||
Enable support for flight_mode_manager
|
||||
|
||||
menuconfig USER_FLIGHT_MODE_MANAGER
|
||||
bool "flight_mode_manager running as userspace module"
|
||||
default y
|
||||
depends on BOARD_PROTECTED && MODULES_FLIGHT_MODE_MANAGER
|
||||
---help---
|
||||
Put flight_mode_manager in userspace memory
|
||||
|
||||
@@ -3,3 +3,10 @@ menuconfig MODULES_FW_ATT_CONTROL
|
||||
default n
|
||||
---help---
|
||||
Enable support for fw_att_control
|
||||
|
||||
menuconfig USER_FW_ATT_CONTROL
|
||||
bool "fw_att_control running as userspace module"
|
||||
default n
|
||||
depends on BOARD_PROTECTED && MODULES_FW_ATT_CONTROL
|
||||
---help---
|
||||
Put fw_att_control in userspace memory
|
||||
|
||||
@@ -2,4 +2,11 @@ menuconfig MODULES_FW_POS_CONTROL_L1
|
||||
bool "fw_pos_control_l1"
|
||||
default n
|
||||
---help---
|
||||
Enable support for fw_pos_control_l1
|
||||
Enable support for fw_pos_control_l1
|
||||
|
||||
menuconfig USER_FW_POS_CONTROL_L1
|
||||
bool "fw_pos_control_l1 running as userspace module"
|
||||
default n
|
||||
depends on BOARD_PROTECTED && MODULES_FW_POS_CONTROL_L1
|
||||
---help---
|
||||
Put fw_pos_control_l1 in userspace memory
|
||||
|
||||
@@ -3,3 +3,10 @@ menuconfig MODULES_GIMBAL
|
||||
default n
|
||||
---help---
|
||||
Enable support for GIMBAL
|
||||
|
||||
menuconfig USER_GIMBAL
|
||||
bool "gimbal running as userspace module"
|
||||
default y
|
||||
depends on BOARD_PROTECTED && MODULES_GIMBAL
|
||||
---help---
|
||||
Put gimbal in userspace memory
|
||||
|
||||
@@ -2,4 +2,11 @@ menuconfig MODULES_GYRO_CALIBRATION
|
||||
bool "gyro_calibration"
|
||||
default n
|
||||
---help---
|
||||
Enable support for gyro_calibration
|
||||
Enable support for gyro_calibration
|
||||
|
||||
menuconfig USER_GYRO_CALIBRATION
|
||||
bool "gyro_calibration running as userspace module"
|
||||
default y
|
||||
depends on BOARD_PROTECTED && MODULES_GYRO_CALIBRATION
|
||||
---help---
|
||||
Put gyro_calibration in userspace memory
|
||||
|
||||
@@ -2,4 +2,11 @@ menuconfig MODULES_GYRO_FFT
|
||||
bool "gyro_fft"
|
||||
default n
|
||||
---help---
|
||||
Enable support for gyro_fft
|
||||
Enable support for gyro_fft
|
||||
|
||||
menuconfig USER_GYRO_FFT
|
||||
bool "gyro_fft running as userspace module"
|
||||
default y
|
||||
depends on BOARD_PROTECTED && MODULES_GYRO_FFT
|
||||
---help---
|
||||
Put gyro_fft in userspace memory
|
||||
|
||||
@@ -2,4 +2,11 @@ menuconfig MODULES_LAND_DETECTOR
|
||||
bool "land_detector"
|
||||
default n
|
||||
---help---
|
||||
Enable support for land_detector
|
||||
Enable support for land_detector
|
||||
|
||||
menuconfig USER_LAND_DETECTOR
|
||||
bool "land_detector running as userspace module"
|
||||
default y
|
||||
depends on BOARD_PROTECTED && MODULES_LAND_DETECTOR
|
||||
---help---
|
||||
Put land_detector in userspace memory
|
||||
|
||||
@@ -2,4 +2,11 @@ menuconfig MODULES_LANDING_TARGET_ESTIMATOR
|
||||
bool "landing_target_estimator"
|
||||
default n
|
||||
---help---
|
||||
Enable support for landing_target_estimator
|
||||
Enable support for landing_target_estimator
|
||||
|
||||
menuconfig USER_LANDING_TARGET_ESTIMATOR
|
||||
bool "landing_target_estimator running as userspace module"
|
||||
default y
|
||||
depends on BOARD_PROTECTED && MODULES_LANDING_TARGET_ESTIMATOR
|
||||
---help---
|
||||
Put landing_target_estimator in userspace memory
|
||||
|
||||
@@ -2,4 +2,4 @@ menuconfig MODULES_LOAD_MON
|
||||
bool "load_mon"
|
||||
default n
|
||||
---help---
|
||||
Enable support for load_mon
|
||||
Enable support for load_mon
|
||||
|
||||
@@ -2,4 +2,11 @@ menuconfig MODULES_LOCAL_POSITION_ESTIMATOR
|
||||
bool "local_position_estimator"
|
||||
default n
|
||||
---help---
|
||||
Enable support for local_position_estimator
|
||||
Enable support for local_position_estimator
|
||||
|
||||
menuconfig USER_LOCAL_POSITION_ESTIMATOR
|
||||
bool "local_position_estimator running as userspace module"
|
||||
default y
|
||||
depends on BOARD_PROTECTED && MODULES_LOCAL_POSITION_ESTIMATOR
|
||||
---help---
|
||||
Put local_position_estimator in userspace memory
|
||||
|
||||
@@ -2,4 +2,11 @@ menuconfig MODULES_LOGGER
|
||||
bool "logger"
|
||||
default n
|
||||
---help---
|
||||
Enable support for logger
|
||||
Enable support for logger
|
||||
|
||||
menuconfig USER_LOGGER
|
||||
bool "logger running as userspace module"
|
||||
default y
|
||||
depends on BOARD_PROTECTED && MODULES_LOGGER
|
||||
---help---
|
||||
Put logger in userspace memory
|
||||
|
||||
@@ -2,4 +2,11 @@ menuconfig MODULES_MAVLINK
|
||||
bool "mavlink"
|
||||
default n
|
||||
---help---
|
||||
Enable support for mavlink
|
||||
Enable support for mavlink
|
||||
|
||||
menuconfig USER_MAVLINK
|
||||
bool "mavlink running as userspace module"
|
||||
default y
|
||||
depends on BOARD_PROTECTED && MODULES_MAVLINK
|
||||
---help---
|
||||
Put mavlink in userspace memory
|
||||
|
||||
@@ -2,4 +2,11 @@ menuconfig MODULES_MC_ATT_CONTROL
|
||||
bool "mc_att_control"
|
||||
default n
|
||||
---help---
|
||||
Enable support for mc_att_control
|
||||
Enable support for mc_att_control
|
||||
|
||||
menuconfig USER_MC_ATT_CONTROL
|
||||
bool "mc_att_control running as userspace module"
|
||||
default n
|
||||
depends on BOARD_PROTECTED && MODULES_MC_ATT_CONTROL
|
||||
---help---
|
||||
Put mc_att_control in userspace memory
|
||||
|
||||
@@ -2,4 +2,11 @@ menuconfig MODULES_MC_HOVER_THRUST_ESTIMATOR
|
||||
bool "mc_hover_thrust_estimator"
|
||||
default n
|
||||
---help---
|
||||
Enable support for mc_hover_thrust_estimator
|
||||
Enable support for mc_hover_thrust_estimator
|
||||
|
||||
menuconfig USER_MC_HOVER_THRUST_ESTIMATOR
|
||||
bool "mc_hover_thrust_estimator running as userspace module"
|
||||
default y
|
||||
depends on BOARD_PROTECTED && MODULES_MC_HOVER_THRUST_ESTIMATOR
|
||||
---help---
|
||||
Put mc_hover_thrust_estimator in userspace memory
|
||||
|
||||
@@ -2,4 +2,11 @@ menuconfig MODULES_MC_POS_CONTROL
|
||||
bool "mc_pos_control"
|
||||
default n
|
||||
---help---
|
||||
Enable support for mc_pos_control
|
||||
Enable support for mc_pos_control
|
||||
|
||||
menuconfig USER_MC_POS_CONTROL
|
||||
bool "mc_pos_control running as userspace module"
|
||||
default y
|
||||
depends on BOARD_PROTECTED && MODULES_MC_POS_CONTROL
|
||||
---help---
|
||||
Put mc_pos_control in userspace memory
|
||||
|
||||
@@ -2,4 +2,11 @@ menuconfig MODULES_MC_RATE_CONTROL
|
||||
bool "mc_rate_control"
|
||||
default n
|
||||
---help---
|
||||
Enable support for mc_rate_control
|
||||
Enable support for mc_rate_control
|
||||
|
||||
menuconfig USER_MC_RATE_CONTROL
|
||||
bool "mc_rate_control running as userspace module"
|
||||
default n
|
||||
depends on BOARD_PROTECTED && MODULES_MC_RATE_CONTROL
|
||||
---help---
|
||||
Put mc_rate_control in userspace memory
|
||||
|
||||
@@ -2,4 +2,11 @@ menuconfig MODULES_MICRORTPS_BRIDGE
|
||||
bool "micrortps_bridge"
|
||||
default n
|
||||
---help---
|
||||
Enable support for micrortps_bridge
|
||||
Enable support for micrortps_bridge
|
||||
|
||||
menuconfig USER_MICRORTPS_BRIDGE
|
||||
bool "micrortps_bridge running as userspace module"
|
||||
default y
|
||||
depends on BOARD_PROTECTED && MODULES_MICRORTPS_BRIDGE
|
||||
---help---
|
||||
Put micrortps_bridge in userspace memory
|
||||
|
||||
@@ -2,4 +2,11 @@ menuconfig MODULES_NAVIGATOR
|
||||
bool "navigator"
|
||||
default n
|
||||
---help---
|
||||
Enable support for navigator
|
||||
Enable support for navigator
|
||||
|
||||
menuconfig USER_NAVIGATOR
|
||||
bool "navigator running as userspace module"
|
||||
default y
|
||||
depends on BOARD_PROTECTED && MODULES_NAVIGATOR
|
||||
---help---
|
||||
Put navigator in userspace memory
|
||||
|
||||
@@ -2,4 +2,11 @@ menuconfig MODULES_RC_UPDATE
|
||||
bool "rc_update"
|
||||
default n
|
||||
---help---
|
||||
Enable support for rc_update
|
||||
Enable support for rc_update
|
||||
|
||||
menuconfig USER_RC_UPDATE
|
||||
bool "rc_update running as userspace module"
|
||||
default y
|
||||
depends on BOARD_PROTECTED && MODULES_RC_UPDATE
|
||||
---help---
|
||||
Put rc_update in userspace memory
|
||||
|
||||
@@ -2,4 +2,11 @@ menuconfig MODULES_ROVER_POS_CONTROL
|
||||
bool "rover_pos_control"
|
||||
default n
|
||||
---help---
|
||||
Enable support for rover_pos_control
|
||||
Enable support for rover_pos_control
|
||||
|
||||
menuconfig USER_ROVER_POS_CONTROL
|
||||
bool "rover_pos_control running as userspace module"
|
||||
default y
|
||||
depends on BOARD_PROTECTED && MODULES_ROVER_POS_CONTROL
|
||||
---help---
|
||||
Put rover_pos_control in userspace memory
|
||||
|
||||
@@ -2,4 +2,11 @@ menuconfig MODULES_SENSORS
|
||||
bool "sensors"
|
||||
default n
|
||||
---help---
|
||||
Enable support for sensors
|
||||
Enable support for sensors
|
||||
|
||||
menuconfig USER_SENSORS
|
||||
bool "sensors running as userspace module"
|
||||
default n
|
||||
depends on BOARD_PROTECTED && MODULES_SENSORS
|
||||
---help---
|
||||
Put sensors in userspace memory
|
||||
|
||||
@@ -2,4 +2,11 @@ menuconfig MODULES_SIH
|
||||
bool "sih"
|
||||
default n
|
||||
---help---
|
||||
Enable support for sih
|
||||
Enable support for sih
|
||||
|
||||
menuconfig USER_SIH
|
||||
bool "sih running as userspace module"
|
||||
default y
|
||||
depends on BOARD_PROTECTED && MODULES_SIH
|
||||
---help---
|
||||
Put sih in userspace memory
|
||||
|
||||
@@ -2,4 +2,11 @@ menuconfig MODULES_SIMULATOR
|
||||
bool "simulator"
|
||||
default n
|
||||
---help---
|
||||
Enable support for simulator
|
||||
Enable support for simulator
|
||||
|
||||
menuconfig USER_SIMULATOR
|
||||
bool "simulator running as userspace module"
|
||||
default y
|
||||
depends on BOARD_PROTECTED && MODULES_SIMULATOR
|
||||
---help---
|
||||
Put simulator in userspace memory
|
||||
|
||||
@@ -2,4 +2,11 @@ menuconfig MODULES_TEMPERATURE_COMPENSATION
|
||||
bool "temperature_compensation"
|
||||
default n
|
||||
---help---
|
||||
Enable support for temperature_compensation
|
||||
Enable support for temperature_compensation
|
||||
|
||||
menuconfig USER_TEMPERATURE_COMPENSATION
|
||||
bool "temperature_compensation running as userspace module"
|
||||
default y
|
||||
depends on BOARD_PROTECTED && MODULES_TEMPERATURE_COMPENSATION
|
||||
---help---
|
||||
Put temperature_compensation in userspace memory
|
||||
|
||||
@@ -2,4 +2,11 @@ menuconfig MODULES_UUV_ATT_CONTROL
|
||||
bool "uuv_att_control"
|
||||
default n
|
||||
---help---
|
||||
Enable support for uuv_att_control
|
||||
Enable support for uuv_att_control
|
||||
|
||||
menuconfig USER_UUV_ATT_CONTROL
|
||||
bool "uuv_att_control running as userspace module"
|
||||
default y
|
||||
depends on BOARD_PROTECTED && MODULES_UUV_ATT_CONTROL
|
||||
---help---
|
||||
Put uuv_att_control in userspace memory
|
||||
|
||||
@@ -2,4 +2,11 @@ menuconfig MODULES_UUV_POS_CONTROL
|
||||
bool "uuv_pos_control"
|
||||
default n
|
||||
---help---
|
||||
Enable support for uuv_pos_control
|
||||
Enable support for uuv_pos_control
|
||||
|
||||
menuconfig USER_UUV_POS_CONTROL
|
||||
bool "uuv_pos_control running as userspace module"
|
||||
default y
|
||||
depends on BOARD_PROTECTED && MODULES_UUV_POS_CONTROL
|
||||
---help---
|
||||
Put uuv_pos_control in userspace memory
|
||||
|
||||
@@ -2,4 +2,11 @@ menuconfig MODULES_VTOL_ATT_CONTROL
|
||||
bool "vtol_att_control"
|
||||
default n
|
||||
---help---
|
||||
Enable support for vtol_att_control
|
||||
Enable support for vtol_att_control
|
||||
|
||||
menuconfig USER_VTOL_ATT_CONTROL
|
||||
bool "vtol_att_control running as userspace module"
|
||||
default n
|
||||
depends on BOARD_PROTECTED && MODULES_VTOL_ATT_CONTROL
|
||||
---help---
|
||||
Put vtol_att_control in userspace memory
|
||||
|
||||
Reference in New Issue
Block a user