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

boards/pba-d-01-kw2x: fix flashing from invalid state

When in an invalid state, the board could not flash anymore.
Like for example after flashing `tests/driver_adt7310` this makes it
flash again.

I used `reset_config srst_only` as the other kinetis boards are also
configured that way.
This commit is contained in:
Gaëtan Harter 2019-03-04 14:13:28 +01:00
parent d9b0db0d61
commit 94dfc4dd94
No known key found for this signature in database
GPG Key ID: 76DF6BCF1B1F883B
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