1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-27 15:31:17 +01:00

boards/frdm: fix flashing from invalid state

When flashing some applications the flasher sometimes gets stuck which
prevents flashing after.
It may be from a specific firmware or operation but do not have one yet.
Connect with reset asserted fix flashing from this state.
This commit is contained in:
Gaëtan Harter 2019-03-04 14:31:41 +01:00
parent 1a89829cc7
commit 323050f0e3
No known key found for this signature in database
GPG Key ID: 76DF6BCF1B1F883B

View File

@ -34,5 +34,9 @@ export PRE_FLASH_CHECK_SCRIPT = $(RIOTCPU)/$(CPU)/dist/check-fcfield.sh
# setup serial terminal
include $(RIOTMAKE)/tools/serial.inc.mk
# 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