1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

Merge pull request #11549 from cladmi/pr/pba_d_01_kw2x/fix_flashing

boards/pba-d-01-kw2x: fix flashing from invalid state
This commit is contained in:
Francisco 2019-09-23 13:09:02 +02:00 committed by GitHub
commit abdebaa86f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 0 deletions

View File

@ -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

View File

@ -1,2 +1,3 @@
source [find target/kx.cfg]
reset_config srst_only
$_TARGETNAME configure -rtos auto