summaryrefslogtreecommitdiff
path: root/platforms
diff options
context:
space:
mode:
authorKarl Palsson <karlp@etactica.com>2021-09-16 16:11:48 +0200
committerVegard Storheil Eriksen <zyp@jvnv.net>2021-09-16 20:29:55 +0200
commitb6d44408b702ca6b6ac91835aa4a262f9c3acf02 (patch)
tree30b98a0599e601e33cccede21f8d80fc26692fba /platforms
parent3c549c984d93ad8b627eac40aac99bab76763f6c (diff)
gpio: stm32wb: add base addresses to platform
This is not hooked up to anything yet, but would be where the GPIOs get connected if they are converted to new style. There's no reason to pull this commit by itself though!
Diffstat (limited to 'platforms')
-rw-r--r--platforms/stm32/wb.yaml12
1 files changed, 12 insertions, 0 deletions
diff --git a/platforms/stm32/wb.yaml b/platforms/stm32/wb.yaml
index 6aee549..cb1d5fb 100644
--- a/platforms/stm32/wb.yaml
+++ b/platforms/stm32/wb.yaml
@@ -28,6 +28,18 @@
size: 10k
periph:
+ stm32_gpio:
+ GPIOA:
+ offset: 0x48000000
+ GPIOB:
+ offset: 0x48000400
+ GPIOC:
+ offset: 0x48000800
+ GPIOD:
+ offset: 0x48000c00
+ GPIOE:
+ offset: 0x48001000
+
stm32_timer:
TIM1:
offset: 0x40012C00