cancel
Showing results for 
Search instead for 
Did you mean: 

STM32CubeMX fails to generate normal files

风正豪.1
Associate II

Yesterday I was able to generate code normally using STM32CubeMX. But today I am generating code again using STM32CubeMX with a lot of undefined code. I sent the file to a friend and found that he generated the code once again using STM32CubeMX and it worked. But my computer still can't generate normal code again.0693W00000aI2bsQAC.png0693W00000aI2biQAC.jpg

1 ACCEPTED SOLUTION

Accepted Solutions

The version is 6.5.0, I reinstalled it three times, the first and second time still had problems, the second time suddenly it was fine.

View solution in original post

5 REPLIES 5
Pavel A.
Evangelist III

Please show the very first error/warning message.

Every error is the same

The circled part in the first picture is not in my cubemx production file

Aymen ABBES
ST Employee

Hello 风正豪.1,

Thanks for sharing this issue. 

To further analyze your problem could you please provide:

  • The CubeMx and MDK-ARM versions
  • The project you are working on or your *.ioc file if it is possible

Kind regards,

Aymen

The version is 6.5.0, I reinstalled it three times, the first and second time still had problems, the second time suddenly it was fine.