[file]modify a9/launch.json

This commit is contained in:
2310863495@qq.com 2024-06-27 15:40:16 +08:00 committed by Meco Man
parent eb1d6913b0
commit 6ea7466d89
1 changed files with 3 additions and 76 deletions

View File

@ -1,52 +1,6 @@
{
"version": "0.2.0",
"configurations": [
{
"name": "Debug @ Mac/Linux",
"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": "shell qemu-dbg.sh"
},
{
"text": "target remote localhost:1234"
},
{
"text": "file rtthread.elf"
},
{
"text": "break application_start"
}
],
"customLaunchSetupCommands": [],
"launchCompleteCommand": "exec-run",
"preLaunchTask": "qemu debug",
"osx": {
"MIMode": "gdb",
"miDebuggerPath": "arm-none-eabi-gdb"
},
"linux": {
"MIMode": "gdb",
"miDebuggerPath": "arm-none-eabi-gdb"
},
"windows": {
"MIMode": "gdb",
"miDebuggerPath": "arm-none-eabi-gdb.exe"
}
},
{
"name": "Debug @ Windows",
"type": "cppdbg",
@ -60,37 +14,10 @@
"miDebuggerServerAddress": "localhost:1234",
"serverLaunchTimeout": 2000,
"targetArchitecture": "ARM",
"setupCommands": [
{
"text": "cd ${workspaceRoot}"
},
{
"text": "shell qemu-dbg.bat"
},
{
"text": "target remote localhost:1234"
},
{
"text": "file rtthread.elf"
},
{
"text": "break main"
}
],
"MIMode": "gdb",
"miDebuggerPath": "arm-none-eabi-gdb.exe",
"customLaunchSetupCommands": [],
"launchCompleteCommand": "exec-run",
"osx": {
"MIMode": "gdb",
"miDebuggerPath": "arm-none-eabi-gdb"
},
"linux": {
"MIMode": "gdb",
"miDebuggerPath": "arm-none-eabi-gdb"
},
"windows": {
"MIMode": "gdb",
"miDebuggerPath": "arm-none-eabi-gdb.exe"
}
},
]
}