drivers: stm32: Make some config symbols menuconfig symbols
Move some STM32 drivers related Kconfig symbols from `config` to `menuconfig` when driver options depends on these symbols. Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
This commit is contained in:
parent
9816e87e56
commit
853b6feb52
|
@ -16,7 +16,7 @@ config STM32_MEMMAP
|
|||
This option enables the XIP mode for the external NOR flash
|
||||
mounted on STM32 boards.
|
||||
|
||||
config SOC_FLASH_STM32
|
||||
menuconfig SOC_FLASH_STM32
|
||||
bool "STM32 flash driver"
|
||||
depends on DT_HAS_ST_STM32_FLASH_CONTROLLER_ENABLED
|
||||
select FLASH_HAS_DRIVER_ENABLED
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
# Copyright (c) 2021 Nordic Semiconductor ASA
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
config PINCTRL_STM32
|
||||
bool
|
||||
menuconfig PINCTRL_STM32
|
||||
bool "Pin controller driver for STM32 MCUs"
|
||||
default y
|
||||
depends on DT_HAS_ST_STM32_PINCTRL_ENABLED || DT_HAS_ST_STM32F1_PINCTRL_ENABLED
|
||||
help
|
||||
|
|
|
@ -77,7 +77,7 @@ config SMBUS_INTEL_PCH_SMBALERT
|
|||
|
||||
endif # SMBUS_INTEL_PCH
|
||||
|
||||
config SMBUS_STM32
|
||||
menuconfig SMBUS_STM32
|
||||
bool "STM32 SMBus driver"
|
||||
default y
|
||||
depends on DT_HAS_ST_STM32_SMBUS_ENABLED
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
# Copyright (c) 2019 Centaur Analytics, Inc
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
config IWDG_STM32
|
||||
menuconfig IWDG_STM32
|
||||
bool "Independent Watchdog (IWDG) Driver for STM32 family of MCUs"
|
||||
default y
|
||||
depends on DT_HAS_ST_STM32_WATCHDOG_ENABLED
|
||||
|
|
Loading…
Reference in New Issue