{
    "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"
            ],
        }
    ]
}
Logo

腾讯云面向开发者汇聚海量精品云计算使用和开发经验,营造开放的云计算技术生态圈。

更多推荐