STMCubeIDE 1.1.0 (CubeMX 5.4.0) switch initialization order.
Hi. I noticed in the latest STMCubeIDE v1.1.0 DMA is initialized at the end of initialization chain. There is only NVIC interrupt priority set but as i can see it's important where it's initialized.
/* Initialize all configured peripherals */
MX_GPIO_Init();
MX_USART2_UART_Init();
MX_DMA_Init();
instead of previous
/* Initialize all configured peripherals */
MX_GPIO_Init();
MX_DMA_Init();
MX_USART2_UART_Init();
The result is while UART IDLE interrupt occurs, DMA shows me always that is received 0 bytes in NDTR register.
my code(working with correct initialization order): https://github.com/lamik/UART_DMA_receiving
