cancel
Showing results for 
Search instead for 
Did you mean: 

Add user code region between peripherals configuration and 'MX_NVIC_Init'

diverger
Senior

Sometimes, I have some code need run after 'MX_GPIO_Init()' but before 'MX_NVIC_Init()', but there is no user code region at here. I often encounter the situation, that some peripheral initialization need gpio inited first, and then enable the interrupt.

Thanks.

2 REPLIES 2
TPeča.1
Associate II
TPeča.1
Associate II

On further thought, a cleaner solution might be to manually manage those function calls, which you can do under Advanced settings

0693W000001qBrdQAE.png