cancel
Showing results for 
Search instead for 
Did you mean: 

Bug: CubeMX-generated code does not compile.

Using STcubeIDE: To easily reproduce this problem, generate code from the attached IOC and try to compile. I think this fails due to multiple incorrectly generated include paths.

PS: Attention @Markus GIRDLAND (ST Employee)​ @Imen DAHMEN (ST Employee)​

2 REPLIES 2
Markus GIRDLAND
ST Employee

I can confirm that it's an issue for me as well. @Nawres GHARBI​ , do you have any idea about what's causing it?

Hi @Dave Nadler​ 

Thanks for the feedback.

You are right, i was able to reproduce the issue and it will be fixed in the next STM32CubeMX release.

Now, to solve the problem, you can use EWARM as Toolchain/IDE

0690X000009YF0jQAG.pngNext, select please "Copy all used library into the project folder".0690X000009YF0KQAW.png

Then, generate the code.

==> No issue

Best regards,

Nesrine