Skip to content

Hardware Debugging In Eclipse

Kristian Sloth Lauszus edited this page Oct 15, 2015 · 4 revisions

In order to use hardware debugging you will first need to install OpenOCD as described in the README.

First you need to setup a Debug Configuration for GDB:

Now setup an External Tools to clean and build with DEBUG enabled using Make:

Now setup another External Tool to run OpenOCD:

Finally setup two Run Configurations. The first one starts the OpenOCD server and starts GDB and the second one cleans and builds the project with DEBUG enabled:

Clone this wiki locally