diff options
author | Rocco Marco Guglielmi <roccomarco.guglielmi@gmail.com> | 2018-02-05 13:44:04 +0000 |
---|---|---|
committer | Rocco Marco Guglielmi <roccomarco.guglielmi@gmail.com> | 2018-02-05 13:44:04 +0000 |
commit | 3c7108ff24866f55d7d2937820046f66ab604cb8 (patch) | |
tree | 252dba5851f1174de80087a05d5df92e2b25fd9d | |
parent | 4138184613600e6431a1ded6ed6c1ec1c073f83e (diff) | |
download | ChibiOS-3c7108ff24866f55d7d2937820046f66ab604cb8.tar.gz ChibiOS-3c7108ff24866f55d7d2937820046f66ab604cb8.tar.bz2 ChibiOS-3c7108ff24866f55d7d2937820046f66ab604cb8.zip |
Improved launch configuration for OpenOCD
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@11452 35acf78f-673a-0410-8e92-d51de3d6d3f4
-rw-r--r-- | tools/eclipse/debug/OpenOCD no interface (prompts for .cfg board configuration).launch (renamed from tools/eclipse/debug/OpenOCD (prompts for .cfg target configuration).launch) | 0 | ||||
-rw-r--r-- | tools/eclipse/debug/OpenOCD on STLink (prompts for .cfg target configuration).launch | 10 |
2 files changed, 10 insertions, 0 deletions
diff --git a/tools/eclipse/debug/OpenOCD (prompts for .cfg target configuration).launch b/tools/eclipse/debug/OpenOCD no interface (prompts for .cfg board configuration).launch index 01e1a2578..01e1a2578 100644 --- a/tools/eclipse/debug/OpenOCD (prompts for .cfg target configuration).launch +++ b/tools/eclipse/debug/OpenOCD no interface (prompts for .cfg board configuration).launch 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 new file mode 100644 index 000000000..2b8a8c796 --- /dev/null +++ b/tools/eclipse/debug/OpenOCD on STLink (prompts for .cfg target configuration).launch @@ -0,0 +1,10 @@ +<?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>
|