2020-06-26 02:10 AM
Generated code in main.c looks like this and lacks function name for the second block.
/**
* Enable DMA controller clock
*/
static void MX_BDMA_Init(void)
{
/* DMA controller clock enable */
__HAL_RCC_BDMA_CLK_ENABLE();
/* DMA interrupt init */
/* BDMA_Channel0_IRQn interrupt configuration */
HAL_NVIC_SetPriority(BDMA_Channel0_IRQn, 5, 0);
HAL_NVIC_EnableIRQ(BDMA_Channel0_IRQn);
}
/**
* Enable DMA controller clock
*/
{
/* DMA controller clock enable */
__HAL_RCC_DMA1_CLK_ENABLE();
/* DMA interrupt init */
/* DMA1_Stream0_IRQn interrupt configuration */
HAL_NVIC_SetPriority(DMA1_Stream0_IRQn, 5, 0);
HAL_NVIC_EnableIRQ(DMA1_Stream0_IRQn);
}
2020-07-01 02:48 AM
Hello DGrön.1,
Could you please explain more your issue, is your problem with the CubeMX generated code ? What do you think are the missing functions?
Thanks,
BR,
Khouloud.
2020-07-03 08:21 AM
2020-07-06 01:39 AM
Hello DGrön.1,
Thanks for your feedback, issue is detected and will be reported internally for revision and fix.
BR,
Khouloud.