[riot-notifications] [RIOT-OS/RIOT] boards/stm32f103c8: fix openocd config (#9760)

Gaƫtan Harter notifications at github.com
Wed May 8 17:28:24 CEST 2019

cladmi commented on this pull request.

> +set WORKAREASIZE 0x5000
+# Enable debug when in low power modes
+# Stop Watchdog counters when halt
+# STlink Debug clock frequency
+set CLOCK_FREQ 4000
+# use hardware reset, connect under reset
+# connect_assert_srst needed if low power mode application running (WFI...)
+reset_config srst_only srst_nogate connect_assert_srst

Something that could be nice, would be to update the `openocd` handling so you could say `OPENOCD_FILE=openocd_hw_reset.cfg` or something. This way, no need for a board specific variable but it would be another task for the future.
Openocd has `--filename` for the config file and `--search` for the search path which would work nicely in that case.

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190508/f40d31d7/attachment.html>

More information about the notifications mailing list