mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-09-08 01:52:27 +00:00
Same deal as in commit eddd98f
("kconfig: Replace some single-symbol
'if's with 'depends on'"), for all symbols defined within defconfig
files. See that commit for an explanation.
Maybe 'if's were used originally to mirror the 'if's in the main Kconfig
files, and then it got copied around by people assuming 'if' must work
differently from 'depends on'. It doesn't match in every spot at least.
Better to keep it simple and just consistently use 'depends on' when
it's a single symbol/choice I think. Helps reinforce that 'if' isn't
magic too.
Verified by printing all Kconfig menu nodes (symbols, choices, menus,
etc.) before and after the change and diffing (should show no
difference).
Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
19 lines
284 B
Plaintext
19 lines
284 B
Plaintext
# ST Microelectronics STM32F334X8 MCU
|
|
|
|
# Copyright (c) 2016 RnDity Sp. z o.o.
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
if SOC_STM32F334X8
|
|
|
|
config SOC
|
|
default "stm32f334x8"
|
|
|
|
config NUM_IRQS
|
|
default 82
|
|
|
|
config GPIO_STM32_PORTF
|
|
default y
|
|
depends on GPIO_STM32
|
|
|
|
endif # SOC_STM32F334X8
|