mirror of
https://github.com/Minres/RISCV-VP.git
synced 2025-12-17 08:51:35 +00:00
adds VSCode configuration
This commit is contained in:
30
.vscode/launch.json
vendored
30
.vscode/launch.json
vendored
@@ -5,16 +5,18 @@
|
||||
"version": "0.2.0",
|
||||
"configurations": [
|
||||
{
|
||||
"type": "gdb",
|
||||
"type": "gdbtarget",
|
||||
"request": "attach",
|
||||
"name": "Attach-to-gdbserver",
|
||||
"executable": "./fw/hello-world/hello",
|
||||
"target": ":10000",
|
||||
"remote": true,
|
||||
"program": "./fw/hello-world/hello",
|
||||
"imageAndSymbols": {
|
||||
"symbolFileName": "./fw/hello-world/hello"
|
||||
},
|
||||
"target": {
|
||||
"port": "10000"
|
||||
},
|
||||
"cwd": "${workspaceRoot}",
|
||||
"valuesFormatting": "prettyPrinters",
|
||||
"gdbpath": "/opt/riscv/bin/riscv32-unknown-elf-gdb",
|
||||
"debugger_args": [],
|
||||
"gdb": "riscv64-unknown-elf-gdb",
|
||||
"presentation": {
|
||||
"hidden": true,
|
||||
"group": "FW Debug",
|
||||
@@ -24,10 +26,9 @@
|
||||
{
|
||||
"type": "gdb",
|
||||
"request": "launch",
|
||||
"name": "Launch-VP-with-gdbserver",
|
||||
"name": "Launch VP with gdbserver",
|
||||
"cwd": "${workspaceRoot}",
|
||||
"valuesFormatting": "parseText",
|
||||
"target": "./build/src/tgc-vp",
|
||||
"program": "${workspaceFolder}/build/Debug/src/riscv-vp",
|
||||
"arguments": "-f fw/hello-world/hello -g 10000",
|
||||
"presentation": {
|
||||
"hidden": true,
|
||||
@@ -38,16 +39,17 @@
|
||||
{
|
||||
"type": "gdb",
|
||||
"request": "launch",
|
||||
"name": "VP-Debug",
|
||||
"name": "Launch VP",
|
||||
"cwd": "${workspaceRoot}",
|
||||
"program": "${workspaceFolder}/out/build/Debug/src/riscv-vp",
|
||||
"arguments": "--isa ? -f fw/hello-world/hello"
|
||||
"program": "${workspaceFolder}/build/Debug/src/riscv-vp",
|
||||
"arguments": "--isa tgc5c -f fw/hello-world/hello",
|
||||
"openGdbConsole": true
|
||||
},
|
||||
],
|
||||
"compounds": [
|
||||
{
|
||||
"name": "FW-Debug",
|
||||
"configurations": ["Launch-VP-with-gdbserver", "Attach-to-gdbserver"]
|
||||
"configurations": ["Launch VP with gdbserver", "Attach-to-gdbserver"]
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user