summaryrefslogtreecommitdiff
path: root/platforms
diff options
context:
space:
mode:
authorVegard Storheil Eriksen <zyp@jvnv.net>2021-09-15 17:05:36 +0200
committerVegard Storheil Eriksen <zyp@jvnv.net>2021-09-15 17:05:36 +0200
commit9801227da93abb418d12804d2ceb56ce04d90c1d (patch)
tree7927fbc98a8ff870a34315d54cf8ad5a38fbb4b7 /platforms
parentcb486529482ef66902fd15bbd6e3a3b12ff4fa4b (diff)
uart: Generate instances from platform spec.
Diffstat (limited to 'platforms')
-rw-r--r--platforms/stm32/f4.yaml4
1 files changed, 3 insertions, 1 deletions
diff --git a/platforms/stm32/f4.yaml b/platforms/stm32/f4.yaml
index dc5717d..5325d92 100644
--- a/platforms/stm32/f4.yaml
+++ b/platforms/stm32/f4.yaml
@@ -22,11 +22,13 @@
size: 64k
periph:
- uart_stm32:
+ stm32_uart:
USART1:
offset: 0x40011000
+ type: v1
USART2:
offset: 0x40004400
+ type: v1
dwc_otg:
OTG_FS: