![]() ![]() In field “GDB Command” enter xtensa-esp32s3-elf-gdb to invoke debugger.Ĭhange default configuration of “Remote host” by entering 3333 under the “Port number”.Ĭonfiguration entered in points 6 and 7 is shown on the following picture.Ĭonfiguration of GDB Hardware Debugging - Debugger tab See Eclipse Plugin how to do it.įinally, under “Build (if required) before launching” click “Disable auto build”.Ī sample window with settings entered in points 1 - 5 is shown below.Ĭonfiguration of GDB Hardware Debugging - Main tab Ĭlick “Debugger” tab. If “blink.elf” is not there, then likely this project has not been build yet. In next line “C/C++ Application:” press “Browse” button and select “blink.elf” file. On the “Main” tab below, under “Project:”, press “Browse” button and select the “blink” project. In a form that will show up on the right, enter the “Name:” of this configuration, e.g. In the window’s left pane double click “GDB Hardware Debugging” (or select “GDB Hardware Debugging” and press the “New” button) to create a new configuration. ![]() In Eclipse go to Run > Debug Configuration. The source of get-started/blink application is available in examples directory of ESP-IDF repository. If not done already, add this project to Eclipse workspace following guidance in Eclipse Plugin. This will be shown below by configuring debugging for “blink” example project. Please note that some of configuration parameters are generic and some are project specific. Once installation is complete, configure debugging session following steps below. To begin with, install “GDB Hardware Debugging” plugin by opening Eclipse and going to Help > Install New Software. We have found this plugin quite convenient and decided to use throughout this guide. ![]() Another option is to use pluggins like “GDB Hardware Debugging” plugin. It is recommended to first check if debugger works using idf.py debug targets or from Command Line and then move to using Eclipse.ĭebugging functionality is provided out of box in standard Eclipse installation. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |