gdb_memory_map disable
solves the issue of OpenOCD not being able to read flash maps.set ESP_FLASH_SIZE 0
solves a breakpoint not found error.
openocd -c "set ESP_FLASH_SIZE 0; gdb_memory_map disable" -f board/esp32c3-builtin.cfg
To invoke gdb
: