diff --git a/stm32cube/stm32h7xx/README b/stm32cube/stm32h7xx/README index 07fef41bc..d3b32cdbd 100644 --- a/stm32cube/stm32h7xx/README +++ b/stm32cube/stm32h7xx/README @@ -73,4 +73,10 @@ Patch List: Impacted files: drivers/include/Legacy/stm32_hal_legacy.h + *include STM32Cube patch in stm32h7xx_hal_ospi.c: + [HAL][OSPI] Fix wrong parameters passed to HAL_MDMA_Start_IT function + + *include STM32Cube patch in stm32h7xx_ll_delayblock.c: + [LL][DELAYBLOCK] Add a missing define for OSPI to the defgroup DELAYB… + See release_note.html from STM32Cube diff --git a/stm32cube/stm32h7xx/drivers/src/stm32h7xx_hal_ospi.c b/stm32cube/stm32h7xx/drivers/src/stm32h7xx_hal_ospi.c index 46474bfe1..a38e06b30 100644 --- a/stm32cube/stm32h7xx/drivers/src/stm32h7xx_hal_ospi.c +++ b/stm32cube/stm32h7xx/drivers/src/stm32h7xx_hal_ospi.c @@ -1597,7 +1597,7 @@ HAL_StatusTypeDef HAL_OSPI_Receive_DMA(OSPI_HandleTypeDef *hospi, uint8_t *pData } /* Enable the transmit MDMA Channel */ - if (HAL_MDMA_Start_IT(hospi->hmdma, (uint32_t)pData, (uint32_t)&hospi->Instance->DR, hospi->XferSize, 1) == \ + if (HAL_MDMA_Start_IT(hospi->hmdma, (uint32_t)&hospi->Instance->DR, (uint32_t)pData, hospi->XferSize, 1) == \ HAL_OK) { /* Enable the transfer error interrupt */ diff --git a/stm32cube/stm32h7xx/drivers/src/stm32h7xx_ll_delayblock.c b/stm32cube/stm32h7xx/drivers/src/stm32h7xx_ll_delayblock.c index 0ad6a461b..791b29ba5 100644 --- a/stm32cube/stm32h7xx/drivers/src/stm32h7xx_ll_delayblock.c +++ b/stm32cube/stm32h7xx/drivers/src/stm32h7xx_ll_delayblock.c @@ -59,7 +59,7 @@ * @{ */ -#if defined(HAL_SD_MODULE_ENABLED) || defined(HAL_QSPI_MODULE_ENABLED) +#if defined(HAL_SD_MODULE_ENABLED) || defined(HAL_QSPI_MODULE_ENABLED)|| defined(HAL_OSPI_MODULE_ENABLED) /* Private typedef -----------------------------------------------------------*/ /* Private define ------------------------------------------------------------*/