Browse Source

soc: stm32: Protect Kconfig symbols by SOC_FAMILY_STM32

Should avoid polluting other socs.

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
pull/69687/head
Erwan Gouriou 1 year ago committed by Carles Cufi
parent
commit
a837303268
  1. 4
      soc/st/stm32/Kconfig

4
soc/st/stm32/Kconfig

@ -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

Loading…
Cancel
Save