{ // 使用 IntelliSense 了解相关属性。 // 悬停以查看现有属性的描述。 // 欲了解更多信息,请访问: https://go.microsoft.com/fwlink/?linkid=830387 "version": "0.2.0", "configurations": [ { "name": "rt-spark-openocd", // "cwd": "${workspaceFolder}", "executable": "${workspaceRoot}/rt-thread.elf", "request": "launch", "type": "cortex-debug", "runToEntryPoint": "main", "targetId": "STM32F407ZG", "cwd": "${workspaceRoot}", "servertype": "pyocd", "configFiles": [ "interface/stlink-v2.cfg", "target/stm32f4x.cfg" ], "armToolchainPath": "d:/Develop/env2/tools/gnu_gcc/arm_gcc/mingw/bin", "gdbPath": "d:/Develop/env2/tools/gnu_gcc/arm_gcc/mingw/bin/arm-none-eabi-gdb.exe", "serverpath": "d:\\Develop\\env2\\.venv\\Scripts\\pyocd", "svdFile": "${workspaceRoot}/chip/STM32F407.svd", "cmsisPack": "${workspaceRoot}/chip/Keil.STM32F4xx_DFP.2.17.1.pack", // "cortex-debug.openocdPath": "d:/Develop/OpenOCD/bin/openocd.exe" } ] }