From bc7d52c56a8b3cdcb377aaf0be3541c8f2a47bfc Mon Sep 17 00:00:00 2001
From: Per <Per Lindgren>
Date: Tue, 28 Feb 2017 09:27:44 +0000
Subject: [PATCH] doc

---
 README.md | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/README.md b/README.md
index eee57ac..c85235d 100644
--- a/README.md
+++ b/README.md
@@ -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/
+
+
-- 
GitLab