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/f4.yaml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) (limited to 'platforms/stm32/f4.yaml') diff --git a/platforms/stm32/f4.yaml b/platforms/stm32/f4.yaml index d362fa4..429e31b 100644 --- a/platforms/stm32/f4.yaml +++ b/platforms/stm32/f4.yaml @@ -29,6 +29,34 @@ size: 64k periph: + stm32_gpio: + GPIOA: + offset: 0x40020000 + type: v2 + GPIOB: + offset: 0x40020400 + type: v2 + GPIOC: + offset: 0x40020800 + type: v2 + GPIOD: + offset: 0x40020c00 + type: v2 + GPIOE: + offset: 0x40021000 + type: v2 + GPIOF: + offset: 0x40021400 + type: v2 + GPIOG: + offset: 0x40021800 + type: v2 + GPIOH: + offset: 0x40021c00 + type: v2 + GPIOI: + offset: 0x40022000 + type: v2 stm32_timer: TIM1: -- cgit v1.2.3