STM32CubeIDE 1.15.1 code generation problem
Using TIMER4 - CH1 as PWM generator with DMA1 - Channel1 (memory to peripheral, circular mode, Half Word), the code generation produces this output in file tim.c:

where (see red arrow) it uses DMA_REQUEST_TIM1_CH1 instead of DMA_REQUEST_TIM4_CH1.
Obviously, this way the PWM function doesn't work properly. By manually changing the value, it works fine!
I've tested the same settings on different timers but seems that only TIMER4 is affected.
Has anyone else noticed the same problem?