aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2019-03-16 15:47:11 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2019-03-16 15:47:11 +0000
commitbff3b1b8952403052cef7cdb6c12d41a3208a6f9 (patch)
treebb6440a8d770516b5c0347ef7e6027a42736f49c
parentb69a36edd22a1aa2c97cc79a71071a009fb87c29 (diff)
downloadChibiOS-bff3b1b8952403052cef7cdb6c12d41a3208a6f9.tar.gz
ChibiOS-bff3b1b8952403052cef7cdb6c12d41a3208a6f9.tar.bz2
ChibiOS-bff3b1b8952403052cef7cdb6c12d41a3208a6f9.zip
Fixed bug #1020.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/stable_19.1.x@12697 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
-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).