Browse Source

[file]modify a9/launch.json

2310863495@qq.com 1 year ago
parent
commit
6ea7466d89
1 changed files with 3 additions and 76 deletions
  1. 3 76
      bsp/qemu-vexpress-a9/.vscode/launch.json

+ 3 - 76
bsp/qemu-vexpress-a9/.vscode/launch.json

@@ -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"
-            }
         },
     ]
-}
+}