Added special commands for extended-remote fix #91

This commit is contained in:
WebFreak001 2017-01-09 00:33:21 +01:00
commit 318ece44cf
2 changed files with 31 additions and 3 deletions

View file

@ -365,6 +365,24 @@
"x11port": 6000
}
}
},
{
"label": "GDB: Debug external embedded device",
"description": "Debugs an embedded microcontroller supported by GDB by attaching over extended-remote",
"body": {
"type": "gdb",
"request": "launch",
"name": "${6:Debug Microcontroller}",
"target": "extended-remote ${2:/dev/cu.usbmodem00000000}",
"executable": "${1:./bin/executable.elf}",
"cwd": "^\"\\${workspaceRoot}\"",
"autorun": [
"monitor tpwr enable",
"monitor swdp_scan",
"attach 1",
"load ${1:./bin/executable.elf}"
]
}
}
]
},