Monday, April 23rd 2018, 10:49pm UTC+2

You are not logged in.

  • Login
  • Register

Dear visitor, welcome to SEGGER Forum. If this is your first visit here, please read the Help. It explains how this page works. You must be registered before you can use all the page's features. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

nrbrook

Beginner

Date of registration: Mar 20th 2018

Posts: 3

1

Tuesday, March 20th 2018, 4:10pm

[SOLVED] External tool not appearing in macOS?

I'm trying to set up CMSIS Configuration Wizard in Segger embedded studio as detailed by Nordic. My resulting tools.xml file:

Source code

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<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>
  </if>
  <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>
</tools>

This doesn't work – the option doesn't appear in the context menu, even after restarting SES, see attachment. Am I doing something wrong?
nrbrook has attached the following image:
  • Screen Shot 2018-03-20 at 15.09.05.png

nrbrook

Beginner

Date of registration: Mar 20th 2018

Posts: 3

2

Tuesday, March 20th 2018, 5:00pm

Fixed this – I'd put it in the 'if win' section originally and deleted the </item> tag when taking it out, so the XML was invalid.

SEGGER - Nino

Super Moderator

Date of registration: Jan 2nd 2017

Posts: 949

3

Wednesday, March 21st 2018, 10:00am

Hello,

Great to hear that you are up and running again.
We will consider this thread as solved now.

Best regards,
Nino
Please read the forum rules before posting: Forum Rules

Keep in mind, this is not a support forum. Its main purposes is user to user interaction.
Our engineers will try to answer your questions between their projects if possible but this can be delayed by longer periods of time.
Should you be entitled to support contact us per e-mail.
The following contact form can be used for this: https://www.segger.com/about-us/contact-us/