2 Replies Latest reply on May 2, 2018 1:20 AM by subh_3178756

    "Build error: device.h: No such file or directory" for PSOC-5 with emFile

      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,