STM32CubeMX generated DMA code
Hi,
I'm using V6.15.0 of CubeMX with STM32U5 to generate DMA code. When I use the following configuration, it appears to generate incorrect code?

I've noticed the following:
1) It placed the Node_GPDMA1_Channel1 structure on the stack:

This doesn't seem right, and I would note that when memory to memory DMA is selected, it allocates this (correctly) statically.
2) It sets the source increment mode to LL_DMA_SRC_FIXED:

This again doesn't seem right. When transferring from memory to peripheral, the source increment mode should be LL_DMA_SRC_INCREMENT.
3) This code is confusing and inconsistent:

When generating memory to memory code, the LL_DMA_SetLinkedListBaseAddr call is placed inside the comments. When generating peripheral to memory code, it is placed outside of the comments.
Regards
John
