I'm trying to enable the CMSIS Wizard on SES 4.42a. I followed the instructions and pasted the required xml into tools.xml, saved the file and restarted SES.
This is my 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> <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 the CMSIS command does not appear in the context menu of sdk_config.h.
I do have java installed. This is the response to executing "/usr/libexec/java_home" in a command window:
/Library/Java/JavaVirtualMachines/jdk-13.0.2.jdk/Contents/Home
Java was recently installed from Oracle.
What could the problem be? Does the path to Java need to be different on a Mac? Or is this not the correct version of Java?