Kconfig: cleanup subsystems
Sort entries alphabetically and cleanup top level menu for each subsystem. Move stats subsystem Kconfig from debug into its own Kconfig. Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
a2d54a7d6b
commit
f5d606ef72
7 changed files with 31 additions and 26 deletions
|
@ -496,6 +496,7 @@
|
||||||
/subsys/random/ @dleach02
|
/subsys/random/ @dleach02
|
||||||
/subsys/settings/ @nvlsianpu
|
/subsys/settings/ @nvlsianpu
|
||||||
/subsys/shell/ @jakub-uC @nordic-krch
|
/subsys/shell/ @jakub-uC @nordic-krch
|
||||||
|
/subsys/stats/ @nvlsianpu
|
||||||
/subsys/storage/ @nvlsianpu
|
/subsys/storage/ @nvlsianpu
|
||||||
/subsys/testsuite/ @nashif
|
/subsys/testsuite/ @nashif
|
||||||
/subsys/usb/ @jfischer-phytec-iot @finikorg
|
/subsys/usb/ @jfischer-phytec-iot @finikorg
|
||||||
|
|
|
@ -7,6 +7,8 @@ menu "Sub Systems and OS Services"
|
||||||
|
|
||||||
source "subsys/bluetooth/Kconfig"
|
source "subsys/bluetooth/Kconfig"
|
||||||
|
|
||||||
|
source "subsys/canbus/Kconfig"
|
||||||
|
|
||||||
source "subsys/console/Kconfig"
|
source "subsys/console/Kconfig"
|
||||||
|
|
||||||
source "subsys/cpp/Kconfig"
|
source "subsys/cpp/Kconfig"
|
||||||
|
@ -15,8 +17,12 @@ source "subsys/debug/Kconfig"
|
||||||
|
|
||||||
source "subsys/disk/Kconfig"
|
source "subsys/disk/Kconfig"
|
||||||
|
|
||||||
|
source "subsys/fb/Kconfig"
|
||||||
|
|
||||||
source "subsys/fs/Kconfig"
|
source "subsys/fs/Kconfig"
|
||||||
|
|
||||||
|
source "subsys/jwt/Kconfig"
|
||||||
|
|
||||||
source "subsys/logging/Kconfig"
|
source "subsys/logging/Kconfig"
|
||||||
|
|
||||||
source "subsys/mgmt/Kconfig"
|
source "subsys/mgmt/Kconfig"
|
||||||
|
@ -27,6 +33,8 @@ source "subsys/power/Kconfig"
|
||||||
|
|
||||||
source "subsys/shell/Kconfig"
|
source "subsys/shell/Kconfig"
|
||||||
|
|
||||||
|
source "subsys/stats/Kconfig"
|
||||||
|
|
||||||
source "subsys/usb/Kconfig"
|
source "subsys/usb/Kconfig"
|
||||||
|
|
||||||
source "subsys/dfu/Kconfig"
|
source "subsys/dfu/Kconfig"
|
||||||
|
@ -41,10 +49,4 @@ source "subsys/testsuite/Kconfig"
|
||||||
|
|
||||||
source "subsys/tracing/Kconfig"
|
source "subsys/tracing/Kconfig"
|
||||||
|
|
||||||
source "subsys/fb/Kconfig"
|
|
||||||
|
|
||||||
source "subsys/jwt/Kconfig"
|
|
||||||
|
|
||||||
source "subsys/canbus/Kconfig"
|
|
||||||
|
|
||||||
endmenu
|
endmenu
|
||||||
|
|
|
@ -12,23 +12,6 @@ config BOOT_TIME_MEASUREMENT
|
||||||
help
|
help
|
||||||
This option enables the recording of timestamps during system boot.
|
This option enables the recording of timestamps during system boot.
|
||||||
|
|
||||||
config STATS
|
|
||||||
bool "Statistics support"
|
|
||||||
help
|
|
||||||
Enable per-module event counters for troubleshooting, maintenance,
|
|
||||||
and usage monitoring. Statistics can be retrieved with the mcumgr
|
|
||||||
management subsystem.
|
|
||||||
|
|
||||||
config STATS_NAMES
|
|
||||||
bool "Statistic names"
|
|
||||||
depends on STATS
|
|
||||||
help
|
|
||||||
Include a full name string for each statistic in the build. If this
|
|
||||||
setting is disabled, statistics are assigned generic names of the
|
|
||||||
form "s0", "s1", etc. Enabling this setting simplifies debugging,
|
|
||||||
but results in a larger code size.
|
|
||||||
|
|
||||||
|
|
||||||
menuconfig THREAD_ANALYZER
|
menuconfig THREAD_ANALYZER
|
||||||
bool "Enable Thread analyzer"
|
bool "Enable Thread analyzer"
|
||||||
select INIT_STACKS
|
select INIT_STACKS
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
menuconfig JWT
|
menuconfig JWT
|
||||||
bool "Enable JSON Web Token generation"
|
bool "JSON Web Token generation"
|
||||||
select JSON_LIBRARY
|
select JSON_LIBRARY
|
||||||
help
|
help
|
||||||
Enable creation of JWT tokens
|
Enable creation of JWT tokens
|
||||||
|
|
19
subsys/stats/Kconfig
Normal file
19
subsys/stats/Kconfig
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
# Copyright (c) 2020 Intel Corp.
|
||||||
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
|
|
||||||
|
config STATS
|
||||||
|
bool "Statistics support"
|
||||||
|
help
|
||||||
|
Enable per-module event counters for troubleshooting, maintenance,
|
||||||
|
and usage monitoring. Statistics can be retrieved with the mcumgr
|
||||||
|
management subsystem.
|
||||||
|
|
||||||
|
config STATS_NAMES
|
||||||
|
bool "Statistic names"
|
||||||
|
depends on STATS
|
||||||
|
help
|
||||||
|
Include a full name string for each statistic in the build. If this
|
||||||
|
setting is disabled, statistics are assigned generic names of the
|
||||||
|
form "s0", "s1", etc. Enabling this setting simplifies debugging,
|
||||||
|
but results in a larger code size.
|
|
@ -6,7 +6,7 @@
|
||||||
DT_CHOSEN_Z_CONSOLE := zephyr,console
|
DT_CHOSEN_Z_CONSOLE := zephyr,console
|
||||||
|
|
||||||
config TRACING
|
config TRACING
|
||||||
bool "Enabling Tracing"
|
bool "Tracing Support"
|
||||||
imply THREAD_NAME
|
imply THREAD_NAME
|
||||||
imply THREAD_STACK_INFO
|
imply THREAD_STACK_INFO
|
||||||
imply THREAD_MONITOR
|
imply THREAD_MONITOR
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
menuconfig USB_DEVICE_STACK
|
menuconfig USB_DEVICE_STACK
|
||||||
bool "USB device stack"
|
bool "USB Device Support"
|
||||||
depends on USB_DEVICE_DRIVER || ARCH_POSIX
|
depends on USB_DEVICE_DRIVER || ARCH_POSIX
|
||||||
select HWINFO
|
select HWINFO
|
||||||
help
|
help
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue