Loading...
 
Skip to main content

System Workbench for STM32


How to include the Inc folder

I can see the below figure in the Include folder (and many other include as well) in one of my SW project for STM32:

Image

How can I add other Include folder.Right clikc on Include doesnt yields any options to me.

To add include folders you have to go to the project properties :
Right Click on the project (in the project explorer) > Properties > C/C++ Build > Setting > MCU GCC Compiler > Includes

Image

On this tab, you can add your folder path in "Include paths (-I)". These paths will be displayed under your project as on your screenshot.

Kevin


Is there a way to include a group of files to the folder.Currently we have to include each fiel individual by Right Clicking> New > File > Advanced > Link to the file System.In this only one file is linked at a time.
Br,
Rp