From bc1dbd5dce49ce853eca94edf8f047a1b9f64505 Mon Sep 17 00:00:00 2001 From: 12345qiupeng Date: Thu, 11 May 2023 13:40:52 +0800 Subject: [PATCH] fix: clear launch warnning --- .vscode/launch.json | 18 +++++++++++++++--- vscode.code-workspace | 7 ------- 2 files changed, 15 insertions(+), 10 deletions(-) delete mode 100644 vscode.code-workspace diff --git a/.vscode/launch.json b/.vscode/launch.json index 8bd77a8..3f37248 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -14,6 +14,10 @@ "servertype": "openocd", "preLaunchTask": "Build", "linux": { + "name": "openOCD-Debug", + "type": "cortex-debug", + "request": "launch", + "executable": "rt-thread.elf", "armToolchainPath": "/usr/bin/", "configFiles": [ "/usr/share/openocd/scripts/interface/stlink.cfg", @@ -21,6 +25,10 @@ ], }, "windows": { + "name": "openOCD-Debug", + "type": "cortex-debug", + "request": "launch", + "executable": "rt-thread.elf", "armToolchainPath": "C://Program Files//", "configFiles": [ "C://Program Files//openocd//scripts//interface//stlink.cfg", @@ -28,6 +36,10 @@ ], }, "osx": { + "name": "openOCD-Debug", + "type": "cortex-debug", + "request": "launch", + "executable": "rt-thread.elf", "armToolchainPath": "/Users/qp/Applications/gcc-arm-none-eabi-10.3-2021.10/bin/", "configFiles":[ "/opt/homebrew/Cellar/open-ocd/0.12.0/share/openocd/scripts/interface/stlink.cfg", @@ -59,21 +71,21 @@ "preLaunchTask": "Build", "linux": { - "name": "Launch", + "name": "pyOCD-Debug", "type": "cortex-debug", "request": "launch", "executable": "", "armToolchainPath": "/usr/bin/", }, "windows": { - "name": "Launch", + "name": "pyOCD-Debug", "type": "cortex-debug", "request": "launch", "executable": "", "armToolchainPath": "C://Program Files//", }, "osx": { - "name": "Launch", + "name": "pyOCD-Debug", "type": "cortex-debug", "request": "launch", "executable": "rt-thread.elf", diff --git a/vscode.code-workspace b/vscode.code-workspace deleted file mode 100644 index ef9f5d2..0000000 --- a/vscode.code-workspace +++ /dev/null @@ -1,7 +0,0 @@ -{ - "folders": [ - { - "path": "." - } - ] -} \ No newline at end of file