commit | cece97b96c575d307ccd3f31839f9db53a9faaee | [log] [tgz] |
---|---|---|
author | Erwan Gouriou <erwan.gouriou@linaro.org> | Wed Dec 02 18:20:24 2020 +0100 |
committer | Anas Nashif <anas.nashif@intel.com> | Thu Dec 03 11:33:20 2020 -0500 |
tree | 5810228f9f8918d74c5914e6ef845a6eb293dbf1 | |
parent | 2c46d70ac1b31aef8376e25ff2b2a1575fa13015 [diff] |
boards: Fix openocd debug config on stm32h7 based boards On these 3 stm32h7 based boards, 'connect_assert_srst' should be used in order to be able to program after board unplug/plug. Problem is that 'connect_assert_srst' prevents gdb-attach procedure to complete which now requires 'reset halt' to be performed before hand. Fix this by forcing 'reset halt' by introducing a new init routine. Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>