mirror of
https://github.com/silenty4ng/uv-k5-firmware-chinese-lts
synced 2025-01-15 14:54:40 +00:00
18 lines
401 B
INI
18 lines
401 B
INI
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
if { [info exists CHIPNAME] } {
|
|
set _CHIPNAME $_CHIPNAME
|
|
} else {
|
|
set _CHIPNAME ar2313
|
|
}
|
|
|
|
if { [info exists CPUTAPID] } {
|
|
set _CPUTAPID $CPUTAPID
|
|
} else {
|
|
set _CPUTAPID 0x00000001
|
|
}
|
|
|
|
jtag newtap $_CHIPNAME cpu -irlen 5 -expected-id $_CPUTAPID
|
|
|
|
set _TARGETNAME $_CHIPNAME.cpu
|
|
target create $_TARGETNAME mips_m4k -endian big -chain-position $_TARGETNAME
|