e6505b0489
For historical reasons, no license information was added to the tcl files. This makes trivial adding the SPDX tag through script: fgrep -rL SPDX tcl/ target| while read a;do \ sed -i '1{i# SPDX-License-Identifier: GPL-2.0-or-later\n }' $a;done With no specific license information from the author, let's extend the OpenOCD project license GPL-2.0-or-later to the files. Change-Id: I7b2610300b24cccd07bfa6fb5f1266970d5d3a1b Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com> Reviewed-on: https://review.openocd.org/c/openocd/+/7027 Tested-by: jenkins
19 lines
498 B
INI
19 lines
498 B
INI
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
set _CHIPNAME avr32
|
|
set _ENDIAN big
|
|
|
|
set _CPUTAPID 0x21e8203f
|
|
|
|
adapter srst delay 100
|
|
jtag_ntrst_delay 100
|
|
|
|
reset_config trst_and_srst separate
|
|
|
|
# jtag scan chain
|
|
# format L IRC IRCM IDCODE (Length, IR Capture, IR Capture Mask, IDCODE)
|
|
jtag newtap $_CHIPNAME cpu -irlen 5 -ircapture 0x1 -irmask 0x1 -expected-id $_CPUTAPID
|
|
|
|
set _TARGETNAME [format "%s.cpu" $_CHIPNAME]
|
|
target create $_TARGETNAME avr32_ap7k -endian $_ENDIAN -chain-position $_TARGETNAME
|