Skip to content

Commit 3ecaf52

Browse files
henrikbrixandersentpambor
authored andcommitted
soc: st: stm32: automatically enable CONFIG_STM32_BACKUP_SRAM based on DTS
Automatically enable CONFIG_STM32_BACKUP_SRAM based on the devicetree node status. Signed-off-by: Henrik Brix Andersen <[email protected]>
1 parent e9b46e2 commit 3ecaf52

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

soc/st/stm32/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ config USE_STM32_ASSERT
2626

2727
config STM32_BACKUP_SRAM
2828
bool "STM32 Backup SRAM"
29+
default y
2930
depends on DT_HAS_ST_STM32_BACKUP_SRAM_ENABLED
3031
help
3132
Enable support for STM32 backup SRAM.

0 commit comments

Comments
 (0)