aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--os/hal/ports/STM32/LLD/GPIOv3/hal_pal_lld.c2
-rw-r--r--readme.txt1
2 files changed, 2 insertions, 1 deletions
diff --git a/os/hal/ports/STM32/LLD/GPIOv3/hal_pal_lld.c b/os/hal/ports/STM32/LLD/GPIOv3/hal_pal_lld.c
index 9ca51f5b9..7568ccc59 100644
--- a/os/hal/ports/STM32/LLD/GPIOv3/hal_pal_lld.c
+++ b/os/hal/ports/STM32/LLD/GPIOv3/hal_pal_lld.c
@@ -31,7 +31,7 @@
/*===========================================================================*/
/* Handling a difference in ST headers.*/
-#if defined(STM32L4XX)
+#if defined(STM32L4XX) || defined(STM32L4XXP)
#define EMR EMR1
#define IMR IMR1
#define PR PR1
diff --git a/readme.txt b/readme.txt
index 72e7b2240..15b8a025f 100644
--- a/readme.txt
+++ b/readme.txt
@@ -77,6 +77,7 @@
- LIB: Re-introduced missing chGuardedPoolGetCounterI() function to guarded
pools allocator.
- NEW: Extra timer checks in STM32 ST driver.
+- FIX: Fixed missing STM32L4+ check in GPIOv3 driver (bug #1020).
- FIX: Fixed call to obsolete dmaStreamRelease() in STM32 I2Cv3 driver
(bug #1019).
- FIX: Fixed misconfiguration in STM32L4R9I DIscovery board files (bug #1018).