STM32F0, why is CubeIDE generating the wrong sequence of Init Code (DMA Init after UART init) ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-03-11 8:06 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-03-11 8:31 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-03-11 8:41 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-03-11 8:54 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-03-11 9:01 AM
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...
