on how to setup the OCD debugger with VS code using msys32 (which for some reason doesn't seem right and unnecessery but what ever...) and when I come to debug my code with "Native debug" extention it spits out this error:
Code: Select all
Running executable
:3333: The system tried to join a drive to a directory on a joined drive.
"monitor" command not supported by this target.
Register cache flushed.
No hardware breakpoint support in the target.
The program is not being run.
Code: Select all
{
"version": "0.2.0",
"configurations":
[
{
"type": "gdb",
"request": "launch",
"name": "Launch Program",
"target": "./build/${workspaceFolderBasename}.elf",
"cwd": "${workspaceFolder}",
"gdbpath": "C:/msys32/opt/xtensa-esp32-elf/bin/xtensa-esp32-elf-gdb",
"autorun":
[
"target remote :3333",
"mon reset halt",
"flushregs",
"thb app_main",
"c"
],
"preLaunchTask": "openocd"
}
]
}
I'm using the following hardware:
ESP-Prog
esp32 dev kit V1