fix: clear launch warnning

main
邱棚 2023-05-11 13:40:52 +08:00
parent 5a499c9c27
commit bc1dbd5dce
2 changed files with 15 additions and 10 deletions

18
.vscode/launch.json vendored
View File

@ -14,6 +14,10 @@
"servertype": "openocd", "servertype": "openocd",
"preLaunchTask": "Build", "preLaunchTask": "Build",
"linux": { "linux": {
"name": "openOCD-Debug",
"type": "cortex-debug",
"request": "launch",
"executable": "rt-thread.elf",
"armToolchainPath": "/usr/bin/", "armToolchainPath": "/usr/bin/",
"configFiles": [ "configFiles": [
"/usr/share/openocd/scripts/interface/stlink.cfg", "/usr/share/openocd/scripts/interface/stlink.cfg",
@ -21,6 +25,10 @@
], ],
}, },
"windows": { "windows": {
"name": "openOCD-Debug",
"type": "cortex-debug",
"request": "launch",
"executable": "rt-thread.elf",
"armToolchainPath": "C://Program Files//", "armToolchainPath": "C://Program Files//",
"configFiles": [ "configFiles": [
"C://Program Files//openocd//scripts//interface//stlink.cfg", "C://Program Files//openocd//scripts//interface//stlink.cfg",
@ -28,6 +36,10 @@
], ],
}, },
"osx": { "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/", "armToolchainPath": "/Users/qp/Applications/gcc-arm-none-eabi-10.3-2021.10/bin/",
"configFiles":[ "configFiles":[
"/opt/homebrew/Cellar/open-ocd/0.12.0/share/openocd/scripts/interface/stlink.cfg", "/opt/homebrew/Cellar/open-ocd/0.12.0/share/openocd/scripts/interface/stlink.cfg",
@ -59,21 +71,21 @@
"preLaunchTask": "Build", "preLaunchTask": "Build",
"linux": { "linux": {
"name": "Launch", "name": "pyOCD-Debug",
"type": "cortex-debug", "type": "cortex-debug",
"request": "launch", "request": "launch",
"executable": "", "executable": "",
"armToolchainPath": "/usr/bin/", "armToolchainPath": "/usr/bin/",
}, },
"windows": { "windows": {
"name": "Launch", "name": "pyOCD-Debug",
"type": "cortex-debug", "type": "cortex-debug",
"request": "launch", "request": "launch",
"executable": "", "executable": "",
"armToolchainPath": "C://Program Files//", "armToolchainPath": "C://Program Files//",
}, },
"osx": { "osx": {
"name": "Launch", "name": "pyOCD-Debug",
"type": "cortex-debug", "type": "cortex-debug",
"request": "launch", "request": "launch",
"executable": "rt-thread.elf", "executable": "rt-thread.elf",

View File

@ -1,7 +0,0 @@
{
"folders": [
{
"path": "."
}
]
}