Eclipse Hardware Debug problem
Posted: Sun Aug 26, 2018 10:56 am
I'm running gdb on an ESP32 Wrover Kit (which includes hardware debugging). I have followed the Espressif instructions to the letter. I have summarized these here: http://www.irelandupclose.com/customer/ ... LIPSE.html
As far as I can see there is no way to tell Eclipse where openocd is installed, or how to run it (certainly the Espressif instructions https://esp-idf.readthedocs.io/en/lates ... index.html do not show how to do it.
What I have done is to build & flash from Eclipse, then launch openocd from the command line, then debug from Eclipse. That works fine, but presumably it isn't how it is intended to be done. But if it is (which certainly would not be great!), the Espressif documentation would need to be updated to say so.
As far as I can see there is no way to tell Eclipse where openocd is installed, or how to run it (certainly the Espressif instructions https://esp-idf.readthedocs.io/en/lates ... index.html do not show how to do it.
What I have done is to build & flash from Eclipse, then launch openocd from the command line, then debug from Eclipse. That works fine, but presumably it isn't how it is intended to be done. But if it is (which certainly would not be great!), the Espressif documentation would need to be updated to say so.