Skip to content

Commit

Permalink
Merge pull request RIOT-OS#11549 from cladmi/pr/pba_d_01_kw2x/fix_fla…
Browse files Browse the repository at this point in the history
…shing

boards/pba-d-01-kw2x: fix flashing from invalid state
  • Loading branch information
fjmolinas authored Sep 23, 2019
2 parents 794ac26 + 94dfc4d commit abdebaa
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions boards/pba-d-01-kw2x/Makefile.include
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,9 @@ endif
# setup serial terminal
include $(RIOTMAKE)/tools/serial.inc.mk

# The board can become un-flashable after some firmware, 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
1 change: 1 addition & 0 deletions boards/pba-d-01-kw2x/dist/openocd.cfg
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
source [find target/kx.cfg]
reset_config srst_only
$_TARGETNAME configure -rtos auto

0 comments on commit abdebaa

Please sign in to comment.