Skip to content

Commit

Permalink
Merge pull request #12261 from cladmi/pr/frdm/fix_flashing
Browse files Browse the repository at this point in the history
boards/frdm: fix flashing from invalid state
  • Loading branch information
fjmolinas authored Sep 20, 2019
2 parents 8c94a16 + 323050f commit 6847d0d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions boards/common/frdm/Makefile.include
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 6847d0d

Please sign in to comment.