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).