summaryrefslogtreecommitdiff
path: root/platforms
diff options
context:
space:
mode:
authorKarl Palsson <karlp@tweak.net.au>2021-09-17 22:02:25 +0200
committerVegard Storheil Eriksen <zyp@jvnv.net>2022-01-26 23:40:29 +0100
commit1b5215b679d541f0902ad1d39f0ceb6c36250401 (patch)
tree56e89b17184d97fc06ed66afcdd6ea1f60b7a37d /platforms
parent2d8a1c0489da61996bb4787a53353585d0413a03 (diff)
flash: convert to new style
Diffstat (limited to 'platforms')
-rw-r--r--platforms/stm32/f0.yaml5
-rw-r--r--platforms/stm32/f1.yaml5
-rw-r--r--platforms/stm32/f3.yaml5
-rw-r--r--platforms/stm32/f4.yaml5
-rw-r--r--platforms/stm32/l0.yaml5
-rw-r--r--platforms/stm32/wb.yaml5
6 files changed, 30 insertions, 0 deletions
diff --git a/platforms/stm32/f0.yaml b/platforms/stm32/f0.yaml
index 58c90b5..68e02b4 100644
--- a/platforms/stm32/f0.yaml
+++ b/platforms/stm32/f0.yaml
@@ -1,5 +1,10 @@
# This is incomplete, just preserving register addresses!
- periph:
+ stm32_flash:
+ FLASH:
+ type: f1
+ offset: 0x40022000
+
stm32_gpio:
GPIOA:
offset: 0x48000000
diff --git a/platforms/stm32/f1.yaml b/platforms/stm32/f1.yaml
index a71a319..7e6919d 100644
--- a/platforms/stm32/f1.yaml
+++ b/platforms/stm32/f1.yaml
@@ -1,5 +1,10 @@
# This is incomplete, just preserving register addresses!
- periph:
+ stm32_flash:
+ FLASH:
+ type: f1
+ offset: 0x40022000
+
stm32_gpio:
GPIOA:
offset: 0x40010800
diff --git a/platforms/stm32/f3.yaml b/platforms/stm32/f3.yaml
index 7877cd7..52b00bd 100644
--- a/platforms/stm32/f3.yaml
+++ b/platforms/stm32/f3.yaml
@@ -75,6 +75,11 @@
type: v1
offset: 0x40020400
+ stm32_flash:
+ FLASH:
+ type: f1
+ offset: 0x40022000
+
stm32_gpio:
GPIOA:
offset: 0x48000000
diff --git a/platforms/stm32/f4.yaml b/platforms/stm32/f4.yaml
index 5f222c7..2aca27c 100644
--- a/platforms/stm32/f4.yaml
+++ b/platforms/stm32/f4.yaml
@@ -29,6 +29,11 @@
size: 64k
periph:
+ stm32_flash:
+ FLASH:
+ type: f4
+ offset: 0x40023c00
+
stm32_gpio:
GPIOA:
offset: 0x40020000
diff --git a/platforms/stm32/l0.yaml b/platforms/stm32/l0.yaml
index f8e8414..e20984d 100644
--- a/platforms/stm32/l0.yaml
+++ b/platforms/stm32/l0.yaml
@@ -1,5 +1,10 @@
# This is incomplete, just preserving register addresses!
- periph:
+ stm32_flash:
+ FLASH:
+ type: l0
+ offset: 0x40022000
+
stm32_gpio:
GPIOA:
offset: 0x50000000
diff --git a/platforms/stm32/wb.yaml b/platforms/stm32/wb.yaml
index cb1d5fb..d8fb1f3 100644
--- a/platforms/stm32/wb.yaml
+++ b/platforms/stm32/wb.yaml
@@ -28,6 +28,11 @@
size: 10k
periph:
+ stm32_flash:
+ FLASH:
+ type: wb
+ offset: 0x58004000
+
stm32_gpio:
GPIOA:
offset: 0x48000000