proxmark3/.vscode/templates/launch_ps.json

49 lines
2 KiB
JSON
Raw Normal View History

2020-12-29 21:55:31 +08:00
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
2020-12-30 03:43:24 +08:00
"options": {
"cwd": "${workspaceFolder}",
"env": {
"PATH": "${workspaceFolder}/../../msys2/mingw64/bin;${workspaceFolder}/../../msys2/usr/local/bin;${workspaceFolder}/../../msys2/usr/bin;${workspaceFolder}/../../msys2/bin",
"MSYSTEM": "MINGW64"
}
},
2020-12-29 21:55:31 +08:00
"configurations": [
{
"name": "Client: (gdb) Build & Launch",
"type": "cppdbg",
"request": "launch",
2020-12-30 04:02:23 +08:00
"cwd": "${workspaceFolder}",
2020-12-29 21:55:31 +08:00
"program": "${cwd}/client/proxmark3",
"args": ["${SerialPort}"],
"stopAtEntry": false,
"externalConsole": true,//for ProxSpace externalConsole=true is required, because the internal cosole stops updating after a while
"MIMode": "gdb",
"setupCommands": [
{
"description": "Enable pretty-printing for gdb",
"text": "-enable-pretty-printing",
"ignoreFailures": true
}
],
"preLaunchTask": "client: Debug: clean & make",
2020-12-30 04:02:23 +08:00
"miDebuggerPath": "${workspaceFolder}/../../msys2/mingw64/bin/gdb.exe"
2020-12-29 21:55:31 +08:00
},{
"name": "Firmware: (J-Link) Build & Launch",
"type": "cortex-debug",
"request": "launch",
"cwd": "${workspaceRoot}",
2020-12-30 04:02:23 +08:00
"preLaunchTask": "fullimage: clean & make debug",
2020-12-29 21:55:31 +08:00
"executable": "${workspaceRoot}/armsrc/obj/fullimage.elf",
"serverpath": "${JLinkServerPath}",
"servertype": "jlink",
"device": "AT91SAM7S${DeviceMem}",
"interface": "jtag",
"serialNumber": "", //If you have more than one J-Link probe, add the serial number here.
"runToMain": false,
2020-12-30 04:02:23 +08:00
"armToolchainPath": "${workspaceFolder}/../../msys2/mingw64/bin"
2020-12-29 21:55:31 +08:00
}
]
}