aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2019-04-11 22:50:22 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2019-04-11 22:50:22 +0200
commit07908f238aaa4b24f52ee6790255732ea98733e7 (patch)
treef665b5132e120b722e3f1e24be0fd36eb7989dd7 /src
parent9c353ab6d8c5120d4e1542cc39fd77a30a5ae760 (diff)
downloadglutte-o-matic-07908f238aaa4b24f52ee6790255732ea98733e7.tar.gz
glutte-o-matic-07908f238aaa4b24f52ee6790255732ea98733e7.tar.bz2
glutte-o-matic-07908f238aaa4b24f52ee6790255732ea98733e7.zip
Document openocd + gdb
Diffstat (limited to 'src')
-rw-r--r--src/README.md11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/README.md b/src/README.md
index 37b299d..188bd89 100644
--- a/src/README.md
+++ b/src/README.md
@@ -30,6 +30,17 @@ faut openocd pour FLASHer le STM32F4-DISCOVERY.
make
make deploy
+Debug avec OpenOCD et GDB
+=========================
+
+ openocd -f /usr/share/openocd/scripts/board/stm32f4discovery.cfg -c init -c reset
+
+ arm-none-eabi-gdb bin/outp.elf
+ target extended-remote localhost:3333
+ monitor reset halt
+ load
+ continue
+
Analyse statique avec clang
===========================