2026-02-08 7:32 AM
Hello All
I'm working in STMCubeIDE 2.0.0 Windows.
I have downloaded STM32Cube_FW_F4_V1.28.0 package and saved it here: C:\Users\marin\STM32Cube\Repository\STM32Cube_FW_F4_V1.28.0
I want to use an example and build a project from the example.
This LCD example: C:\Users\marin\STM32Cube\Repository\STM32Cube_FW_F4_V1.28.0\Projects\STM32F429I-Discovery\Applications\Display\LTDC_Paint.
I don't want to change the original example code, I want to put the example into a new folder and do my changes there.
I saw using "Copy to workspace" when importing is a mess and don't compile: No rule to make target 'C:/Middlewares/ST/STM32_USB_Host_Library/Core/Src/usbh_core.c'
Do I have to copy the whole directory to a new location? C:\Users\marin\STM32Cube\Repository\STM32Cube_FW_F4_V1.28.0\Projects\STM32F429I-Discovery\Applications\Display\LTDC_Paint.
Please show me a way to copy the example code (Only LTDC_Paint project) to a new location and successfully compile.
Marinus
Solved! Go to Solution.
2026-02-15 10:14 AM
Hello TDK
The Example I use LTDC_Paint is not a MX made project, I was hoping there is a way to import the project into workspace, so that a copy of the project will actually reside under workspace 2.0.0 folder.
When I import a project, I tried selecting "Copy to workspace", but this project then does not want to build, I think a lot of middleware is not copied.
I then resort to keeping a copy of the project inside STM32Cube_FW_F4_V1.28.0 itself.
Not sure if this is the right way, but it works.
Marinus
2026-02-08 7:38 AM
Either:
2026-02-15 10:14 AM
Hello TDK
The Example I use LTDC_Paint is not a MX made project, I was hoping there is a way to import the project into workspace, so that a copy of the project will actually reside under workspace 2.0.0 folder.
When I import a project, I tried selecting "Copy to workspace", but this project then does not want to build, I think a lot of middleware is not copied.
I then resort to keeping a copy of the project inside STM32Cube_FW_F4_V1.28.0 itself.
Not sure if this is the right way, but it works.
Marinus