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
4 changed files with 5 additions and 5 deletions
|
@ -16,7 +16,7 @@ config STM32_MEMMAP
|
||||||
This option enables the XIP mode for the external NOR flash
|
This option enables the XIP mode for the external NOR flash
|
||||||
mounted on STM32 boards.
|
mounted on STM32 boards.
|
||||||
|
|
||||||
config SOC_FLASH_STM32
|
menuconfig SOC_FLASH_STM32
|
||||||
bool "STM32 flash driver"
|
bool "STM32 flash driver"
|
||||||
depends on DT_HAS_ST_STM32_FLASH_CONTROLLER_ENABLED
|
depends on DT_HAS_ST_STM32_FLASH_CONTROLLER_ENABLED
|
||||||
select FLASH_HAS_DRIVER_ENABLED
|
select FLASH_HAS_DRIVER_ENABLED
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
# Copyright (c) 2021 Nordic Semiconductor ASA
|
# Copyright (c) 2021 Nordic Semiconductor ASA
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
config PINCTRL_STM32
|
menuconfig PINCTRL_STM32
|
||||||
bool
|
bool "Pin controller driver for STM32 MCUs"
|
||||||
default y
|
default y
|
||||||
depends on DT_HAS_ST_STM32_PINCTRL_ENABLED || DT_HAS_ST_STM32F1_PINCTRL_ENABLED
|
depends on DT_HAS_ST_STM32_PINCTRL_ENABLED || DT_HAS_ST_STM32F1_PINCTRL_ENABLED
|
||||||
help
|
help
|
||||||
|
|
|
@ -77,7 +77,7 @@ config SMBUS_INTEL_PCH_SMBALERT
|
||||||
|
|
||||||
endif # SMBUS_INTEL_PCH
|
endif # SMBUS_INTEL_PCH
|
||||||
|
|
||||||
config SMBUS_STM32
|
menuconfig SMBUS_STM32
|
||||||
bool "STM32 SMBus driver"
|
bool "STM32 SMBus driver"
|
||||||
default y
|
default y
|
||||||
depends on DT_HAS_ST_STM32_SMBUS_ENABLED
|
depends on DT_HAS_ST_STM32_SMBUS_ENABLED
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
# Copyright (c) 2019 Centaur Analytics, Inc
|
# Copyright (c) 2019 Centaur Analytics, Inc
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
config IWDG_STM32
|
menuconfig IWDG_STM32
|
||||||
bool "Independent Watchdog (IWDG) Driver for STM32 family of MCUs"
|
bool "Independent Watchdog (IWDG) Driver for STM32 family of MCUs"
|
||||||
default y
|
default y
|
||||||
depends on DT_HAS_ST_STM32_WATCHDOG_ENABLED
|
depends on DT_HAS_ST_STM32_WATCHDOG_ENABLED
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue