extends VSCode/Theia setup

This commit is contained in:
2025-08-15 09:52:24 +02:00
parent 2168421020
commit 65647e9910
4 changed files with 55 additions and 39 deletions

42
.vscode/tasks.json vendored
View File

@@ -2,7 +2,7 @@
"version": "2.0.0",
"tasks": [
{
"label": "Build FW",
"label": "Build 32bit FW",
"type": "shell",
"command": "make -C fw/hello-world clean all",
"problemMatcher": [],
@@ -15,10 +15,10 @@
"clear": true
}
},
{
"label": "Execute VP",
{
"label": "Build 64bit FW",
"type": "shell",
"command": "build/Debug/src/riscv-vp -f fw/hello-world/hello.elf -p pctrace=contrib/TGC_C_cycles.json",
"command": "make -C fw/hello-world RISCV_ARCH=rv64imc RISCV_ABI=lp64 clean all",
"problemMatcher": [],
"presentation": {
"echo": true,
@@ -30,9 +30,37 @@
}
},
{
"label": "Execute VP with GDB-Server",
"label": "Run 32bit VP",
"type": "shell",
"command": "build/Debug/src/riscv-vp -f fw/hello-world/hello.elf -g 10000",
"command": "build/Debug/src/riscv-vp --isa 'rv32gc|msu_vp' -f fw/hello-world/hello.elf -p pctrace=contrib/TGC_C_cycles.json",
"problemMatcher": [],
"presentation": {
"echo": true,
"reveal": "always",
"focus": true,
"panel": "dedicated",
"showReuseMessage": false,
"clear": true
}
},
{
"label": "Run 64bit VP",
"type": "shell",
"command": "build/Debug/src/riscv-vp --isa 'rv64gc|msu_vp' -f fw/hello-world/hello.elf -p pctrace=contrib/TGC_C_cycles.json",
"problemMatcher": [],
"presentation": {
"echo": true,
"reveal": "always",
"focus": true,
"panel": "dedicated",
"showReuseMessage": false,
"clear": true
}
},
{
"label": "Run 32bit VP with GDB-Server",
"type": "shell",
"command": "build/Debug/src/riscv-vp --isa 'rv32gc|msu_vp' -f fw/hello-world/hello.elf -g 10000",
"problemMatcher": [],
"presentation": {
"echo": true,
@@ -44,7 +72,7 @@
},
},
{
"label": "Execute 64bit VP with GDB-Server",
"label": "Run 64bit VP with GDB-Server",
"type": "shell",
"command": "build/Debug/src/riscv-vp --isa 'rv64gc|msu_vp' -v TRACEALL -f fw/hello-world/hello.elf -g 10000 |& tee run.log",
"problemMatcher": [],