VSCODE zephyr stm32 openocd stlink-v2 contex-debug config
{ // 使用 IntelliSense 了解相关属性。 // 悬停以查看现有属性的描述。 // 欲了解更多信息,请访问: https://go.microsoft.com/fwlink/?linkid=830387 "version": "0.2.0", "configurations": [ { "name": "Debug (OpenOCD)", "type": "cortex-debug", "request": "launch", "armToolchainPath": "C:/Program Files (x86)/GNU Tools ARM Embedded/8 2019-q3-update/bin", "servertype": "openocd", "cwd": "${workspaceRoot}", "executable": "./zephyr/zephyr.elf", "device": "STM32F103VC", "configFiles": [ "./boards/arm/stm32f1_board/support/openocd.cfg" ] } ]
}