Converting Examples from SW4STM32 to CubeIDE
- November 8, 2020
- 6 replies
- 3527 views
Successfully converted an ST32F769 aws IOT example 1-4-1 from SW4STM32 to CubeIDE by using the CubeIDE tool "Import SW4STM32 or TrueStudio project"
Everything went fine and the example is working under CubeIde. So far so good.
Now I try to add some of my own code to the project and have difficulties to locate my code and include files:
The conversion created a labyrinth of folders hierarchy with repeating names like Middleware that can be found above the project root and deep inside the project root folder. The Middleware folder outside (above) the project root contains C files but Middleware (and its sub folders) inside the project root is completely empty from code
The Ide shows the Middleware full of code (probably the outer Middleware )
The Ide (Project Explorer)shows all user code inside a User folder, but on the file system this folder is empty. If I add my own file using the Ide, My file is shown both in the Ide User folder and in the (now not empty) User folder on the file system
In other words the CubeIde Project Explorer shows a folder Hierarchy different from the file system.
The compiler can find all the C files but I have difficulties specifying the path to my header files in the Ide. Selecting my header files folders in the Ide (Paths and Symbols)
generate a grayed out path.
(Attached a tree file of the file system)
What am I missing ?
