diff options
author | Giovanni Di Sirio <gdisirio@gmail.com> | 2017-08-28 09:52:28 +0000 |
---|---|---|
committer | Giovanni Di Sirio <gdisirio@gmail.com> | 2017-08-28 09:52:28 +0000 |
commit | f68f47f3ed164b1d9ad5fbe5a1bb3d985e2413ed (patch) | |
tree | 06232228fc804aa3033be18a1a195f0f49986160 | |
parent | c69becde258190af606fd88e3e02831d53bccd9b (diff) | |
download | ChibiOS-f68f47f3ed164b1d9ad5fbe5a1bb3d985e2413ed.tar.gz ChibiOS-f68f47f3ed164b1d9ad5fbe5a1bb3d985e2413ed.tar.bz2 ChibiOS-f68f47f3ed164b1d9ad5fbe5a1bb3d985e2413ed.zip |
Added Eclipse launch configurations for OpenOCD.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10496 35acf78f-673a-0410-8e92-d51de3d6d3f4
5 files changed, 45 insertions, 0 deletions
diff --git a/readme.txt b/readme.txt index 28a9997f6..fa87282d2 100644 --- a/readme.txt +++ b/readme.txt @@ -89,6 +89,11 @@ *****************************************************************************
*** Next ***
+- NEW: Added shared Eclipse debug configurations for OpenOCD under
+ ./tools/eclipse/debug. Now it is no more required to re-create
+ those each time a new workspace is created, just import the global
+ ChibiOS project in it. The configurations will appear under the
+ Eclipse Tools menu.
- NEW: Added an USB_CDC multi-target demo application showcasing how to
manage a project with multiple target boards/devices and handle
portability issues.
diff --git a/tools/eclipse/debug/OpenOCD on Olimex ARM-USB-OCD (prompts for .cfg target configuration).launch b/tools/eclipse/debug/OpenOCD on Olimex ARM-USB-OCD (prompts for .cfg target configuration).launch new file mode 100644 index 000000000..1f94272fa --- /dev/null +++ b/tools/eclipse/debug/OpenOCD on Olimex ARM-USB-OCD (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" -f "interface/olimex-arm-usb-ocd.cfg" -f "${file_prompt}""/>
+<stringAttribute key="org.eclipse.ui.externaltools.ATTR_WORKING_DIRECTORY" value="${eclipse_home}\..\tools\openocd\bin\"/>
+</launchConfiguration>
diff --git a/tools/eclipse/debug/OpenOCD on ST-Link V1 (prompts for .cfg target configuration).launch b/tools/eclipse/debug/OpenOCD on ST-Link V1 (prompts for .cfg target configuration).launch new file mode 100644 index 000000000..c3778ea7b --- /dev/null +++ b/tools/eclipse/debug/OpenOCD on ST-Link V1 (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" -f "interface/stlink-v1.cfg" -f "${file_prompt}""/>
+<stringAttribute key="org.eclipse.ui.externaltools.ATTR_WORKING_DIRECTORY" value="${eclipse_home}\..\tools\openocd\bin\"/>
+</launchConfiguration>
diff --git a/tools/eclipse/debug/OpenOCD on ST-Link V2 (prompts for .cfg target configuration).launch b/tools/eclipse/debug/OpenOCD on ST-Link V2 (prompts for .cfg target configuration).launch new file mode 100644 index 000000000..01728ced6 --- /dev/null +++ b/tools/eclipse/debug/OpenOCD on ST-Link V2 (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-v2.cfg" -f "${file_prompt}""/>
+<stringAttribute key="org.eclipse.ui.externaltools.ATTR_WORKING_DIRECTORY" value="${eclipse_home}\..\tools\openocd\bin\"/>
+</launchConfiguration>
diff --git a/tools/eclipse/debug/OpenOCD on ST-Link V2-1 (prompts for .cfg target configuration).launch b/tools/eclipse/debug/OpenOCD on ST-Link V2-1 (prompts for .cfg target configuration).launch new file mode 100644 index 000000000..18cf5f345 --- /dev/null +++ b/tools/eclipse/debug/OpenOCD on ST-Link V2-1 (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-v2-1.cfg" -f "${file_prompt}""/>
+<stringAttribute key="org.eclipse.ui.externaltools.ATTR_WORKING_DIRECTORY" value="${eclipse_home}\..\tools\openocd\bin\"/>
+</launchConfiguration>
|