kconfig: add names to some choices

In order to be able to make a "choice" from any other
Kconfig.defconfig (-ish) file, the choice needs to be named.
This commit names a few choices.

Signed-off-by: Emil Lindqvist <emil@lindq.gr>
This commit is contained in:
Emil Lindqvist 2021-09-03 13:52:33 +02:00 committed by Christopher Friedt
commit f7dad07bb0
4 changed files with 6 additions and 6 deletions

View file

@ -272,7 +272,7 @@ config NATIVE_APPLICATION
Build as a native application that can run on the host and using
resources and libraries provided by the host.
choice
choice COMPILER_OPTIMIZATIONS
prompt "Optimization level"
default NO_OPTIMIZATIONS if COVERAGE
default DEBUG_OPTIMIZATIONS if DEBUG

View file

@ -65,7 +65,7 @@ config FS_FATFS_LFN
if FS_FATFS_LFN
choice
choice FS_FATFS_LFN_MODE
prompt "LFN memory mode"
default FS_FATFS_LFN_MODE_BSS

View file

@ -19,7 +19,7 @@ config LOG_BACKEND_UART_OUTPUT_DICTIONARY
help
UART backend is in dictionary-based logging output mode.
choice
choice LOG_BACKEND_UART_OUTPUT
prompt "UART Backend Output Mode"
default LOG_BACKEND_UART_OUTPUT_TEXT
@ -99,7 +99,7 @@ config LOG_BACKEND_RTT
if LOG_BACKEND_RTT
choice
choice LOG_BACKEND_RTT_MODE
prompt "Logger behavior"
default LOG_BACKEND_RTT_MODE_BLOCK
@ -321,7 +321,7 @@ config LOG_BACKEND_FS_OUTPUT_DICTIONARY
help
FS backend is in dictionary-based logging output mode.
choice
choice LOG_BACKEND_FS_OUTPUT
prompt "FS Backend Output Mode"
default LOG_BACKEND_FS_OUTPUT_TEXT

View file

@ -1,6 +1,6 @@
# SPDX-License-Identifier: Apache-2.0
choice
choice PM_POLICY
prompt "Idle State Power Management Policy"
help
Select the idle state power management policy.