Skip to content

Commit

Permalink
stm32h7xx_hal driver partial update to v1.11.3
Browse files Browse the repository at this point in the history
Some changes applied on the stm32h7xx_hal_driver
v1.11.3 are reported here. Until the stm32CubeH7 module
is updated.

Signed-off-by: Francois Ramu <francois.ramu@st.com>
  • Loading branch information
FRASTM committed Aug 30, 2024
1 parent f131715 commit 9df2bcb
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions stm32cube/stm32h7xx/README
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion stm32cube/stm32h7xx/drivers/src/stm32h7xx_hal_ospi.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down
2 changes: 1 addition & 1 deletion stm32cube/stm32h7xx/drivers/src/stm32h7xx_ll_delayblock.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 ------------------------------------------------------------*/
Expand Down

0 comments on commit 9df2bcb

Please sign in to comment.