-
-
Save DTibbs/f6c1f4b5ed0955ee4f7cc9ab019d9588 to your computer and use it in GitHub Desktop.
OpenOCD launch for VSCode
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
// See https://go.microsoft.com/fwlink/?LinkId=733558 | |
// for the documentation about the tasks.json format | |
"version": "2.0.0", | |
"options": { | |
"env": { | |
"OPENOCD_SCRIPTS": "${workspaceRoot}\\..\\OpenOCD-20170609\\share\\openocd\\scripts" | |
} | |
}, | |
"tasks": [ | |
{ | |
"type": "shell", | |
"label": "Start-OpenOCD", | |
"command": "openocd", | |
"args": [ | |
"-f", "interface\\stlink-v2-1.cfg", | |
"-f", "target\\stm32f1x.cfg" | |
], | |
"problemMatcher": { | |
"pattern": { | |
"regexp": "^(Info |Warn |Error):(.*)$", | |
"severity": 1, | |
"message": 2 | |
}, | |
"background": { | |
"activeOnStart": true, | |
"beginsPattern": "^Open On-Chip Debugger.*", | |
"endsPattern": ".*watchpoints.*" | |
} | |
}, | |
"presentation": { | |
"reveal":"always" | |
}, | |
"isBackground": true | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment