summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Palsson <karlp@etactica.com>2021-09-15 16:13:09 +0200
committerVegard Storheil Eriksen <zyp@jvnv.net>2021-09-16 20:29:55 +0200
commit3c549c984d93ad8b627eac40aac99bab76763f6c (patch)
tree8b061fb0a23318708d19bbaab5bd8538c715e5dc
parent8916162e6847e5e0e5456cd68ea0baff7dd68a28 (diff)
gpio: stm32wb: old style: add basic support
gpio hasn't (yet) been converted to new style. Signed-off-by: Karl Palsson <karlp@etactica.com>
-rw-r--r--gpio/gpio.h6
1 files changed, 6 insertions, 0 deletions
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