我使用PSOC-5与PSOC创建者4.2的059个套件,并试图通过EMFLASH应用程序与SD卡接口。我已经按照EMFLASH数据表链接了所有的库,并从示例中复制了代码(删除了LCD部分)。然而,我得到以下错误:
生成错误:设备.h:没有这样的文件或目录
生成错误:命令“
ARME EABI GCC .exe”退出代码“1”失败。
工作空间和项目包与此帖子连接。
我在
论坛上看到,ARMGGC.EXE问题可能是由一个错误的安装引起的,所以我卸载了PSoC创建者——重新启动PC——然后从网站上下载文件并重新安装并重新启动了PC。什么也没变。
请让我知道我做错了什么,以及如何修复它。
注意:工作区是闪烁的LED文件(因为我修改了闪烁的LED示例项目),项目是FATFS文件。
提前感谢,
Sujoy。
CE195352O-PSoCl 5LPFATFS.Cyrj.CaseVo.01.Zip
543.1 K
CE195352O-PSoCl 5LpBLink
1.2兆字节
以上来自于百度翻译
以下为原文
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 applica
tion. 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.
0