Regenerated Code
Hi everyone!
I use STM32CubeIDE and the RTC of my uC. Everytime I change something on STM32CubeMX the code is regenerated and I know that I must write my personal code in the USER SECTIONS. My question is that I want to change parameters in the initialization part that is always regenerated such as Async/syn prescaler value and RTC time. Do I have to create another function like User_init() to rewrite my parameters and the two functions will coexist or is there any other way to avoid always having to modify this initialization function, which will always be regenerated?
There is the STM32CubeMX initialization and the init I want :


Thank you for your help !
