vscode cortex-debug配置
·
{
"cortex-debug.armToolchainPath": "D:\\Program Files (x86)\\GNU Arm Embedded Toolchain\\10 2021.10\\bin",
"cortex-debug.gdbPath": "D:\\Program Files (x86)\\GNU Arm Embedded Toolchain\\10 2021.10\\bin\\arm-none-eabi-gdb.exe",
"cortex-debug.openocdPath": "D:\\Portable\\OpenOCD-20250710-0.12.0\\bin\\openocd.exe"
}
{
"configurations": [
{
"cwd": "${workspaceRoot}",
"executable": "${workspaceRoot}/build/bootloader.elf",
"name": "Debug with OpenOCD",
"request": "launch",
"type": "cortex-debug",
"servertype": "openocd",
"runToEntryPoint": "main",
"configFiles": [
"D:\\Portable\\OpenOCD-20250710-0.12.0\\share\\openocd\\scripts\\interface\\stlink-v2-1.cfg",
"D:\\Portable\\OpenOCD-20250710-0.12.0\\share\\openocd\\scripts\\target\\stm32f4x.cfg"
],
}
]
}
更多推荐
所有评论(0)