From d5fbedc24fdd41e7c30b2f9239f666f33893e065 Mon Sep 17 00:00:00 2001 From: Vegard Storheil Eriksen Date: Thu, 16 Sep 2021 23:50:26 +0200 Subject: gpio: Generate instances from platform spec. --- platforms/stm32/f3.yaml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'platforms/stm32/f3.yaml') diff --git a/platforms/stm32/f3.yaml b/platforms/stm32/f3.yaml index ed97844..4cbb3b8 100644 --- a/platforms/stm32/f3.yaml +++ b/platforms/stm32/f3.yaml @@ -1,5 +1,24 @@ # This is incomplete, just preserving register addresses! - periph: + stm32_gpio: + GPIOA: + offset: 0x48000000 + type: v2 + GPIOB: + offset: 0x48000400 + type: v2 + GPIOC: + offset: 0x48000800 + type: v2 + GPIOD: + offset: 0x48000c00 + type: v2 + GPIOE: + offset: 0x48001000 + type: v2 + GPIOF: + offset: 0x48001400 + type: v2 stm32_timer: TIM1: offset: 0x40012c00 -- cgit v1.2.3