mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-19 21:03:48 -07:00
VSCode debugging test
This commit is contained in:
parent
bdb384f7b7
commit
8b9c6a15f1
2 changed files with 23 additions and 1 deletions
16
.vscode/launch.json
vendored
16
.vscode/launch.json
vendored
|
@ -55,7 +55,21 @@
|
||||||
"name": "PATH","value": "${workspaceFolder}/../../msys2/mingw64/bin;${workspaceFolder}/../../msys2/usr/local/bin;${workspaceFolder}/../../msys2/usr/bin;${workspaceFolder}/../../msys2/bin"
|
"name": "PATH","value": "${workspaceFolder}/../../msys2/mingw64/bin;${workspaceFolder}/../../msys2/usr/local/bin;${workspaceFolder}/../../msys2/usr/bin;${workspaceFolder}/../../msys2/bin"
|
||||||
}]
|
}]
|
||||||
}
|
}
|
||||||
}
|
},{
|
||||||
|
"type": "cortex-debug",
|
||||||
|
"request": "launch",
|
||||||
|
"name": "Debug J-Link",
|
||||||
|
"cwd": "${workspaceRoot}",
|
||||||
|
"preLaunchTask": "fullimage: clean & make",
|
||||||
|
"executable": "${workspaceRoot}/armsrc/obj/fullimage.stage1.elf",
|
||||||
|
"serverpath": "/opt/SEGGER/JLink/JLinkGDBServerCLExe",
|
||||||
|
"servertype": "jlink",
|
||||||
|
"device": "AT91SAM7S512",
|
||||||
|
"interface": "jtag",
|
||||||
|
"serialNumber": "", //If you have more than one J-Link probe, add the serial number here.
|
||||||
|
"runToMain": true,
|
||||||
|
"armToolchainPath": "/usr/bin/"
|
||||||
|
}
|
||||||
],
|
],
|
||||||
"inputs": [
|
"inputs": [
|
||||||
{
|
{
|
||||||
|
|
8
.vscode/tasks.json
vendored
8
.vscode/tasks.json
vendored
|
@ -143,6 +143,14 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"problemMatcher": []
|
"problemMatcher": []
|
||||||
|
},{
|
||||||
|
"label": "fullimage: clean & make",
|
||||||
|
"type": "shell",
|
||||||
|
"command": "make armsrc/clean && make armsrc/all SKIP_COMPRESSION=1 DEBUG=1",
|
||||||
|
"problemMatcher": [
|
||||||
|
"$gcc"
|
||||||
|
],
|
||||||
|
"group": "build",
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"inputs": [
|
"inputs": [
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue