From b6d44408b702ca6b6ac91835aa4a262f9c3acf02 Mon Sep 17 00:00:00 2001 From: Karl Palsson Date: Thu, 16 Sep 2021 14:11:48 +0000 Subject: gpio: stm32wb: add base addresses to platform This is not hooked up to anything yet, but would be where the GPIOs get connected if they are converted to new style. There's no reason to pull this commit by itself though! --- platforms/stm32/wb.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'platforms/stm32') diff --git a/platforms/stm32/wb.yaml b/platforms/stm32/wb.yaml index 6aee549..cb1d5fb 100644 --- a/platforms/stm32/wb.yaml +++ b/platforms/stm32/wb.yaml @@ -28,6 +28,18 @@ size: 10k periph: + stm32_gpio: + GPIOA: + offset: 0x48000000 + GPIOB: + offset: 0x48000400 + GPIOC: + offset: 0x48000800 + GPIOD: + offset: 0x48000c00 + GPIOE: + offset: 0x48001000 + stm32_timer: TIM1: offset: 0x40012C00 -- cgit v1.2.3