From 4a6ea6306836b8037d8bdde6feae1e28adb7987c Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Sat, 22 Jan 2022 06:53:58 +0000 Subject: [PATCH] Fixed bug #1213. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15390 27425a3e-05d8-49a3-a47f-9c15f0e5edd8 --- os/hal/include/hal_spi_v2.h | 2 +- readme.txt | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/os/hal/include/hal_spi_v2.h b/os/hal/include/hal_spi_v2.h index 65f5c30d8..d95f58d5b 100644 --- a/os/hal/include/hal_spi_v2.h +++ b/os/hal/include/hal_spi_v2.h @@ -382,7 +382,7 @@ do { \ osalSysUnlockFromISR(); \ } #else /* !SPI_USE_SYNCHRONIZATION */ -#define __spi_wakeup_isr(spip) +#define __spi_wakeup_isr(spip, msg) #endif /* !SPI_USE_SYNCHRONIZATION */ /** diff --git a/readme.txt b/readme.txt index a015644c1..297cb13d4 100644 --- a/readme.txt +++ b/readme.txt @@ -110,6 +110,8 @@ ARMv7-M and ARMv8-M-ML. - NEW: On STM32WBxx added a check on STM32_LSI_ENABLE required by IWDG. - NEW: Added SPIv2 support also to STM32WB and STM32WL. +- FIX: Fixed SPIv2 driver compile fails when SPI_USE_SYNCHRONIZATION is FALSE + (bug #1213)(backported to 21.11.2). - FIX: Fixed invalid state transition in SNOR flash driver (bug #1212) (backported to 20.3.5)(backported to 21.11.2). - FIX: Fixed missing exit condition in sioSynchronizeRX() and