From ba30315f7e0579e5fe35397bb68abc611ef364cf Mon Sep 17 00:00:00 2001 From: Alexandre Abadie Date: Tue, 19 Jun 2018 13:17:34 +0200 Subject: [PATCH] boards/b-l072z-lrwan1: enforce CPU reset when connecting with openocd connect_assert_srst is used to enforce a CPU reset before connecting to it with openocd. This is useful when debugging on-chip. For details on openocd reset configuration, see --- boards/b-l072z-lrwan1/dist/openocd.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boards/b-l072z-lrwan1/dist/openocd.cfg b/boards/b-l072z-lrwan1/dist/openocd.cfg index b497e8bcd5..9ea6fcfc50 100644 --- a/boards/b-l072z-lrwan1/dist/openocd.cfg +++ b/boards/b-l072z-lrwan1/dist/openocd.cfg @@ -1,5 +1,5 @@ source [find target/stm32l0.cfg] -reset_config srst_only +reset_config srst_only connect_assert_srst $_TARGETNAME configure -rtos auto