[riot-notifications] [RIOT-OS/RIOT] dist/tools/openocd: add OPENOCD_EXTRA_INIT_RESET use for nucleo-f091rc (#11976)

Gaëtan Harter notifications at github.com
Mon Sep 2 14:29:07 CEST 2019


cladmi commented on this pull request.



> @@ -119,6 +120,11 @@
 # export DBG_FLAGS='--debugger "${GDB} ${DBG_DEFAULT_FLAGS}"'
 # The single quotes are important on the line above, or it will not work.
 
+# Set extra commands to pass to OpenOCD before `flash` or `reset`

This comment should be updated now I guess to match the `connect_assert_srst` behavior only.

The documentation could even be put at the beginning with the other configuration variables by setting it to empty by default and here just "handle OPENOCD_RESET_USE_CONNECT_ASSERT_SRST".


> @@ -73,6 +73,8 @@
 : ${OPENOCD_EXTRA_INIT:=}
 # Debugger interface initialization commands to pass to OpenOCD
 : ${OPENOCD_ADAPTER_INIT:=}
+# Extra commands to pass to OpenOCD before `flash` or `reset`
+: ${OPENOCD_EXTRA_RESET_INIT:=}

Does this one need to be documented ?

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/11976#pullrequestreview-282567175
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190902/db0edade/attachment.htm>


More information about the notifications mailing list