From 6ea7466d8965db6807568d7ad59c909e3982aad9 Mon Sep 17 00:00:00 2001 From: "2310863495@qq.com" <2310863495@qq.com> Date: Thu, 27 Jun 2024 15:40:16 +0800 Subject: [PATCH] [file]modify a9/launch.json --- bsp/qemu-vexpress-a9/.vscode/launch.json | 79 +----------------------- 1 file changed, 3 insertions(+), 76 deletions(-) diff --git a/bsp/qemu-vexpress-a9/.vscode/launch.json b/bsp/qemu-vexpress-a9/.vscode/launch.json index b0ba84b176..89fa3f029f 100644 --- a/bsp/qemu-vexpress-a9/.vscode/launch.json +++ b/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" - } }, ] -} +} \ No newline at end of file