ST意法半导体
直播中

张润佘

7年用户 221经验值
私信 关注
[问答]

无法在L152RE上的ISK01A2上运行ST示例

我最近买了一台带有X-NUCLEO_IKS012A mems传感器的STM32开发板。我是嵌入式软件的新手,并决定为这个主板提供一个示例项目。我已经阅读了所有自述文件等,但是当从互联网下载时,st没有指定保存示例项目的位置。我收到以下错误:
make:***没有规则来制作`示例/用户/ com.o'所需的目标`C:/ Users / Charl Smalberger / Src / com.c'。停止。
看起来像路径相关的错误。
我正在使用系统工作台。我已经附上了自述文件和我遵循的基本说明,工作台说明位于底部。
请有人帮忙吗?

#isk01a2

以上来自于谷歌翻译


以下为原文




I have recently bought a STM32 Dev board with a X-NUCLEO_IKS012A mems sensor. I am new to embedded software and decided to get one of the example projects going for this board. I have gone through all the readme's etc. but st doesn't specify where to save the example project when downloaded from the internet. I get the following error:
make: *** No rule to make target `C:/Users/Charl Smalberger/Src/com.c', needed by `Example/User/com.o'. Stop.
Looks like a path related error.
I am using system workbench. I have attached the readme with basic instructions that i followed, the workbench instructions are at the bottom.
Please can anyone assist?

#isk01a2

回帖(2)

曾玲娟

2019-5-28 09:48:38
我想你已经从st.com下载了X-CUBE-MEMS1封装。
您可以将其解压缩到例如C:驱动器。
然后执行SW4STM32并将工作空间路径设置为您要尝试的项目,例如:
C: STM32CubeExpansion_MEMS1_V4.0.0 项目多实例 IKS01A2  LSM6DSL_FIFOLowPower  SW4STM32  STM32L152RE-核蛋白
然后导入项目:文件 - >导入,选择常规 - >将现有Project插入Workspace,然后单击Next
单击“选择根目录上的浏览”,选择正确的目录,然后单击“确定”,然后单击“完成”。
之后,您在工作区中拥有项目,并且可以构建它。

以上来自于谷歌翻译


以下为原文




I suppose you have downloaded the X-CUBE-MEMS1 package from st.com.
You can extract it, for example to your C: drive.
Then execute the SW4STM32 and set the workspace path to the project you want to try, for example:
C:STM32CubeExpansion_MEMS1_V4.0.0ProjectsMultiExamplesIKS01A2LSM6DSL_FIFOLowPowerSW4STM32STM32L152RE-Nucleo
Then import the project: File -> Import, Select General -> Existing Project into Workspace then click Next
Click Browse on Select root directory, the right directory is selected so you click, OK then Finish.
After that you have the project in your workspace and you can Build it.
举报

张润佘

2019-5-28 10:04:54
谢谢你Miroslav它的工作!

以上来自于谷歌翻译


以下为原文




Thank You Miroslav it worked!
举报

更多回帖

发帖
×
20
完善资料,
赚取积分