soc: stm32: Protect Kconfig symbols by SOC_FAMILY_STM32

Should avoid polluting other socs.

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
This commit is contained in:
Erwan Gouriou 2024-02-15 21:57:03 +01:00 committed by Carles Cufi
parent 88e5959f17
commit a837303268
1 changed files with 4 additions and 0 deletions

View File

@ -6,6 +6,8 @@ config SOC_FAMILY_STM32
select STM32_ENABLE_DEBUG_SLEEP_STOP if DEBUG || ZTEST select STM32_ENABLE_DEBUG_SLEEP_STOP if DEBUG || ZTEST
select BUILD_OUTPUT_HEX select BUILD_OUTPUT_HEX
if SOC_FAMILY_STM32
rsource "*/Kconfig" rsource "*/Kconfig"
# STM32 wide symbols definitions # STM32 wide symbols definitions
@ -36,3 +38,5 @@ config STM32_ENABLE_DEBUG_SLEEP_STOP
debuggers from attaching w/o resetting the target. This debuggers from attaching w/o resetting the target. This
effectivly destroys the use-case of `west attach`. Also effectivly destroys the use-case of `west attach`. Also
SEGGER RTT and similar technologies need this. SEGGER RTT and similar technologies need this.
endif # SOC_FAMILY_STM32