STM32U5x GPDMA+USART Code Generation bug in STMCubeMX v6.4.0.
When I generate the code for a simple STM32U5x project with a USART configured and GPDMA configure for the USART TX and/or RX, the initialization code in MX_GPDMA1_Init() will be properly generated if I have my project to generate all the initialization code in main.c. However, if I change the project settings by enabling "Generate peripheral initialization as a pair of '.c/.h' files per peripheral", the resulting MX_GPDMA1_Init() found in gpdma.c will not contain any code, just comments.
The work around it to manually add the necessary initialization code into one of the /* USER */ sections in MX_GPDMA1_Init().
Hopefully this can be fixed in a not-too-distant future release.
Thanks,
Craig
