Skip to content

Instantly share code, notes, and snippets.

@robotdad
Created April 22, 2017 00:32
Show Gist options
  • Save robotdad/e281d59a71d5cb25865170e7163a4028 to your computer and use it in GitHub Desktop.
Save robotdad/e281d59a71d5cb25865170e7163a4028 to your computer and use it in GitHub Desktop.
debug.xml for VS targeting an ARM board with openocd
<?xml version="1.0" encoding="utf-8"?>
<LocalLaunchOptions xmlns="http://schemas.microsoft.com/vstudio/MDDDebuggerOptions/2014"
MIDebuggerPath="c:\tools\armgcc\6-2017-q1-update\bin\arm-none-eabi-gdb.exe"
MIDebuggerServerAddress="localhost:3333"
ExePath="BUILD\mbed_blinky.elf"
TargetArchitecture="arm">
<SetupCommands>
<Command>
target remote localhost:3333
</Command>
<Command>
file D:/Source/armtests/mbed_blinky/BUILD/mbed_blinky.elf
</Command>
<Command>
monitor reset halt
</Command>
</SetupCommands>
<CustomLaunchSetupCommands>
<Command>
monitor reset init
</Command>
</CustomLaunchSetupCommands>
<LaunchCompleteCommand>exec-continue</LaunchCompleteCommand>
</LocalLaunchOptions>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment