[riot-notifications] [RIOT-OS/RIOT] boards/stm32f103c8: fix openocd config (#9760)
notifications at github.com
Wed May 8 17:28:24 CEST 2019
cladmi commented on this pull request.
> +set WORKAREASIZE 0x5000
+set CHIPNAME STM32F103C8Tx
+# Enable debug when in low power modes
+set ENABLE_LOW_POWER 1
+# Stop Watchdog counters when halt
+set STOP_WATCHDOG 1
+# 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...
More information about the notifications