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:
parent
d9b0db0d61
commit
94dfc4dd94
@ -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
boards/pba-d-01-kw2x/dist/openocd.cfg
vendored
1
boards/pba-d-01-kw2x/dist/openocd.cfg
vendored
@ -1,2 +1,3 @@
|
||||
source [find target/kx.cfg]
|
||||
reset_config srst_only
|
||||
$_TARGETNAME configure -rtos auto
|
||||
|
Loading…
Reference in New Issue
Block a user