summaryrefslogtreecommitdiff
path: root/platforms
diff options
context:
space:
mode:
authorVegard Storheil Eriksen <zyp@jvnv.net>2021-01-16 01:20:58 +0100
committerVegard Storheil Eriksen <zyp@jvnv.net>2021-01-16 01:20:58 +0100
commit9921c9db409ad5b00fe4a43a2459e2fd2de6b0cf (patch)
treeb0f3bc73144d87112f746d04b3bc7a69cc3e0953 /platforms
parentd834303f5e642266874b1c99be04dcb9149fefb1 (diff)
usb: Generate instances from platform spec.
Diffstat (limited to 'platforms')
-rw-r--r--platforms/stm32/f4.yaml13
1 files changed, 13 insertions, 0 deletions
diff --git a/platforms/stm32/f4.yaml b/platforms/stm32/f4.yaml
index a2b28f7..dccffe9 100644
--- a/platforms/stm32/f4.yaml
+++ b/platforms/stm32/f4.yaml
@@ -21,6 +21,19 @@
origin: 0x10000000
size: 64k
+ periph:
+ uart_stm32:
+ USART1:
+ offset: 0x40011000
+ USART2:
+ offset: 0x40004400
+
+ dwc_otg:
+ OTG_FS:
+ offset: 0x50000000
+ OTG_HS:
+ offset: 0x40040000
+
define:
- STM32F4