Sorry! My post are not visible on this post.
Let me figure out what is the issue.
You have to take care of 2 important things:
1. *.h files inclusion in Compiler include directory. Don't alter the original directory structure of component library files.
2. LinkLibrary inclusion in linker settings of the project. Be Careful about your compiler settings.
You need to download these files from Cypress website. Link mentioned on the first page of component datasheet.
For details; refer "Creating an emFile Project for a PSoC5 Application" section of component datasheet.
You can even start with emFile example project in PSoC Creator. You can find the same at File-> Open->Example Project.. and select emFile example project.
Tell me, if you are not able to make it with above suggestions.
Refer screen shot for component library files needed with this component.
Capture12.png 60.4 K
I too have encountered this problem. Looking at the "Creating an emFile Project for a PSoC3 Application" section of the emFile component data sheet, you will notice that step two has you add additional include directories to your project. This step is missing from the description for a PSoC5 project. If you add this step, you will get the following error instead:
..\emFile_V322\Code\Include\PSoC5/FS_ConfDefaults.h:26: fatal error: FS_Conf.h: No such file or directory
I cannot say that this is an improvement. Can someone from Cypress please confirm that they have actually sat down and followed the instructions in the PSoC5 section of the component data sheet line for line, and ended up with a project that compiles successfully.
The two additional steps that are required are to:
1. Add the "..\emFile_V322\Code\Include\PSoC5" directory to "Compiler -> General -> Additional Include Directories"
2. Add the subdirectory that contains the FAT/OS option you require. In my case that means I have to add the directory
"..\emFile_V322\Code\Include\PSoC5\emf32nOS" to the same place as above. HTH