- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
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,
jmer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi jmer,
I found an Application Note that might address your issue although it is not a 100% fit.
http://www.cypress.com/?docID=19345
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
1) From the PSoC Designer IDE, do the following :
Project -> Open local.mk for 'YourProjectName' Project
This will open a text edit window for the file "local.mk"
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
INCLUDE_PATH:=$(INCLUDE_PATH);$(MY_INCLUDE_DIR)
#
# 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