mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-17 04:52:59 +01:00
boards/b-l475e-iot01a: set OPENOCD_RESET_USE_CONNECT_ASSERT_SRST
b-l475e-iot01a can become unflashable when hardfaults occure. To make sure flashing succeeds `connect_assert_srst` is called before connecting to flash through openocd.
This commit is contained in:
parent
26a1348a9a
commit
b4a8cf8351
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user