diff options
Diffstat (limited to 'board/discovery-stm32f072/openocd-flash.cfg')
-rw-r--r-- | board/discovery-stm32f072/openocd-flash.cfg | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/board/discovery-stm32f072/openocd-flash.cfg b/board/discovery-stm32f072/openocd-flash.cfg index eed8d03f36..d1b847a741 100644 --- a/board/discovery-stm32f072/openocd-flash.cfg +++ b/board/discovery-stm32f072/openocd-flash.cfg @@ -4,6 +4,10 @@ source [find board/stm32f0discovery.cfg] +# For flashing, force the board into reset on connect, this ensures that +# code running on the core can't interfere with programming. +reset_config connect_assert_srst + gdb_port 0 tcl_port 0 telnet_port 0 |