2023-12-28 09:53 AM
Java 版本 11.0.20,Cubemx 版本 6.20,路径应该是正确的,但由于某种未知原因它被卡住了。相同的配置可以在另一台计算机上正常运行。
2023-12-29 12:41 AM
It can run during the first code generation, but it will freeze during the second code generation
2023-12-29 12:42 AM
Java version 11.0.20, Cubemx version 6.20, the path should be correct, but for some unknown reason it got stuck. The same configuration can run normally on another computer.
2023-12-29 12:46 AM
I encountered this issue while using Simulink and Cubemx for joint development, and then when I opened Cubemx separately, I found that the generated code would freeze.
2024-01-02 02:08 AM
Hello @jinhao1
First let me thank you for posting.
To be able to investigate the issue could you share:
This is how you can run CubeMX in CLI mode:
KR,
Semer.
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.
2024-01-02 05:10 AM
Thank you very much for your reply. According to the method you provided, I saw that the log shows that there are illegal characters in the path of STM32MatTarget. This can also explain why I had no problem creating the project for the first time, but it kept getting stuck after joint development. My log content is as follows: java.nio.file.InvalidPathException: Illegal char <:> at index 6: .\..\D:\STM32MatTarget\STM32\addSrc\inc
at sun.nio.fs.WindowsPathParser.normalize(WindowsPathParser.java:182)
at sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:153)
at sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:77)
at sun.nio.fs.WindowsPath.parse(WindowsPath.java:94)
at sun.nio.fs.WindowsFileSystem.getPath(WindowsFileSystem.java:255)
at java.nio.file.Paths.get(Paths.java:84)
at com.st.microxplorer.plugins.projectmanager.model.ConfigFileManager.setExternalIncludePathList(ConfigFileManager.java:5669)
at com.st.microxplorer.plugins.projectmanager.model.ConfigFileManager.setExternalLibFiles(ConfigFileManager.java:675)
at com.st.microxplorer.plugins.projectmanager.engine.ProjectBuilder.createToolChainFolders_SingleConfig(ProjectBuilder.java:3630)
at com.st.microxplorer.plugins.projectmanager.engine.ProjectBuilder.createToolChainFolders(ProjectBuilder.java:3409)
at com.st.microxplorer.plugins.projectmanager.engine.ProjectBuilder.createProject(ProjectBuilder.java:760)
at com.st.microxplorer.plugins.projectmanager.engine.GenerateProjectThread.run(GenerateProjectThread.java:44)