Last active
July 28, 2021 04:47
-
-
Save davidtibbetts/9ae8131d9f7e87c62ac064302405c453 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