mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-22 17:33:34 +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 SYSTEMCMDS_BL_UPDATE
|
||||
bool "bl_update"
|
||||
default n
|
||||
---help---
|
||||
Enable support for bl_update
|
||||
Enable support for bl_update
|
||||
|
||||
menuconfig USER_BL_UPDATE
|
||||
bool "bl_update running as userspace module"
|
||||
default n
|
||||
depends on BOARD_PROTECTED && SYSTEMCMDS_BL_UPDATE
|
||||
---help---
|
||||
Put bl_update in userspace memory
|
||||
|
||||
@@ -2,4 +2,11 @@ menuconfig SYSTEMCMDS_DMESG
|
||||
bool "dmesg"
|
||||
default n
|
||||
---help---
|
||||
Enable support for dmesg
|
||||
Enable support for dmesg
|
||||
|
||||
menuconfig USER_DMESG
|
||||
bool "dmesg running as userspace module"
|
||||
default n
|
||||
depends on BOARD_PROTECTED && SYSTEMCMDS_DMESG
|
||||
---help---
|
||||
Put dmesg in userspace memory
|
||||
|
||||
@@ -2,4 +2,11 @@ menuconfig SYSTEMCMDS_DUMPFILE
|
||||
bool "dumpfile"
|
||||
default n
|
||||
---help---
|
||||
Enable support for dumpfile
|
||||
Enable support for dumpfile
|
||||
|
||||
menuconfig USER_DUMPFILE
|
||||
bool "dumpfile running as userspace module"
|
||||
default y
|
||||
depends on BOARD_PROTECTED && SYSTEMCMDS_DUMPFILE
|
||||
---help---
|
||||
Put dumpfile in userspace memory
|
||||
|
||||
@@ -2,4 +2,11 @@ menuconfig SYSTEMCMDS_DYN
|
||||
bool "dyn"
|
||||
default n
|
||||
---help---
|
||||
Enable support for dyn
|
||||
Enable support for dyn
|
||||
|
||||
menuconfig USER_DYN
|
||||
bool "dyn running as userspace module"
|
||||
default y
|
||||
depends on BOARD_PROTECTED && SYSTEMCMDS_DYN
|
||||
---help---
|
||||
Put dyn in userspace memory
|
||||
|
||||
@@ -2,4 +2,11 @@ menuconfig SYSTEMCMDS_FAILURE
|
||||
bool "failure"
|
||||
default n
|
||||
---help---
|
||||
Enable support for failure
|
||||
Enable support for failure
|
||||
|
||||
menuconfig USER_FAILURE
|
||||
bool "failure running as userspace module"
|
||||
default y
|
||||
depends on BOARD_PROTECTED && SYSTEMCMDS_FAILURE
|
||||
---help---
|
||||
Put failure in userspace memory
|
||||
|
||||
@@ -2,4 +2,11 @@ menuconfig SYSTEMCMDS_HARDFAULT_LOG
|
||||
bool "hardfault_log"
|
||||
default n
|
||||
---help---
|
||||
Enable support for hardfault_log
|
||||
Enable support for hardfault_log
|
||||
|
||||
menuconfig USER_HARDFAULT_LOG
|
||||
bool "hardfault_log running as userspace module"
|
||||
default n
|
||||
depends on BOARD_PROTECTED && SYSTEMCMDS_HARDFAULT_LOG
|
||||
---help---
|
||||
Put hardfault_log in userspace memory
|
||||
|
||||
@@ -2,4 +2,11 @@ menuconfig SYSTEMCMDS_LED_CONTROL
|
||||
bool "led_control"
|
||||
default n
|
||||
---help---
|
||||
Enable support for led_control
|
||||
Enable support for led_control
|
||||
|
||||
menuconfig USER_LED_CONTROL
|
||||
bool "led_control running as userspace module"
|
||||
default y
|
||||
depends on BOARD_PROTECTED && SYSTEMCMDS_LED_CONTROL
|
||||
---help---
|
||||
Put led_control in userspace memory
|
||||
|
||||
@@ -2,4 +2,4 @@ menuconfig SYSTEMCMDS_MFT
|
||||
bool "mft"
|
||||
default n
|
||||
---help---
|
||||
Enable support for mft
|
||||
Enable support for mft
|
||||
|
||||
@@ -3,3 +3,11 @@ menuconfig SYSTEMCMDS_MICROBENCH
|
||||
default n
|
||||
---help---
|
||||
Enable support for microbench
|
||||
|
||||
|
||||
menuconfig USER_MICROBENCH
|
||||
bool "microbench running as userspace module"
|
||||
default y
|
||||
depends on BOARD_PROTECTED && SYSTEMCMDS_MICROBENCH
|
||||
---help---
|
||||
Put microbench in userspace memory
|
||||
|
||||
@@ -2,4 +2,11 @@ menuconfig SYSTEMCMDS_MIXER
|
||||
bool "mixer"
|
||||
default n
|
||||
---help---
|
||||
Enable support for mixer
|
||||
Enable support for mixer
|
||||
|
||||
menuconfig USER_MIXER
|
||||
bool "mixer running as userspace module"
|
||||
default y
|
||||
depends on BOARD_PROTECTED && SYSTEMCMDS_MIXER
|
||||
---help---
|
||||
Put mixer in userspace memory
|
||||
|
||||
@@ -2,4 +2,11 @@ menuconfig SYSTEMCMDS_MOTOR_TEST
|
||||
bool "motor_test"
|
||||
default n
|
||||
---help---
|
||||
Enable support for motor_test
|
||||
Enable support for motor_test
|
||||
|
||||
menuconfig USER_MOTOR_TEST
|
||||
bool "motor_test running as userspace module"
|
||||
default y
|
||||
depends on BOARD_PROTECTED && SYSTEMCMDS_MOTOR_TEST
|
||||
---help---
|
||||
Put motor_test in userspace memory
|
||||
|
||||
@@ -2,4 +2,11 @@ menuconfig SYSTEMCMDS_MTD
|
||||
bool "mtd"
|
||||
default n
|
||||
---help---
|
||||
Enable support for mtd
|
||||
Enable support for mtd
|
||||
|
||||
menuconfig USER_MTD
|
||||
bool "mtd running as userspace module"
|
||||
default y
|
||||
depends on BOARD_PROTECTED && SYSTEMCMDS_MTD
|
||||
---help---
|
||||
Put mtd in userspace memory
|
||||
|
||||
@@ -2,4 +2,11 @@ menuconfig SYSTEMCMDS_NETMAN
|
||||
bool "netman"
|
||||
default n
|
||||
---help---
|
||||
Enable support for netman
|
||||
Enable support for netman
|
||||
|
||||
menuconfig USER_NETMAN
|
||||
bool "netman running as userspace module"
|
||||
default y
|
||||
depends on BOARD_PROTECTED && SYSTEMCMDS_NETMAN
|
||||
---help---
|
||||
Put netman in userspace memory
|
||||
|
||||
@@ -2,4 +2,11 @@ menuconfig SYSTEMCMDS_NSHTERM
|
||||
bool "nshterm"
|
||||
default n
|
||||
---help---
|
||||
Enable support for nshterm
|
||||
Enable support for nshterm
|
||||
|
||||
menuconfig USER_NSHTERM
|
||||
bool "nshterm running as userspace module"
|
||||
default y
|
||||
depends on BOARD_PROTECTED && SYSTEMCMDS_NSHTERM
|
||||
---help---
|
||||
Put nshterm in userspace memory
|
||||
|
||||
@@ -2,4 +2,11 @@ menuconfig SYSTEMCMDS_PERF
|
||||
bool "perf"
|
||||
default n
|
||||
---help---
|
||||
Enable support for perf
|
||||
Enable support for perf
|
||||
|
||||
config USER_PERF
|
||||
bool
|
||||
default y
|
||||
depends on BOARD_PROTECTED && SYSTEMCMDS_PERF
|
||||
---help---
|
||||
Put perf in userspace memory
|
||||
|
||||
@@ -2,4 +2,11 @@ menuconfig SYSTEMCMDS_PWM
|
||||
bool "pwm"
|
||||
default n
|
||||
---help---
|
||||
Enable support for pwm
|
||||
Enable support for pwm
|
||||
|
||||
menuconfig USER_PWM
|
||||
bool "pwm running as userspace module"
|
||||
default n
|
||||
depends on BOARD_PROTECTED && SYSTEMCMDS_PWM
|
||||
---help---
|
||||
Put pwm in userspace memory
|
||||
|
||||
@@ -2,4 +2,11 @@ menuconfig SYSTEMCMDS_REBOOT
|
||||
bool "reboot"
|
||||
default n
|
||||
---help---
|
||||
Enable support for reboot
|
||||
Enable support for reboot
|
||||
|
||||
menuconfig USER_REBOOT
|
||||
bool "reboot running as userspace module"
|
||||
default y
|
||||
depends on BOARD_PROTECTED && SYSTEMCMDS_REBOOT
|
||||
---help---
|
||||
Put reboot in userspace memory
|
||||
|
||||
@@ -2,4 +2,11 @@ menuconfig SYSTEMCMDS_REFLECT
|
||||
bool "reflect"
|
||||
default n
|
||||
---help---
|
||||
Enable support for reflect
|
||||
Enable support for reflect
|
||||
|
||||
menuconfig USER_REFLECT
|
||||
bool "reflect running as userspace module"
|
||||
default y
|
||||
depends on BOARD_PROTECTED && SYSTEMCMDS_REFLECT
|
||||
---help---
|
||||
Put reflect in userspace memory
|
||||
|
||||
@@ -2,4 +2,11 @@ menuconfig SYSTEMCMDS_SD_BENCH
|
||||
bool "sd_bench"
|
||||
default n
|
||||
---help---
|
||||
Enable support for sd_bench
|
||||
Enable support for sd_bench
|
||||
|
||||
menuconfig USER_SD_BENCH
|
||||
bool "sd_bench running as userspace module"
|
||||
default y
|
||||
depends on BOARD_PROTECTED && SYSTEMCMDS_SD_BENCH
|
||||
---help---
|
||||
Put sd_bench in userspace memory
|
||||
|
||||
@@ -2,4 +2,11 @@ menuconfig SYSTEMCMDS_SERIAL_TEST
|
||||
bool "serial_test"
|
||||
default n
|
||||
---help---
|
||||
Enable support for serial_test
|
||||
Enable support for serial_test
|
||||
|
||||
menuconfig USER_SERIAL_TEST
|
||||
bool "serial_test running as userspace module"
|
||||
default y
|
||||
depends on BOARD_PROTECTED && SYSTEMCMDS_SERIAL_TEST
|
||||
---help---
|
||||
Put serial_test in userspace memory
|
||||
|
||||
@@ -2,4 +2,11 @@ menuconfig SYSTEMCMDS_SHUTDOWN
|
||||
bool "shutdown"
|
||||
default n
|
||||
---help---
|
||||
Enable support for shutdown
|
||||
Enable support for shutdown
|
||||
|
||||
menuconfig USER_SHUTDOWN
|
||||
bool "shutdown running as userspace module"
|
||||
default y
|
||||
depends on BOARD_PROTECTED && SYSTEMCMDS_SHUTDOWN
|
||||
---help---
|
||||
Put shutdown in userspace memory
|
||||
|
||||
@@ -2,4 +2,11 @@ menuconfig SYSTEMCMDS_SYSTEM_TIME
|
||||
bool "system_time"
|
||||
default n
|
||||
---help---
|
||||
Enable support for system_time
|
||||
Enable support for system_time
|
||||
|
||||
menuconfig USER_SYSTEM_TIME
|
||||
bool "system_time running as userspace module"
|
||||
default y
|
||||
depends on BOARD_PROTECTED && SYSTEMCMDS_SYSTEM_TIME
|
||||
---help---
|
||||
Put system_time in userspace memory
|
||||
|
||||
@@ -2,4 +2,11 @@ menuconfig SYSTEMCMDS_TESTS
|
||||
bool "tests"
|
||||
default n
|
||||
---help---
|
||||
Enable support for tests
|
||||
Enable support for tests
|
||||
|
||||
menuconfig USER_TESTS
|
||||
bool "tests running as userspace module"
|
||||
default y
|
||||
depends on BOARD_PROTECTED && SYSTEMCMDS_TESTS
|
||||
---help---
|
||||
Put tests in userspace memory
|
||||
|
||||
@@ -2,4 +2,11 @@ menuconfig SYSTEMCMDS_TOP
|
||||
bool "top"
|
||||
default n
|
||||
---help---
|
||||
Enable support for top
|
||||
Enable support for top
|
||||
|
||||
menuconfig USER_TOP
|
||||
bool "top running as userspace module"
|
||||
default n
|
||||
depends on BOARD_PROTECTED && SYSTEMCMDS_TOP
|
||||
---help---
|
||||
Put top in userspace memory
|
||||
|
||||
@@ -2,4 +2,11 @@ menuconfig SYSTEMCMDS_TOPIC_LISTENER
|
||||
bool "topic_listener"
|
||||
default n
|
||||
---help---
|
||||
Enable support for topic_listener
|
||||
Enable support for topic_listener
|
||||
|
||||
menuconfig USER_TOPIC_LISTENER
|
||||
bool "topic_listener running as userspace module"
|
||||
default y
|
||||
depends on BOARD_PROTECTED && SYSTEMCMDS_TOPIC_LISTENER
|
||||
---help---
|
||||
Put topic_listener in userspace memory
|
||||
|
||||
@@ -2,4 +2,11 @@ menuconfig SYSTEMCMDS_TUNE_CONTROL
|
||||
bool "tune_control"
|
||||
default n
|
||||
---help---
|
||||
Enable support for tune_control
|
||||
Enable support for tune_control
|
||||
|
||||
menuconfig USER_TUNE_CONTROL
|
||||
bool "tune_control running as userspace module"
|
||||
default y
|
||||
depends on BOARD_PROTECTED && SYSTEMCMDS_TUNE_CONTROL
|
||||
---help---
|
||||
Put tune_control in userspace memory
|
||||
|
||||
@@ -2,4 +2,11 @@ menuconfig SYSTEMCMDS_USB_CONNECTED
|
||||
bool "usb_connected"
|
||||
default n
|
||||
---help---
|
||||
Enable support for usb_connected
|
||||
Enable support for usb_connected
|
||||
|
||||
menuconfig USER_USB_CONNECTED
|
||||
bool "usb_connected running as userspace module"
|
||||
default y
|
||||
depends on BOARD_PROTECTED && SYSTEMCMDS_USB_CONNECTED
|
||||
---help---
|
||||
Put usb_connected in userspace memory
|
||||
|
||||
@@ -2,4 +2,11 @@ menuconfig SYSTEMCMDS_VER
|
||||
bool "ver"
|
||||
default n
|
||||
---help---
|
||||
Enable support for ver
|
||||
Enable support for ver
|
||||
|
||||
menuconfig USER_VER
|
||||
bool "ver running as userspace module"
|
||||
default n
|
||||
depends on BOARD_PROTECTED && SYSTEMCMDS_VER
|
||||
---help---
|
||||
Put ver in userspace memory
|
||||
|
||||
@@ -2,4 +2,11 @@ menuconfig SYSTEMCMDS_WORK_QUEUE
|
||||
bool "work_queue"
|
||||
default n
|
||||
---help---
|
||||
Enable support for work_queue
|
||||
Enable support for work_queue
|
||||
|
||||
menuconfig USER_WORK_QUEUE
|
||||
bool "work_queue running as userspace module"
|
||||
default y
|
||||
depends on BOARD_PROTECTED && SYSTEMCMDS_WORK_QUEUE
|
||||
---help---
|
||||
Put work_queue in userspace memory
|
||||
|
||||
Reference in New Issue
Block a user