Question
Request: CubeMX: Generate user code section between peripherals and interrupt initialization
I'm using "interupt unmasking ordering" in CubeMX, which basically generates code like this:
MX_GPIO_Init();
MX_DMA_Init();
MX_FMC_Init();
MX_DAC_Init();
... <--- add user code section
MX_NVIC_Init();My request is to add another use code section between the end of the peripheral initialization and the enabling of the interrupts.
The reason is that I need to configure additional entities, e.g., the SDRAM by calling SDRAM_Init(), which I now cannot do before enabling interrupts. This is required for my application, though.
