From c5db5025ef1adc5185b36ed98536c4800acec1b4 Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Sat, 24 Apr 2021 05:11:42 +0000 Subject: [PATCH] Fixed bug #1153. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/stable_20.3.x@14276 27425a3e-05d8-49a3-a47f-9c15f0e5edd8 --- os/hal/ports/STM32/LLD/QUADSPIv1/hal_wspi_lld.c | 3 +++ readme.txt | 1 + 2 files changed, 4 insertions(+) diff --git a/os/hal/ports/STM32/LLD/QUADSPIv1/hal_wspi_lld.c b/os/hal/ports/STM32/LLD/QUADSPIv1/hal_wspi_lld.c index 64f2522f1..bf3cb967b 100644 --- a/os/hal/ports/STM32/LLD/QUADSPIv1/hal_wspi_lld.c +++ b/os/hal/ports/STM32/LLD/QUADSPIv1/hal_wspi_lld.c @@ -99,6 +99,8 @@ static void wspi_lld_serve_interrupt(WSPIDriver *wspip) { transfer complete.*/ dmaStreamClearInterrupt(wspip->dma); +#if defined(STM32L471xx) || defined(STM32L475xx) || \ + defined(STM32L476xx) || defined(STM32L486xx) /* Handling of errata: Extra data written in the FIFO at the end of a read transfer.*/ if (wspip->state == WSPI_RECEIVE) { @@ -106,6 +108,7 @@ static void wspi_lld_serve_interrupt(WSPIDriver *wspip) { (void) wspip->qspi->DR; } } +#endif } /*===========================================================================*/ diff --git a/readme.txt b/readme.txt index 8fe3174db..ccacaac88 100644 --- a/readme.txt +++ b/readme.txt @@ -74,6 +74,7 @@ ***************************************************************************** *** 20.3.4 *** +- FIX: Fixed QUADSPI errata fix applied to all platforms (bug #1153). - FIX: Fixed (again) LPUART1 support for STM32H7xx (bug #1113). - FIX: Fixed wrong behavior in Serial-USB driver (bug #1151). - FIX: Fixed L0x2 series DAC not allocated in registry (bug #1150).