mirror of
https://github.com/Minres/RISCV-VP.git
synced 2025-12-17 08:51:35 +00:00
cleanup VSCode settings and linux setup
This commit is contained in:
11
.vscode/extensions.json
vendored
11
.vscode/extensions.json
vendored
@@ -1,10 +1,15 @@
|
||||
{
|
||||
"recommendations": [
|
||||
"ms-vscode.cpptools-extension-pack",
|
||||
"mkhl.direnv",
|
||||
"sanaajani.taskrunnercode",
|
||||
"ms-vscode.cpptools-themes",
|
||||
"cnshenj.vscode-task-manager",
|
||||
"twxs.cmake",
|
||||
"kylinideteam.cmake-intellisence",
|
||||
"kylinideteam.kylin-cmake-tools",
|
||||
"llvm-vs-code-extensions.vscode-clangd",
|
||||
"eclipse-cdt.cdt-gdb-vscode",
|
||||
"eclipse-cdt.memory-inspector",
|
||||
"eclipse-cdt.peripheral-inspector",
|
||||
|
||||
"eclipse-cdt.peripheral-inspector"
|
||||
]
|
||||
}
|
||||
22
.vscode/launch.json
vendored
22
.vscode/launch.json
vendored
@@ -56,16 +56,34 @@
|
||||
"program": "${workspaceFolder}/build/Debug/src/riscv-vp",
|
||||
"arguments": "-v DEBUG --isa 'tgc5c|mu_p' --backend asmjit -f fw/hello-world/hello.elf",
|
||||
"openGdbConsole": true
|
||||
},
|
||||
{
|
||||
"type": "gdb",
|
||||
"request": "launch",
|
||||
"name": "64bit VP with Linux",
|
||||
"cwd": "${workspaceRoot}",
|
||||
"program": "${workspaceFolder}/build/Debug/src/riscv-vp",
|
||||
"arguments": "--isa 'rv64gc|msu_vp' -v DEBUG --disass -l run.log -f build/Linux4TGC/opensbi/build/platform/riscv_vp/firmware/fw_payload.elf -m 40ms",
|
||||
"openGdbConsole": true
|
||||
},
|
||||
{
|
||||
"type": "gdb",
|
||||
"request": "launch",
|
||||
"name": "64bit VP with Linux with gdbserver",
|
||||
"cwd": "${workspaceRoot}",
|
||||
"program": "${workspaceFolder}/build/Debug/src/riscv-vp",
|
||||
"arguments": "--isa 'rv64gc|msu_vp' -f build/Linux4TGC/opensbi/build/platform/riscv_vp/firmware/fw_payload.elf -m 40ms -g 10000",
|
||||
"openGdbConsole": true
|
||||
}
|
||||
],
|
||||
"compounds": [
|
||||
{
|
||||
"name": "FW-Debug 32bit",
|
||||
"configurations": ["32bit VP with gdbserver", "Attach to VP"]
|
||||
"configurations": ["32bit VP with gdbserver", "Attach GDB to VP"]
|
||||
},
|
||||
{
|
||||
"name": "FW-Debug 64bit",
|
||||
"configurations": ["64bit VP with gdbserver", "Attach to VP"]
|
||||
"configurations": ["64bit VP with gdbserver", "Attach GDB to VP"]
|
||||
}
|
||||
]
|
||||
}
|
||||
7
.vscode/settings.json
vendored
7
.vscode/settings.json
vendored
@@ -2,7 +2,7 @@
|
||||
"files.associations": {
|
||||
"platform.h": "c"
|
||||
},
|
||||
"debug.allowBreakpointsEverywhere": true,
|
||||
"debug.disassemblyView.showSourceCode": true,
|
||||
"editor.rulers": [
|
||||
{
|
||||
"column": 140,
|
||||
@@ -14,10 +14,15 @@
|
||||
"--background-index",
|
||||
"--compile-commands-dir=${workspaceFolder}/build"
|
||||
],
|
||||
"cmake.buildDirectory": "${workspaceFolder}/build",
|
||||
"cmake.copyCompileCommands": "${workspaceFolder}/build/compile_commands.json",
|
||||
"cmake.options.statusBarVisibility": "hidden",
|
||||
"cmake.options.advanced": {
|
||||
"configure": {"projectStatusVisibility": "visible"},
|
||||
"build": {"statusBarVisibility": "visible"}
|
||||
},
|
||||
"todo-tree.ripgrep.ripgrep": "/bin/rg",
|
||||
"files.watcherExclude": {
|
||||
"**/target": true
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user