Skip to main content
风正豪.1
Associate II
Solved

STM32CubeMX fails to generate normal files

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

This topic has been closed for replies.
风正豪.1
风正豪.1Best answer
Associate II

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.

5 replies

Pavel A.

Please show the very first error/warning message.

风正豪.1
Associate II

Every error is the same

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

风正豪.1
风正豪.1AuthorBest answer
Associate II

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.