cancel
Showing results for 
Search instead for 
Did you mean: 

Just curious as to why there are no files in the Drivers and Middleware subdirectories.

ToasterOvenDan
Associate II

I started using STM32CubeMX, Atollic TrueStudio and the ST-Link Utility about 7 years ago and just recently, downloaded the latest STM32CubeIDE which does it all. Since then I noticed there are no files in the Drivers and Middlewares subdirectories although the project folder in the IDE shows the files. Not that I would want to modify those files, but just curious as to why I don't see them outside of the IDE.

1 ACCEPTED SOLUTION

Accepted Solutions

In CubeIDE example projects, Drivers and Middlewares are "virtual" folders that contain links into the "repository".

Also, you will see the same empty directories if you generate a new project and select creating links to the library instead of copying library files into your project. This is just how Eclipse works since its, er, big bang version.

WORKSPACE_LOC is yet another macro, it always points to the active Eclipse workspace directory. Your Drivers and Middlewares dirs may be placed there (shared by several projects in the same workspace?) though CubeIDE or CubeMX won't do this by themselves. Someone else did it.

 

 

View solution in original post

3 REPLIES 3
ToasterOvenDan
Associate II

OK if you go to Properties->Resouce->Location (Edit)->Variable it will show the LOCation variables. WORKSPACE_LOC has the directories it's  using.


@ToasterOvenDan wrote:

OK if you go to Properties->Resouce->Location (Edit)->Variable it will show the LOCation variables. WORKSPACE_LOC has the directories it's  using.


So if you solved your issue please accept it as solution.

Thank you.

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.

In CubeIDE example projects, Drivers and Middlewares are "virtual" folders that contain links into the "repository".

Also, you will see the same empty directories if you generate a new project and select creating links to the library instead of copying library files into your project. This is just how Eclipse works since its, er, big bang version.

WORKSPACE_LOC is yet another macro, it always points to the active Eclipse workspace directory. Your Drivers and Middlewares dirs may be placed there (shared by several projects in the same workspace?) though CubeIDE or CubeMX won't do this by themselves. Someone else did it.