Skip to content

Commit 3fe6fcf

Browse files
JarmouniAjhedberg
authored andcommitted
soc: stm32: Kconfig: fix options leak
Fix various Kconfig options leak Signed-off-by: Abderrahmane JARMOUNI <[email protected]>
1 parent ea71891 commit 3fe6fcf

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

soc/st/stm32/stm32h7x/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,5 +96,6 @@ config STM32H7_DUAL_CORE
9696
config STM32H7_BOOT_M4_AT_INIT
9797
bool "Boot M4 core during M7 init independent of option byte BCM4."
9898
default y
99+
depends on STM32H7_DUAL_CORE
99100

100101
endif # SOC_SERIES_STM32H7X

soc/st/stm32/stm32n6x/Kconfig

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ config SOC_SERIES_STM32N6X
2424
select MPU_GAP_FILLING if USERSPACE
2525
select CPU_HAS_CUSTOM_FIXED_SOC_MPU_REGIONS if USERSPACE && !XIP
2626

27+
if SOC_SERIES_STM32N6X
28+
2729
config STM32N6_BOOT_SERIAL
2830
bool "Serial boot target (USB)"
2931

@@ -33,3 +35,5 @@ config STM32N6_NPU
3335
select RESET
3436
default y
3537
depends on DT_HAS_ST_STM32_NPU_ENABLED
38+
39+
endif # SOC_SERIES_STM32N6X

0 commit comments

Comments
 (0)