diff --git a/boards/b-l475e-iot01a/Makefile.include b/boards/b-l475e-iot01a/Makefile.include index 4e38028ae2..ee66454f48 100644 --- a/boards/b-l475e-iot01a/Makefile.include +++ b/boards/b-l475e-iot01a/Makefile.include @@ -11,5 +11,9 @@ include $(RIOTMAKE)/tools/serial.inc.mk # this board has an on-board ST-link adapter DEBUG_ADAPTER ?= stlink +# The board can become un-flashable after some execution, +# use connect_assert_srst to always be able to flash or reset the board. +export OPENOCD_RESET_USE_CONNECT_ASSERT_SRST ?= 1 + # this board uses openocd include $(RIOTMAKE)/tools/openocd.inc.mk