update to CubeMX 6.14.0, FW_H7 1.12.1
This commit is contained in:
@ -1177,7 +1177,8 @@ HAL_StatusTypeDef HAL_OSPI_Transmit(OSPI_HandleTypeDef *hospi, uint8_t *pData, u
|
||||
*((__IO uint8_t *)data_reg) = *hospi->pBuffPtr;
|
||||
hospi->pBuffPtr++;
|
||||
hospi->XferCount--;
|
||||
} while (hospi->XferCount > 0U);
|
||||
}
|
||||
while (hospi->XferCount > 0U);
|
||||
|
||||
if (status == HAL_OK)
|
||||
{
|
||||
@ -1270,7 +1271,8 @@ HAL_StatusTypeDef HAL_OSPI_Receive(OSPI_HandleTypeDef *hospi, uint8_t *pData, ui
|
||||
*hospi->pBuffPtr = *((__IO uint8_t *)data_reg);
|
||||
hospi->pBuffPtr++;
|
||||
hospi->XferCount--;
|
||||
} while (hospi->XferCount > 0U);
|
||||
}
|
||||
while (hospi->XferCount > 0U);
|
||||
|
||||
if (status == HAL_OK)
|
||||
{
|
||||
@ -1597,7 +1599,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 */
|
||||
@ -2581,8 +2583,9 @@ HAL_StatusTypeDef HAL_OSPIM_Config(OSPI_HandleTypeDef *hospi, OSPIM_CfgTypeDef *
|
||||
}
|
||||
|
||||
/********************* Deactivation of other instance *********************/
|
||||
if ((cfg->ClkPort == IOM_cfg[other_instance].ClkPort) || (cfg->DQSPort == IOM_cfg[other_instance].DQSPort) ||
|
||||
(cfg->NCSPort == IOM_cfg[other_instance].NCSPort) || (cfg->IOLowPort == IOM_cfg[other_instance].IOLowPort) ||
|
||||
if ((cfg->ClkPort == IOM_cfg[other_instance].ClkPort) || (cfg->NCSPort == IOM_cfg[other_instance].NCSPort) ||
|
||||
((cfg->DQSPort == IOM_cfg[other_instance].DQSPort) && (cfg->DQSPort != 0U)) ||
|
||||
(cfg->IOLowPort == IOM_cfg[other_instance].IOLowPort) ||
|
||||
(cfg->IOHighPort == IOM_cfg[other_instance].IOHighPort))
|
||||
{
|
||||
if ((cfg->ClkPort == IOM_cfg[other_instance].ClkPort) &&
|
||||
|
||||
Reference in New Issue
Block a user