[BSP] Add vscode setting. (#6992)
This commit is contained in:
parent
8015b61fcb
commit
c5cb58383c
|
@ -0,0 +1,41 @@
|
|||
{
|
||||
"version": "0.2.0",
|
||||
"configurations": [
|
||||
{
|
||||
"name": "Debug RT-Thread",
|
||||
"type": "cppdbg",
|
||||
"request": "launch",
|
||||
"program": "${workspaceRoot}/rtthread.elf",
|
||||
"args": [],
|
||||
"stopAtEntry": true,
|
||||
"cwd": "${workspaceRoot}",
|
||||
"environment": [],
|
||||
"externalConsole": true,
|
||||
"miDebuggerServerAddress": "localhost:1234",
|
||||
"serverLaunchTimeout": 2000,
|
||||
"targetArchitecture": "ARM",
|
||||
"setupCommands": [
|
||||
{
|
||||
"text": "cd ${workspaceRoot}"
|
||||
},
|
||||
{
|
||||
"text": "file rtthread.elf"
|
||||
}
|
||||
],
|
||||
"customLaunchSetupCommands": [],
|
||||
"launchCompleteCommand": "exec-run",
|
||||
"osx": {
|
||||
"MIMode": "gdb",
|
||||
"miDebuggerPath": "arm-none-eabi-gdb"
|
||||
},
|
||||
"linux": {
|
||||
"MIMode": "gdb",
|
||||
"miDebuggerPath": "gdb-multiarch"
|
||||
},
|
||||
"windows": {
|
||||
"MIMode": "gdb",
|
||||
"miDebuggerPath": "arm-none-eabi-gdb.exe"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,34 @@
|
|||
{
|
||||
"env": {
|
||||
|
||||
},
|
||||
"statusBarItem": {
|
||||
"build": {
|
||||
"icon": "$(zap)",
|
||||
"enable": true,
|
||||
"commands": [
|
||||
"scons"
|
||||
],
|
||||
"label": "编译",
|
||||
"tooltip": "编译 RT-Thread 内核"
|
||||
},
|
||||
"clean": {
|
||||
"icon": "$(clear-all)",
|
||||
"enable": true,
|
||||
"commands": [
|
||||
"scons -c"
|
||||
],
|
||||
"label": "清理",
|
||||
"tooltip": "清理 RT-Thread 内核"
|
||||
},
|
||||
"name" : {
|
||||
"icon" : "$(location)",
|
||||
"enable" : true,
|
||||
"commands" : [
|
||||
""
|
||||
],
|
||||
"label" : "QEMU Virt AArch64",
|
||||
"tooltip" : "项目名称"
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue