You are here

Adding a Search Path in PSoC Designer | Cypress Semiconductor

Adding a Search Path in PSoC Designer

Summary: 2 Replies, Latest post by tommoxon on 09 Sep 2011 03:18 PM PDT
Verified Answers: 0
Last post
Log in to post new comments.
user_706585's picture
8 posts


PSoC Designer do not look in workspace directory by default for files (Designer 5.0 SP2)

How to add a search path in a PSoC Designer project to include a relative directory?

I have C source files and H header files located two directories above. (Where *.app is located, in workspace directory ?)

Best Regards,


rtcy's picture
Cypress Employee
112 posts

Hi jmer,

I found an Application Note that might address your issue although it is not a 100% fit.

This Application Note talks about the Project Structure. If you upgraded from Designer 4.4 to Designer 5.0, the project file structure is different as described in the AN

Hope this help, Robert

user_7880656's picture
49 posts


1) From the PSoC Designer IDE, do the following :

     Project -> Open for 'YourProjectName' Project

      This will open a text edit window for the file ""
2) Add the following lines to that file :



# Add to the include path the way PSoC Designer IDE manual says in section B.2.3.2
MY_INCLUDE_DIR= C:/whatever_your_directory_path_is
# Need to vpath the new include directory
vpath %.h $(MY_INCLUDE_DIR)


3) Do a "File -> Save All"

4) Do a "Build -> Generate/Build 'YourProjectName"

  That's it - your project can now include *.h files from an external directory.

best regards,

Tom Moxon


Log in to post new comments.