ICode9

精准搜索请尝试: 精确搜索
首页 > 其他分享> 文章详细

Segger SES软件配置CMSIS Configuration wizard的操作步骤(Nordic)

2021-09-17 00:02:52  阅读:315  来源: 互联网

标签:Wizard SES quot CMSIS wizard lint java Configuration 操作步骤


1,安装Segger SES 确保已经安装正常

2,安装java环境

(1) 下载地址https://java.com/en/download/manual.jsp 选择
(2) 配置jre环境
	(a) 在系统变量中新建环境变量JAVA_HOME,配置值为Java的JDK安装目录,本文作者安装的的路径为C:\Program Files\Java\jre1.8.0_251
	(b) 新建CLASSPATH系统环境变量,设置值为.;%JAVA_HOME%\lib;%JAVA_HOME%\lib\tools.jar,注意签名的点和分号不能少
	(c) 验证环境 进入命令行输入java验证

在这里插入图片描述

3,下载 cmsisjava包

下载地址

https://sourceforge.net/projects/cmsisconfig/?source=directory, 

也可以在

Nordic_Semi/nRF5_SDK_xxx_17b948a/external_tools/cmsisconfig/CMSIS_Configuration_Wizard.jar
目录查找是否存在

4,Segger SES 配置 cmsisjava包的路径

5,修改tools.xml文件,

File -> Open Studio Folder… -> External Tools Configuration

修改为

<tools>
 
  <!-- PC-lint - http://www.gimpel.com/html/pcl.htm -->

  <if host_os="win">
    <item name="Tool.PClint">
      <menu>&amp;PC-lint (Unit Check)</menu>
      <text>PC-lint (Unit Check)</text>
      <tip>Run a PC-lint unit checkout on the selected file or folder</tip>
      <key>Ctrl+L, Ctrl+P</key>
      <match>*.c;*.cpp</match>
      <message>Linting</message>
      <commands>
        &quot;$(LINTDIR)/lint-nt&quot; -v -incvar(__CW_ARM) -i$(LINTDIR)/lnt co-gcc.lnt $(DEFINES) $(INCLUDES) -D__GNUC__ -u -b +macros +macros -w2 -e537 +fie +ffn -width(0,4) -hF1 &quot;-format=%f:%l:%C:\s%t:\s%m [-e%n]&quot; &quot;$(InputPath)&quot;
      </commands>
    </item>
    <item name="Tool.CMSIS_Config_Wizard" wait="no">
    <menu>&amp;CMSIS Configuration Wizard</menu>
    <text>CMSIS Configuration Wizard</text>
    <tip>Open a configuration file in CMSIS Configuration Wizard</tip>
    <key>Ctrl+Y</key>
    <match>*config*.h</match>
    <message>CMSIS Config</message>
    <commands>
      java -jar &quot;$(CMSIS_CONFIG_TOOL)&quot; &quot;$(InputPath)&quot;
    </commands>
</item>
  </if>
</tools>

之后关掉这个文件且保存,退出ses,然后重启ses,

6,找到sdk_config.h ,右键选择CMSIS Configuration Wizard 出现以下界面

在这里插入图片描述

7,另外也有其他工具可以编辑

参考如下链接:

https://sourceforge.net/projects/cmsisconfig/

标签:Wizard,SES,quot,CMSIS,wizard,lint,java,Configuration,操作步骤
来源: https://blog.csdn.net/xingqingly/article/details/120339799

本站声明: 1. iCode9 技术分享网(下文简称本站)提供的所有内容,仅供技术学习、探讨和分享;
2. 关于本站的所有留言、评论、转载及引用,纯属内容发起人的个人观点,与本站观点和立场无关;
3. 关于本站的所有言论和文字,纯属内容发起人的个人观点,与本站观点和立场无关;
4. 本站文章均是网友提供,不完全保证技术分享内容的完整性、准确性、时效性、风险性和版权归属;如您发现该文章侵犯了您的权益,可联系我们第一时间进行删除;
5. 本站为非盈利性的个人网站,所有内容不会用来进行牟利,也不会利用任何形式的广告来间接获益,纯粹是为了广大技术爱好者提供技术内容和技术思想的分享性交流网站。

专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有