]> git.gag.com Git - fw/openocd/blobdiff - tcl/target/nds32v2.cfg
nds32: add new target type nds32_v2, nds32_v3, nds32_v3m
[fw/openocd] / tcl / target / nds32v2.cfg
diff --git a/tcl/target/nds32v2.cfg b/tcl/target/nds32v2.cfg
new file mode 100644 (file)
index 0000000..bbf6b3a
--- /dev/null
@@ -0,0 +1,10 @@
+#
+# Andes Core
+#
+# http://www.andestech.com
+#
+
+jtag newtap $_CHIPNAME cpu -expected-id $_CPUTAPID
+
+set _TARGETNAME $_CHIPNAME.cpu
+target create $_TARGETNAME nds32_v2 -endian little -chain-position $_TARGETNAME