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