Hello,
I am working with SDK 15.3.0 and the nRF 52832. I am working with the Segger IDE v4.16.
I attempted to load the scripting as instructed in the SDK documentation and installed the script as follows in the tools.xml file:
<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 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>
However, when I right-click on the sdk_config.h file, I do not get the option of using the CMSIS editor.
I followed the video instructions and the instructions in the SDK Documentation.
Hi GaryD,
in the xml you missed to end the first item section.
<item name="Tool.PClint"> //You begin the item with this line
.....
....
</commands>
</item> //you end the item with this line --> THIS IS MISSING IN YOUR XML
<item name="Tool.CMSIS_Config_Wizard" wait="no"> //here goes the next new item
......
</item>
Add that one line, restart the IDE and it should work.
Great =thanks for the quick update - I now get the item in the menu after rebooting the IDE. However, when I right click on the sdk_config.h, I do not get the window with the selections to edit. I get the messages (like in the video) but no window to graphically edit the config file.
CMSIS ConfigCMSIS Config sdk_config.hFinished CMSIS Config
strange, because I copy pasted your xml file and it is working for me. Do you have installed java?
Just downloaded latest version:
I have also rebooted my entire laptop.
What did you mean with "I get the messages (like in the video)"?
On the output panel of the IDE, messages showing the steps in CMSIS processing appear just at the Nordic training video shows. However, the CMSIS window with all of the configuration categories does not pop up - nothing shows up. Here is the Output panel. After I click on the drop down menu to use the CMSIS wizard, these messages show up but no working window to update the config parameters.
This is what the Nordic training video shows: