diff options
author | Giovanni Di Sirio <gdisirio@gmail.com> | 2018-02-11 13:46:27 +0000 |
---|---|---|
committer | Giovanni Di Sirio <gdisirio@gmail.com> | 2018-02-11 13:46:27 +0000 |
commit | 137145a7afc751cd26c803f9619120cb7a86ef10 (patch) | |
tree | 700ec53eb5476d624469732618dab7062ecce686 /tools/eclipse | |
parent | ff109ac9e64f0f107a21343cd82d603b04c35aaf (diff) | |
download | ChibiOS-137145a7afc751cd26c803f9619120cb7a86ef10.tar.gz ChibiOS-137145a7afc751cd26c803f9619120cb7a86ef10.tar.bz2 ChibiOS-137145a7afc751cd26c803f9619120cb7a86ef10.zip |
Modified launch configurations to use OPENOCD env var.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@11474 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'tools/eclipse')
3 files changed, 19 insertions, 22 deletions
diff --git a/tools/eclipse/debug/OpenOCD no interface (prompts for .cfg board configuration).launch b/tools/eclipse/debug/OpenOCD no interface (prompts for .cfg board configuration).launch index 01e1a2578..126965e72 100644 --- a/tools/eclipse/debug/OpenOCD no interface (prompts for .cfg board configuration).launch +++ b/tools/eclipse/debug/OpenOCD no interface (prompts for .cfg board configuration).launch @@ -1,10 +1,9 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<launchConfiguration type="org.eclipse.ui.externaltools.ProgramLaunchConfigurationType">
-<listAttribute key="org.eclipse.debug.ui.favoriteGroups">
-<listEntry value="org.eclipse.ui.externaltools.launchGroup"/>
-</listAttribute>
-<stringAttribute key="org.eclipse.ui.externaltools.ATTR_LAUNCH_CONFIGURATION_BUILD_SCOPE" value="${none}"/>
-<stringAttribute key="org.eclipse.ui.externaltools.ATTR_LOCATION" value="${eclipse_home}\..\tools\openocd\bin\openocd.exe"/>
-<stringAttribute key="org.eclipse.ui.externaltools.ATTR_TOOL_ARGUMENTS" value="-c "telnet_port 4444" -s "/ChibiStudio/tools/openocd/scripts" -f "${file_prompt}""/>
-<stringAttribute key="org.eclipse.ui.externaltools.ATTR_WORKING_DIRECTORY" value="${eclipse_home}\..\tools\openocd\bin\"/>
-</launchConfiguration>
+<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<launchConfiguration type="org.eclipse.ui.externaltools.ProgramLaunchConfigurationType"> +<listAttribute key="org.eclipse.debug.ui.favoriteGroups"> +<listEntry value="org.eclipse.ui.externaltools.launchGroup"/> +</listAttribute> +<stringAttribute key="org.eclipse.ui.externaltools.ATTR_LAUNCH_CONFIGURATION_BUILD_SCOPE" value="${none}"/> +<stringAttribute key="org.eclipse.ui.externaltools.ATTR_LOCATION" value="${env_var:OPENOCD}"/> +<stringAttribute key="org.eclipse.ui.externaltools.ATTR_TOOL_ARGUMENTS" value="-c "telnet_port 4444" -s "/ChibiStudio/tools/openocd/scripts" -f "${file_prompt}""/> +</launchConfiguration> diff --git a/tools/eclipse/debug/OpenOCD on ICDI (prompts for .cfg target configuration).launch b/tools/eclipse/debug/OpenOCD on ICDI (prompts for .cfg target configuration).launch index 0af6b4481..d4c1268d2 100644 --- a/tools/eclipse/debug/OpenOCD on ICDI (prompts for .cfg target configuration).launch +++ b/tools/eclipse/debug/OpenOCD on ICDI (prompts for .cfg target configuration).launch @@ -4,7 +4,6 @@ <listEntry value="org.eclipse.ui.externaltools.launchGroup"/> </listAttribute> <stringAttribute key="org.eclipse.ui.externaltools.ATTR_LAUNCH_CONFIGURATION_BUILD_SCOPE" value="${none}"/> -<stringAttribute key="org.eclipse.ui.externaltools.ATTR_LOCATION" value="${eclipse_home}\..\tools\openocd\bin\openocd.exe"/> +<stringAttribute key="org.eclipse.ui.externaltools.ATTR_LOCATION" value="${env_var:OPENOCD}"/> <stringAttribute key="org.eclipse.ui.externaltools.ATTR_TOOL_ARGUMENTS" value="-c "telnet_port 4444" -f "interface/ti-icdi.cfg" -f "${file_prompt}""/> -<stringAttribute key="org.eclipse.ui.externaltools.ATTR_WORKING_DIRECTORY" value="${eclipse_home}\..\tools\openocd\scripts\"/> </launchConfiguration> diff --git a/tools/eclipse/debug/OpenOCD on STLink (prompts for .cfg target configuration).launch b/tools/eclipse/debug/OpenOCD on STLink (prompts for .cfg target configuration).launch index 2b8a8c796..1ab395a1b 100644 --- a/tools/eclipse/debug/OpenOCD on STLink (prompts for .cfg target configuration).launch +++ b/tools/eclipse/debug/OpenOCD on STLink (prompts for .cfg target configuration).launch @@ -1,10 +1,9 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<launchConfiguration type="org.eclipse.ui.externaltools.ProgramLaunchConfigurationType">
-<listAttribute key="org.eclipse.debug.ui.favoriteGroups">
-<listEntry value="org.eclipse.ui.externaltools.launchGroup"/>
-</listAttribute>
-<stringAttribute key="org.eclipse.ui.externaltools.ATTR_LAUNCH_CONFIGURATION_BUILD_SCOPE" value="${none}"/>
-<stringAttribute key="org.eclipse.ui.externaltools.ATTR_LOCATION" value="${eclipse_home}\..\tools\openocd\bin\openocd.exe"/>
-<stringAttribute key="org.eclipse.ui.externaltools.ATTR_TOOL_ARGUMENTS" value="-c "telnet_port 4444" -s "/ChibiStudio/tools/openocd/scripts" -f "/interface/stlink.cfg" -f "${file_prompt}""/>
-<stringAttribute key="org.eclipse.ui.externaltools.ATTR_WORKING_DIRECTORY" value="${eclipse_home}\..\tools\openocd\bin\"/>
-</launchConfiguration>
+<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<launchConfiguration type="org.eclipse.ui.externaltools.ProgramLaunchConfigurationType"> +<listAttribute key="org.eclipse.debug.ui.favoriteGroups"> +<listEntry value="org.eclipse.ui.externaltools.launchGroup"/> +</listAttribute> +<stringAttribute key="org.eclipse.ui.externaltools.ATTR_LAUNCH_CONFIGURATION_BUILD_SCOPE" value="${none}"/> +<stringAttribute key="org.eclipse.ui.externaltools.ATTR_LOCATION" value="${env_var:OPENOCD}"/> +<stringAttribute key="org.eclipse.ui.externaltools.ATTR_TOOL_ARGUMENTS" value="-c "telnet_port 4444" -s "/ChibiStudio/tools/openocd/scripts" -f "/interface/stlink.cfg" -f "${file_prompt}""/> +</launchConfiguration> |