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/l0.yaml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 platforms/stm32/l0.yaml (limited to 'platforms/stm32/l0.yaml') diff --git a/platforms/stm32/l0.yaml b/platforms/stm32/l0.yaml new file mode 100644 index 0000000..75c4330 --- /dev/null +++ b/platforms/stm32/l0.yaml @@ -0,0 +1,18 @@ +# This is incomplete, just preserving register addresses! +- periph: + stm32_gpio: + GPIOA: + offset: 0x50000000 + type: v2 + GPIOB: + offset: 0x50000400 + type: v2 + GPIOC: + offset: 0x50000800 + type: v2 + GPIOD: + offset: 0x50000c00 + type: v2 + GPIOH: + offset: 0x50001c00 + type: v2 -- cgit v1.2.3