在SEGGER Embedded Sdudio中添加Configuration Wizard工具

背景

使用过keil中的Configuration Wizard功能的小伙伴知道,通过这个Wizard可视化界面可以很方便的配置.h文件中的宏,如下图所示。
切换到SEGGER Embedded Sdudio开发环境后,发现没有这个选项,因此本文教大家在SEGGER Embedded Sdudio中引入Configuration Wizard小插件。
在这里插入图片描述

开始

  1. 首先需要下载CMSIS_Configuration_Wizard.jar文件 ,下载完成后解压出zip文件包,得到jar文件如下:
    在这里插入图片描述
  2. 配置SEGGER Embedded Sdudio,打开File->Open Studio Folder->External Tools Configuration,如下图所示:在这里插入图片描述
  3. 在打开的tools.xml文件中新增如下内容:
<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;D:\CMSIS_Configuration_Wizard\CMSIS_Configuration_Wizard.jar&quot; &quot;$(InputPath)&quot;
      </commands>
 </item>

在这里插入图片描述注意,将
java -jar &quot;D:\CMSIS_Configuration_Wizard\CMSIS_Configuration_Wizard.jar&quot; &quot;$(InputPath)&quot;
D:\CMSIS_Configuration_Wizard\CMSIS_Configuration_Wizard.jar改为你自己的CMSIS_Configuration_Wizard.jar放置路径

  1. 选中sdk_config.h文件,单击鼠标右键,选择CMSIS Configuration Wizard即可跳出可视化配置界面。
    在这里插入图片描述在这里插入图片描述
  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值