summaryrefslogtreecommitdiff
path: root/platforms
diff options
context:
space:
mode:
authorKarl Palsson <karlp@tweak.net.au>2022-01-12 18:30:15 +0100
committerVegard Storheil Eriksen <zyp@jvnv.net>2022-01-26 23:41:04 +0100
commit1155f57710a068efbdc7fdd167ac4e44dd54ec7f (patch)
tree198ee24c33f4c697f039b32e50b0ecea109d3bbe /platforms
parent39a5d7c632ec25bcaaa6f296effe719bbc62a6ed (diff)
stm32wb: rtc: initial registers
Backup registers are just hardcoded to 32, which is the max seen. Note that the STM32WB only has 20! I've captured that in the platform yaml, even though it's not used anywhere (yet?) Signed-off-by: Karl Palsson <karlp@tweak.net.au>
Diffstat (limited to 'platforms')
-rw-r--r--platforms/stm32/wb.yaml5
1 files changed, 5 insertions, 0 deletions
diff --git a/platforms/stm32/wb.yaml b/platforms/stm32/wb.yaml
index d3590a5..81005f4 100644
--- a/platforms/stm32/wb.yaml
+++ b/platforms/stm32/wb.yaml
@@ -76,6 +76,11 @@
type: wb
offset: 0x58000400
+ stm32_rtc:
+ RTC:
+ offset: 0x40002800
+ backup_count: 20
+
stm32_syscfg:
SYSCFG:
offset: 0x40010000