mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-27 17:13:34 +08:00
[Kconfig] Decompose Kconfig, now each module has its own Kconfig
Which is better for versioning and decomposability
This commit is contained in:
committed by
Daniel Agar
parent
094d3557d7
commit
d5e3e9a7bc
@@ -2,29 +2,33 @@
|
||||
# For a description of the syntax of this configuration file,
|
||||
# see the file kconfig-language.txt in the NuttX tools repository.
|
||||
#
|
||||
|
||||
|
||||
|
||||
|
||||
choice
|
||||
prompt "UAVCANv1 Mode"
|
||||
|
||||
config UAVCAN_V1_FMU
|
||||
bool "Server (FMU)"
|
||||
|
||||
config UAVCAN_V1_CLIENT
|
||||
bool "Client (Peripheral)"
|
||||
|
||||
endchoice
|
||||
|
||||
config UAVCAN_V1_GETINFO_RESPONDER
|
||||
bool "GetInfo1.0 responder"
|
||||
menuconfig DRIVERS_UAVCAN_V1
|
||||
bool "UAVCANv1"
|
||||
default n
|
||||
---help---
|
||||
Enable support for UAVCANv1
|
||||
|
||||
config UAVCAN_V1_EXECUTECOMMAND_RESPONDER
|
||||
bool "ExecuteCommand1.0 responder"
|
||||
default n
|
||||
if DRIVERS_UAVCAN_V1
|
||||
choice
|
||||
prompt "UAVCANv1 Mode"
|
||||
|
||||
config UAVCAN_V1_GNSS_PUBLISHER
|
||||
bool "GNSS Publisher"
|
||||
default n
|
||||
config UAVCAN_V1_FMU
|
||||
bool "Server (FMU)"
|
||||
|
||||
config UAVCAN_V1_CLIENT
|
||||
bool "Client (Peripheral)"
|
||||
|
||||
endchoice
|
||||
|
||||
config UAVCAN_V1_GETINFO_RESPONDER
|
||||
bool "GetInfo1.0 responder"
|
||||
default n
|
||||
|
||||
config UAVCAN_V1_EXECUTECOMMAND_RESPONDER
|
||||
bool "ExecuteCommand1.0 responder"
|
||||
default n
|
||||
|
||||
config UAVCAN_V1_GNSS_PUBLISHER
|
||||
bool "GNSS Publisher"
|
||||
default n
|
||||
endif #DRIVERS_UAVCAN_V1
|
||||
|
||||
Reference in New Issue
Block a user