blob: ce9baa8012f1ed8ad837535101eaf5da31a9b32a [file] [log] [blame]
# SPDX-License-Identifier: Apache-2.0
source [find interface/jlink.cfg]
transport select swd
set CHIPNAME atsamd51p19
source [find target/atsame5x.cfg]
adapter_khz 500
reset_config srst_only
$_TARGETNAME configure -event gdb-attach {
echo "Debugger attaching: halting execution"
reset halt
}
$_TARGETNAME configure -event gdb-detach {
echo "Debugger detaching: resuming execution"
resume
}