(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验证
下载地址
https://sourceforge.net/projects/cmsisconfig/?source=directory,
也可以在
Nordic_Semi/nRF5_SDK_xxx_17b948a/external_tools/cmsisconfig/CMSIS_Configuration_Wizard.jar 目录查找是否存在
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>&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> "$(LINTDIR)/lint-nt" -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 "-format=%f:%l:%C:\s%t:\s%m [-e%n]" "$(InputPath)" </commands> </item> <item name="Tool.CMSIS_Config_Wizard" wait="no"> <menu>&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 "$(CMSIS_CONFIG_TOOL)" "$(InputPath)" </commands> </item> </if> </tools>
之后关掉这个文件且保存,退出ses,然后重启ses,
参考如下链接:
https://sourceforge.net/projects/cmsisconfig/