From 9801227da93abb418d12804d2ceb56ce04d90c1d Mon Sep 17 00:00:00 2001
From: Vegard Storheil Eriksen <zyp@jvnv.net>
Date: Wed, 15 Sep 2021 17:05:36 +0200
Subject: uart: Generate instances from platform spec.

---
 platforms/stm32/f4.yaml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

(limited to 'platforms/stm32')

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:
-- 
cgit v1.2.3