mirror of
https://github.com/Minres/RISCV-VP.git
synced 2025-12-17 08:51:35 +00:00
updates submodules and setup files
This commit is contained in:
17
.vscode/launch.json
vendored
17
.vscode/launch.json
vendored
@@ -18,7 +18,7 @@
|
||||
"cwd": "${workspaceRoot}",
|
||||
"gdb": "riscv64-unknown-elf-gdb",
|
||||
"presentation": {
|
||||
"hidden": true,
|
||||
"hidden": false,
|
||||
"group": "FW Debug",
|
||||
"order": 2
|
||||
}
|
||||
@@ -29,9 +29,9 @@
|
||||
"name": "Launch VP with gdbserver",
|
||||
"cwd": "${workspaceRoot}",
|
||||
"program": "${workspaceFolder}/build/Debug/src/riscv-vp",
|
||||
"arguments": "-f fw/hello-world/hello.elf -g 10000",
|
||||
"arguments": "--isa 'rv32gc|msu_vp' -v DEBUG --disass -f fw/hello-world/hello.elf -g 10000",
|
||||
"presentation": {
|
||||
"hidden": true,
|
||||
"hidden": false,
|
||||
"group": "FW Debug",
|
||||
"order": 1
|
||||
}
|
||||
@@ -42,9 +42,18 @@
|
||||
"name": "Launch VP",
|
||||
"cwd": "${workspaceRoot}",
|
||||
"program": "${workspaceFolder}/build/Debug/src/riscv-vp",
|
||||
"arguments": "-v DEBUG --isa tgc5c -f fw/hello-world/hello.elf",
|
||||
"arguments": "-v DEBUG -t 3 --isa tgc5c -f fw/hello-world/hello.elf",
|
||||
"openGdbConsole": true
|
||||
},
|
||||
{
|
||||
"type": "gdb",
|
||||
"request": "launch",
|
||||
"name": "Launch VP (asmjit)",
|
||||
"cwd": "${workspaceRoot}",
|
||||
"program": "${workspaceFolder}/build/Debug/src/riscv-vp",
|
||||
"arguments": "--isa tgc5c --backend asmjit -f fw/hello-world/hello.elf",
|
||||
"openGdbConsole": true
|
||||
}
|
||||
],
|
||||
"compounds": [
|
||||
{
|
||||
|
||||
8
.vscode/tasks.json
vendored
8
.vscode/tasks.json
vendored
@@ -4,7 +4,7 @@
|
||||
{
|
||||
"label": "CMake-and-make",
|
||||
"type": "shell",
|
||||
"command": "source .venv/bin/activate && cmake -B build -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=ON -DCMAKE_EXPORT_COMPILE_COMMANDS=ON && cmake --build build",
|
||||
"command": "cmake --preset Release -B build/Release && cmake --build build/Release",
|
||||
"problemMatcher": [],
|
||||
"presentation": {
|
||||
"echo": true,
|
||||
@@ -22,7 +22,7 @@
|
||||
{
|
||||
"label": "Build-FW",
|
||||
"type": "shell",
|
||||
"command": "cd fw/hello-world/ && make",
|
||||
"command": "make -C fw/hello-world clean all",
|
||||
"problemMatcher": [],
|
||||
"presentation": {
|
||||
"echo": true,
|
||||
@@ -36,7 +36,7 @@
|
||||
{
|
||||
"label": "Execute-VP",
|
||||
"type": "shell",
|
||||
"command": "build/src/tgc-vp -f fw/hello-world/hello -p pctrace=contrib/TGC_C_cycles.json",
|
||||
"command": "build/Debug/src/riscv-vp -f fw/hello-world/hello.elf -p pctrace=contrib/TGC_C_cycles.json",
|
||||
"problemMatcher": [],
|
||||
"presentation": {
|
||||
"echo": true,
|
||||
@@ -50,7 +50,7 @@
|
||||
{
|
||||
"label": "VP-GDB-Server",
|
||||
"type": "shell",
|
||||
"command": "build/src/tgc-vp -f fw/hello-world/hello -g 10000",
|
||||
"command": "build/Debug/src/riscv-vp -v TRACEALL --disass -f fw/hello-world/hello.elf -g 10000",
|
||||
"problemMatcher": [],
|
||||
"presentation": {
|
||||
"echo": true,
|
||||
|
||||
Reference in New Issue
Block a user