[Kconfig] Decompose Kconfig, now each module has its own Kconfig

Which is better for versioning and decomposability
This commit is contained in:
Peter van der Perk
2021-10-07 10:09:01 -04:00
committed by Daniel Agar
parent 094d3557d7
commit d5e3e9a7bc
203 changed files with 1015 additions and 1127 deletions
+27 -23
View File
@@ -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