cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F0, why is CubeIDE generating the wrong sequence of Init Code (DMA Init after UART init) ?

SFrie.2
Associate II
4 REPLIES 4
KnarfB
Principal III

in the .ioc view, Project Manager tab, Advanced Settings is a table Generated Function Calls. If you select a line, you may change the init order by pressing one of the cryptic little blue icons in the upper left corner. Some settings can be moved, others not. Good luck

KnarfB

SFrie.2
Associate II

Thanks for your quick reply.

That basically seems to be the right place to change that. Unfortunately in my case these 2 buttons are greyed out.

Maybe not generating a function call by MX and calling the function in the user code section helps.

In similar cases, I had put a copy of the DMA init call in a user block ahead and left the generated code as is.

KnarfB

PS: That's an evergreen: https://community.st.com/s/feed/0D53W000019c1TDSAY

Yes found that one too :D

But since this is known for more than two years now and there is no way to send a classic bug report thought I'll "push" this topic at least agein.

Actually I hope that ST might react someday to this and fix it...