From 9c4616cb6512a0577376aa89a50183379565a278 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Tj=C3=A4der?= <henrik.tjader@gmail.com> Date: Thu, 24 Mar 2016 21:12:09 +0100 Subject: [PATCH] Some clarifications and added gitignore --- README.md | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index e2e9595..1a3e827 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ included libraries in the Makefile. Connect your MCU and connect st-link. -Sometimes it will complain it cannot find the chip, try erasing first: +Sometimes it will complain it cannot find/communicate with the chip, try erasing first: st-flash --reset erase @@ -34,7 +34,7 @@ Then connect with st-util: st-util -On my laptop some powermanagement settings interfere with longer debugging sessions, +On my laptop some power management settings interfere with longer debugging sessions, a workaround is to enable very verbose logging functioning as a keep-alive. st-util -v99 @@ -59,3 +59,13 @@ This one is provided by the .gdbinit file included in this project. It will kill the current program and reload from the same file again. + +This lets you run make, then just simply + + reload + run + +In GDB and you have the latest software on your MCU. + +A .gitignore is also provided which will aid if somebody prefers eclipse-based tools such as +Atollic TrueSTUDIO (c). -- GitLab