Commit 7e0477c0 authored by Caiyi H.'s avatar Caiyi H.
Browse files

add vscode config in `<root>/os/`

Showing with 79 additions and 0 deletions
+79 -0
{
"version": "0.2.0",
"configurations": [
{
"name": "(gdb) Qemu",
"type": "cppdbg",
"request": "launch",
"program": "${workspaceFolder}/target/riscv64gc-unknown-none-elf/debug/os",
"args": [],
"stopAtEntry": false,
"cwd": "${fileDirname}",
"environment": [],
"externalConsole": false,
"MIMode": "gdb",
"preLaunchTask": "Qemu",
"miDebuggerPath": "/usr/bin/riscv64-elf-gdb",
"miDebuggerServerAddress": "localhost:1234",
"setupCommands": [
{
"description": "Enable pretty-printing for gdb",
"text": "-enable-pretty-printing",
"ignoreFailures": true
}
]
}
]
}
\ No newline at end of file
{
"rust-analyzer.cargo.target": "riscv64gc-unknown-none-elf",
"rust-analyzer.check.allTargets": false,
"rust-analyzer.check.extraArgs": [
"--target",
"riscv64gc-unknown-none-elf"
]
}
{
"version": "2.0.0",
"tasks": [
{
"label": "Qemu",
"type": "shell",
"command": "make debug LOG=TRACE",
"group": {
"kind": "none",
"isDefault": true
},
"isBackground": true,
"presentation": {
"echo": true,
"reveal": "always",
"focus": false,
"panel": "shared",
"showReuseMessage": false,
"clear": true
},
"problemMatcher": [
{
"owner": "rust",
"fileLocation": ["relative", "${workspaceFolder}"],
"background": {
"activeOnStart": true,
"beginsPattern": ".",
"endsPattern": ".",
},
"pattern": [
{
"regexp": ".",
"file": 1,
"line": 2,
"column": 3,
"severity": 4,
"message": 5
},
]
}
]
}
]
}
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment