Skip to content
Snippets Groups Projects
Commit bc7d52c5 authored by Per's avatar Per
Browse files

doc

parent 66444ef0
No related branches found
No related tags found
No related merge requests found
......@@ -25,3 +25,29 @@ d7020e_srp
and Finish
## Compile
Here you have many options, you can use the Ctrl-B, or the Sledgehammer icon e.g.
## ITM
We use the ITM tracing for this example. Open a terminal in eclipse (Shift-Ctrl-Alt T) or the terminal icon (monitor symbol) click Ok (default setting).
Start the ITM tracing tool
```
itmdump /tmp/swo.log
```
## Debug
To run the program you will use the debugger integrated in eclipse. It uses openocd to communicate with the nucleo board, and gdb to
flash the image (generated .elf file) and interact (running, stepping, setting breakpoints etc.).
Clic on the small green bug icon and select the d7020e_srp Debug oldgdb. (There other ways as well.)
This will start openocd and gdb, and by default break at main. To execute the program to end, click the play icon.
For further info on gdb debugging in eclipse see e.g., http://gnuarmeclipse.github.io/debug/
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment