From 3cdf4899c06a8a23f48d8f9db50c867021f4435f Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Sat, 13 Feb 2021 08:56:18 +0000 Subject: [PATCH] Fixed bug #1144. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/stable_20.3.x@14046 27425a3e-05d8-49a3-a47f-9c15f0e5edd8 --- os/hal/ports/STM32/LLD/SPIv3/hal_spi_lld.h | 2 +- readme.txt | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/os/hal/ports/STM32/LLD/SPIv3/hal_spi_lld.h b/os/hal/ports/STM32/LLD/SPIv3/hal_spi_lld.h index c906524dd..133fedf4d 100644 --- a/os/hal/ports/STM32/LLD/SPIv3/hal_spi_lld.h +++ b/os/hal/ports/STM32/LLD/SPIv3/hal_spi_lld.h @@ -429,7 +429,7 @@ #error "Invalid DMA priority assigned to SPI6" #endif -#if STM32_SPI_USE_SPI1 || STM32_SPI_USE_SPI2 || STM32_SPI_USE_SPI1 || \ +#if STM32_SPI_USE_SPI1 || STM32_SPI_USE_SPI2 || STM32_SPI_USE_SPI3 || \ STM32_SPI_USE_SPI4 || STM32_SPI_USE_SPI5 #define STM32_SPI_DMA_REQUIRED #if !defined(STM32_DMA_REQUIRED) diff --git a/readme.txt b/readme.txt index 671b7e495..8159de415 100644 --- a/readme.txt +++ b/readme.txt @@ -76,6 +76,7 @@ *** 20.3.3 *** - NEW: RT, NIL: Renamed _THREADS_QUEUE_DECL to THREADS_QUEUE_DECL for consistency. +- FIX: Fixed wrong macro check on STM32 SPIv3 (bug #1144). - FIX: Fixed wrong check on STM32 TIM9 timer (bug #1143). - FIX: Fixed FAT time problem in RTC driver (bug #1142). - FIX: Fixed Heap allocation of aligned FIFO objects in chFactory (bug #1141).