Loading...
 
Skip to main content

System Workbench for STM32


Adding new Include files

No. This not about adding include paths. It is about adding header files (*.h) as a source file. You can right click on the "User" folder and select New>Header file but that will put it in the "User" folder not in the "Project_name/Inc" folder which is not where I want it or where it should be. Once you select New>Header file and get the dialog you have a choice to select a "Source Folder" but the Browser pulls up a dialog "Choose a source folder" and the tree that is displayed does not allow selection of the "Inc" folder or any other folder that the include paths currently point to. Seems to me someone overlooked the creation of new header files and what to do with them when the feature was established. Going further I would have thought it intuitive that when creating a new header file, the possibility of creating a new folder along with it would automatically add the new folder to the include path list.