summaryrefslogtreecommitdiff
path: root/platforms
diff options
context:
space:
mode:
authorKarl Palsson <karlp@tweak.net.au>2022-01-20 13:18:33 +0100
committerVegard Storheil Eriksen <zyp@jvnv.net>2022-01-26 23:40:29 +0100
commit267c99850a0795b1563725c33674f2c62f6942a8 (patch)
treed446995cf2c7b0098b4c261eb358712c3683c2ee /platforms
parented1731d14aa7036376c7a68a6689f76ff61c0985 (diff)
stm32_syscfg: convert to modern.
Includes the f4, l0 and wb. f4 renames MEMRM to MEMRMP to be both consistent with other parts and consistent with ref man. Retested on the WB, but l0 and f4 code was simply moved. For yaml files, given how varied syscfg is, we default to using the family name as the type, but still allow overriding via explicit type in the yaml file if desired. Signed-off-by: Karl Palsson <karlp@tweak.net.au>
Diffstat (limited to 'platforms')
-rw-r--r--platforms/stm32/f4.yaml4
-rw-r--r--platforms/stm32/l0.yaml4
-rw-r--r--platforms/stm32/wb.yaml4
3 files changed, 12 insertions, 0 deletions
diff --git a/platforms/stm32/f4.yaml b/platforms/stm32/f4.yaml
index f9ff092..fdcef98 100644
--- a/platforms/stm32/f4.yaml
+++ b/platforms/stm32/f4.yaml
@@ -54,6 +54,10 @@
GPIOI:
offset: 0x40022000
+ stm32_syscfg:
+ SYSCFG:
+ offset: 0x40013800
+
stm32_timer:
TIM1:
offset: 0x40010000
diff --git a/platforms/stm32/l0.yaml b/platforms/stm32/l0.yaml
index e20984d..cfba79b 100644
--- a/platforms/stm32/l0.yaml
+++ b/platforms/stm32/l0.yaml
@@ -16,3 +16,7 @@
offset: 0x50000c00
GPIOH:
offset: 0x50001c00
+
+ stm32_syscfg:
+ SYSCFG:
+ offset: 0x40010000
diff --git a/platforms/stm32/wb.yaml b/platforms/stm32/wb.yaml
index 5fdb127..d3590a5 100644
--- a/platforms/stm32/wb.yaml
+++ b/platforms/stm32/wb.yaml
@@ -76,6 +76,10 @@
type: wb
offset: 0x58000400
+ stm32_syscfg:
+ SYSCFG:
+ offset: 0x40010000
+
stm32_timer:
TIM1:
offset: 0x40012C00