1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

boards/stm32l0: Fix openocd to prevent flash locking

This commit add the connect_assert_srst which requires the SRST to be asserted before trying to connect.
Certain firmwares will cause it to get to a state where flashing fails and the reset button must be pushed at the correct time to recover.
This commit is contained in:
MrKevinWeiss 2018-11-07 13:53:23 +01:00
parent 64afc748ca
commit 7c9ef1e9e0
2 changed files with 1 additions and 6 deletions

View File

@ -1,5 +0,0 @@
source [find target/stm32l0.cfg]
reset_config srst_only connect_assert_srst
$_TARGETNAME configure -rtos auto

View File

@ -1,3 +1,3 @@
source [find target/stm32l0.cfg]
reset_config srst_only
reset_config srst_only connect_assert_srst
$_TARGETNAME configure -rtos auto