23 lines
401 B
INI
23 lines
401 B
INI
# 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
|
|
}
|