Skip to content
Snippets Groups Projects
launch.json 907 B
Newer Older
{
    // Use IntelliSense to learn about possible attributes.
    // Hover to view descriptions of existing attributes.
    // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
    "version": "0.2.0",
    "configurations": [
        {
            "name": "Debug on real board",
            "type": "gdb",
            "request": "attach",
            "cwd": "${workspaceRoot}",
            "valuesFormatting": "parseText",
            "target": "extended-remote 127.0.0.1:3333",
            "executable": "./firmware.elf",
            "autorun": [
                "add-symbol-file ./firmware.elf",
                "add-symbol-file ../esp32c3_rev3_rom.elf",
                "set remote hardware-watchpoint-limit 2",
                "mon reset halt",
                "maintenance flush register-cache",
            ],
            "gdbpath": "riscv32-unknown-elf-gdb"
        }
    ]
}