Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
educg-net-26010-2376550
neuq-rCore-647
Commits
7e0477c0
Commit
7e0477c0
authored
1 year ago
by
Caiyi H.
Browse files
Options
Download
Patches
Plain Diff
add vscode config in `<root>/os/`
parent
f5f752df
vf2
abstract-board
docs
ext4-integrate
impl-brk
make-clean
merge-after-submit
path-processing
process
refact-mm
refactor_fs_ext4
submit
submit-qemu
submit-vf2
thirdparty-license
unit-test-cache
vf2-ci
qemu-v0.2
qemu-v0.1
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
os/.vscode/launch.json
+27
-0
os/.vscode/launch.json
os/.vscode/settings.json
+8
-0
os/.vscode/settings.json
os/.vscode/tasks.json
+44
-0
os/.vscode/tasks.json
with
79 additions
and
0 deletions
+79
-0
os/.vscode/launch.json
0 → 100644
+
27
−
0
View file @
7e0477c0
{
"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
This diff is collapsed.
Click to expand it.
os/.vscode/settings.json
0 → 100644
+
8
−
0
View file @
7e0477c0
{
"rust-analyzer.cargo.target"
:
"riscv64gc-unknown-none-elf"
,
"rust-analyzer.check.allTargets"
:
false
,
"rust-analyzer.check.extraArgs"
:
[
"--target"
,
"riscv64gc-unknown-none-elf"
]
}
This diff is collapsed.
Click to expand it.
os/.vscode/tasks.json
0 → 100644
+
44
−
0
View file @
7e0477c0
{
"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
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets