- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am using PSOC-5 with the 059 Kit with PSOC creator 4.2 and trying to interface it with a SD card via the emFile application. I have linked all the libraries as per the emFile datasheet and copied the code from the example (removed the LCD part). However, I get the following errors:-
Build error: device.h: No such file or directory
Build error: The command 'arm-none-eabi-gcc.exe' failed with exit code '1'.
The workspace and project bundle are attached with this post.
I read on the forum that the arm_gcc.exe issue can be caused by a faulty installation so I uninstalled PSOC creator - restarted PC - then downloaded the file from the website and installed it again and restarted the PC again. Nothing changed.
Please let me know what I am doing wrong and how to fix it.
Note:- the workspace is the Blinking LED file (as I modified the Blinking LED example project) and the Project is the FATFS file.
Thanks in Advance,
Sujoy.
Solved! Go to Solution.
- Labels:
-
PSoC 5 Device Programming
-
PSoC 5LP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sorry My bad. The system works. I had done dumb things like adding FS_OS files while going for No_OS build and even worse adding the emFile component to the wrong project. I will post the bundle here later for anyone who wants a quick and dirty SD card - PSOC 5 installation.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Can you change the <device.h> to <project.h> and try building the project.
Thanks,
Hima
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sorry My bad. The system works. I had done dumb things like adding FS_OS files while going for No_OS build and even worse adding the emFile component to the wrong project. I will post the bundle here later for anyone who wants a quick and dirty SD card - PSOC 5 installation.