From 3c549c984d93ad8b627eac40aac99bab76763f6c Mon Sep 17 00:00:00 2001 From: Karl Palsson Date: Wed, 15 Sep 2021 14:13:09 +0000 Subject: gpio: stm32wb: old style: add basic support gpio hasn't (yet) been converted to new style. Signed-off-by: Karl Palsson --- gpio/gpio.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'gpio') diff --git a/gpio/gpio.h b/gpio/gpio.h index ceef3ed..3b9c1f4 100644 --- a/gpio/gpio.h +++ b/gpio/gpio.h @@ -239,6 +239,12 @@ static GPIO_t GPIOB(0x50000400); static GPIO_t GPIOC(0x50000800); static GPIO_t GPIOD(0x50000c00); static GPIO_t GPIOH(0x50001c00); +#elif defined(STM32WB) +static GPIO_t GPIOA(0x48000000); +static GPIO_t GPIOB(0x48000400); +static GPIO_t GPIOC(0x48000800); +static GPIO_t GPIOD(0x48000c00); +static GPIO_t GPIOE(0x48001000); #endif #endif -- cgit v1.2.3