aboutsummaryrefslogtreecommitdiff
path: root/tcl
diff options
context:
space:
mode:
authorAndrey Yurovsky <yurovsky@gmail.com>2015-06-10 09:53:27 -0700
committerSpencer Oliver <spen@spen-soft.co.uk>2015-08-06 13:15:19 +0100
commit33d220d10a069be34095313f51ae22052a079b34 (patch)
tree5923c789278869803ffbe848c7ed9b12d2e7fb91 /tcl
parent169db31ae06627a073c8179dc33d1bce1e88f4d6 (diff)
downloadriscv-openocd-33d220d10a069be34095313f51ae22052a079b34.zip
riscv-openocd-33d220d10a069be34095313f51ae22052a079b34.tar.gz
riscv-openocd-33d220d10a069be34095313f51ae22052a079b34.tar.bz2
at91samd: add chip IDs for SAMC20 and SAMC21 families
Add the chip IDs corresponding to the new 5V "SAMC" parts which are otherwise identical to the SAMD and should work with this driver. Also add the configurations for their Xplained Pro boards. Change-Id: Ic268d4ac384a3a77d4211a94da9f9faf4d8c0f7b Signed-off-by: Andrey Yurovsky <yurovsky@gmail.com> Reviewed-on: http://openocd.zylin.com/2809 Tested-by: jenkins Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
Diffstat (limited to 'tcl')
-rw-r--r--tcl/board/atmel_samc20_xplained_pro.cfg10
-rw-r--r--tcl/board/atmel_samc21_xplained_pro.cfg11
2 files changed, 21 insertions, 0 deletions
diff --git a/tcl/board/atmel_samc20_xplained_pro.cfg b/tcl/board/atmel_samc20_xplained_pro.cfg
new file mode 100644
index 0000000..1278eb7
--- /dev/null
+++ b/tcl/board/atmel_samc20_xplained_pro.cfg
@@ -0,0 +1,10 @@
+#
+# Atmel SAMC20 Xplained Pro evaluation kit.
+#
+
+source [find interface/cmsis-dap.cfg]
+
+# chip name
+set CHIPNAME at91samc20j18
+
+source [find target/at91samdXX.cfg]
diff --git a/tcl/board/atmel_samc21_xplained_pro.cfg b/tcl/board/atmel_samc21_xplained_pro.cfg
new file mode 100644
index 0000000..ac26930
--- /dev/null
+++ b/tcl/board/atmel_samc21_xplained_pro.cfg
@@ -0,0 +1,11 @@
+#
+# Atmel SAMC21 Xplained Pro evaluation kit.
+# http://www.atmel.com/tools/ATSAMC21-XPRO.aspx
+#
+
+source [find interface/cmsis-dap.cfg]
+
+# chip name
+set CHIPNAME at91samc21j18
+
+source [find target/at91samdXX.cfg]