From bd61122aa2b289065cd1eb13fe147a49a3f4e741 Mon Sep 17 00:00:00 2001 From: Torsten Rasmussen Date: Fri, 15 Oct 2021 14:28:18 +0200 Subject: [PATCH] kconfig: drivers: experimental settings now uses select EXPERIMENTAL With the introduction of `EXPERIMENTAL` and `WARN_EXPERIMENTAL` in Zephyr all drivers settings having `[EXPERIMENTAL]` in their prompt has has been updated to include `select EXPERIMENTAL` so that developers can enable warnings when experimental features are enabled. Signed-off-by: Torsten Rasmussen --- drivers/console/Kconfig | 1 + drivers/crypto/Kconfig | 3 +++ drivers/lora/Kconfig | 1 + drivers/memc/Kconfig | 1 + drivers/modem/Kconfig | 1 + drivers/spi/Kconfig | 1 + drivers/timer/Kconfig.stm32_lptim | 1 + 7 files changed, 9 insertions(+) diff --git a/drivers/console/Kconfig b/drivers/console/Kconfig index 6fd9ea0be26..53e9fedb28c 100644 --- a/drivers/console/Kconfig +++ b/drivers/console/Kconfig @@ -319,6 +319,7 @@ config UART_MUX bool "Enable UART muxing (GSM 07.10) support [EXPERIMENTAL]" depends on SERIAL_SUPPORT_INTERRUPT && GSM_MUX select UART_INTERRUPT_DRIVEN + select EXPERIMENTAL help Enable this option to create UART muxer that run over a physical UART. The GSM 07.10 muxing protocol is used to separate the data diff --git a/drivers/crypto/Kconfig b/drivers/crypto/Kconfig index ea5e3538b8b..5d6e5e5e670 100644 --- a/drivers/crypto/Kconfig +++ b/drivers/crypto/Kconfig @@ -8,6 +8,7 @@ # menuconfig CRYPTO bool "Crypto Drivers [EXPERIMENTAL]" + select EXPERIMENTAL if CRYPTO @@ -29,6 +30,7 @@ config CRYPTO_TINYCRYPT_SHIM select TINYCRYPT_AES_CTR select TINYCRYPT_AES_CCM select TINYCRYPT_AES_CMAC + select EXPERIMENTAL help Enable TinyCrypt shim layer compliant with crypto APIs. @@ -51,6 +53,7 @@ config CRYPTO_MBEDTLS_SHIM bool "Enable mbedTLS shim driver [EXPERIMENTAL]" select MBEDTLS select MBEDTLS_ENABLE_HEAP + select EXPERIMENTAL help Enable mbedTLS shim layer compliant with crypto APIs. You will need to fill in a relevant value to CONFIG_MBEDTLS_HEAP_SIZE. diff --git a/drivers/lora/Kconfig b/drivers/lora/Kconfig index 3218c82a7ec..6eaa8f1fad2 100644 --- a/drivers/lora/Kconfig +++ b/drivers/lora/Kconfig @@ -10,6 +10,7 @@ menuconfig LORA bool "LoRa support [EXPERIMENTAL]" select REQUIRES_FULL_LIBC select POLL + select EXPERIMENTAL help Include LoRa drivers in the system configuration. diff --git a/drivers/memc/Kconfig b/drivers/memc/Kconfig index cf143e9c26c..f22dc4e9f29 100644 --- a/drivers/memc/Kconfig +++ b/drivers/memc/Kconfig @@ -5,6 +5,7 @@ menuconfig MEMC bool "Memory controllers [EXPERIMENTAL]" + select EXPERIMENTAL help Add support for memory controllers diff --git a/drivers/modem/Kconfig b/drivers/modem/Kconfig index 2cabac14b10..1a851d64f47 100644 --- a/drivers/modem/Kconfig +++ b/drivers/modem/Kconfig @@ -38,6 +38,7 @@ config MODEM_RECEIVER_MAX_CONTEXTS config MODEM_CONTEXT bool "Modem context helper driver [EXPERIMENTAL]" + select EXPERIMENTAL help This driver allows modem drivers to communicate with an interface using custom defined protocols. Driver doesn't inspect received data diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig index 1b890fd4f31..0d1fba4c6f5 100644 --- a/drivers/spi/Kconfig +++ b/drivers/spi/Kconfig @@ -21,6 +21,7 @@ config SPI_ASYNC config SPI_SLAVE bool "Enable Slave support [EXPERIMENTAL]" + select EXPERIMENTAL help Enables Driver SPI slave operations. Slave support depends on the driver and the hardware it runs on. diff --git a/drivers/timer/Kconfig.stm32_lptim b/drivers/timer/Kconfig.stm32_lptim index e182b44739e..3043f32c653 100644 --- a/drivers/timer/Kconfig.stm32_lptim +++ b/drivers/timer/Kconfig.stm32_lptim @@ -8,6 +8,7 @@ menuconfig STM32_LPTIM_TIMER depends on "$(dt_nodelabel_enabled,lptim1)" depends on CLOCK_CONTROL && PM select TICKLESS_CAPABLE + select EXPERIMENTAL help This module implements a kernel device driver for the LowPower Timer and provides the standard "system clock driver" interfaces.