cancel
Showing results for 
Search instead for 
Did you mean: 

CubeMX don't generate rightly for cube IDE. Linux.

MrKimler
Associate

I tried multiple times to generate code on Arch Linux with CubeMX version 6.17.0 and Import in CubeIDE version 2.1.1. I made a video with process. And I don't know why this not working. I tried last and previos version of packages for STM32F0. And I don't know but CubeMX copied files very very slow.

I choosed CubeIDE toolchain in CubeMX.

Снимок экрана_20260502_233536.png

Снимок экрана_20260502_233701.png

  

1 REPLY 1
Ghofrane GSOURI
ST Employee

Hello @MrKimler 

Let's try to generate the STM32 project into a simple local directory on your Linux filesystem such as /home/<user>/STM32/sixth_try, and avoid using shared, synced, mounted, sandboxed, or unusual paths because they can cause very slow file copying and refresh issues.

Then import it into STM32CubeIDE using the correct project import method, preferably File → Open Projects from File System or File → Import → Existing Projects into Workspace, pointing to the folder that contains the generated CubeIDE project files like .project, .cproject, .mxproject, and the .ioc file; after import, do a Refresh, then Clean, and rebuild the project.

THX

Ghofrane

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.