cancel
Showing results for 
Search instead for 
Did you mean: 

STM32CubeIDE: Impossible to generate code

xjmxjc
Visitor

Edit By ST Moderator: Title of this post has been translated from Chinese to comply with the ST Community guidelines.

07ef322d57420ab02dd470908284b83.png

 

76a43d00e4487bb3dd974129b9c1c56.png

 

265bdbca541106f595119c20d13e89e.jpg

 

5 REPLIES 5
Peter BENSCH
ST Employee

Welcome @xjmxjc, to the community!

The problem is most likely due to the non-ASCII characters you are using in the path.

To test and confirm this, you do not need to reinstall the firmware, but can:

  1. move the folder STM32Cube (containing Repository) to the root directory of C:
  2. and adjust the path in CubeIDE

Hope that helps?

Good luck!
/Peter

In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

Dear Peter:

Thank you for your assistance. I followed your advice, but unfortunately, it didn't help me. I would appreciate it if you could provide alternative solutions.

Sincere thanks.

 

xjmxjc

Peter BENSCH
ST Employee

In which path did you install the IDE?

In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

I first downloaded the IDE from the official website(st.com) on January 16th, and was able to use it normally for study and writing purposes within the following week.

E:ST/STM32CubeIDE_1.17.0

Peter BENSCH
ST Employee

So you were able to work with it after the installation?

With which MCU was that and with which firmware library?

You can also download the firmware library a second time, unpack it manually into a different directory (slightly different directory name) and make a binary directory comparison with a suitable tool. Alternatively, change the path to that new directory as a test and try again with the CubeIDE.

In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.