tcl/target: Add config for XMOS XS1-XAU8A-10's ARM core
[fw/openocd] / tcl / target / xmos_xs1-xau8a-10_arm.cfg
diff --git a/tcl/target/xmos_xs1-xau8a-10_arm.cfg b/tcl/target/xmos_xs1-xau8a-10_arm.cfg
new file mode 100644 (file)
index 0000000..3fc197a
--- /dev/null
@@ -0,0 +1,16 @@
+#
+# XMOS xCORE-XA XS1-XAU8A-10: ARM Cortex-M3 @ 48 MHz
+#
+# http://www.xmos.com/products/silicon/xcore-xa/xa-series
+#
+
+if { ![info exists CHIPNAME] } {
+       set CHIPNAME xcorexa
+}
+
+if { ![info exists WORKAREASIZE] } {
+       # XS1-XAU8A-10-FB265: 128 KB SRAM
+       set WORKAREASIZE 0x20000
+}
+
+source [find target/efm32.cfg]