boards: arduino due: add reset after load for Jlink flashing

Force the Arduino Due device to preform a reset after loading
the program using JLink, effectively allowing the program to
run after west flash.

Signed-off-by: Ioannis Glaropoulos <Ioannis.Glaropoulos@nordicsemi.no>
This commit is contained in:
Ioannis Glaropoulos 2021-03-03 10:50:07 +01:00 committed by Maureen Helm
commit d39aa58f10

View file

@ -2,5 +2,5 @@
include(${ZEPHYR_BASE}/boards/common/bossac.board.cmake)
board_runner_args(jlink "--device=atsam3x8e" "--speed=4000")
board_runner_args(jlink "--device=atsam3x8e" "--speed=4000" "--reset-after-load")
include(${ZEPHYR_BASE}/boards/common/jlink.board.cmake)