STM32H743 CubeMx I2S code generated with bugs (SPI_FIFO_THRESHOLD_01DATA undefined)
When we setup a new project on the STM32H743 and select I2S, we get the following error. It appears that the macro SPI_FIFO_THRESHOLD_01DATA is not defined. Any help would be much appreciated.
.\..\..\Drivers\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_i2s_ex.c:306:72: error: 'SPI_FIFO_THRESHOLD_01DATA' undeclared (first use in this function)
if ( (hi2s->TxXferCount > 1U) && (hi2s->Init.FifoThreshold > SPI_FIFO_THRESHOLD_01DATA))
