]> git.sur5r.net Git - openocd/commitdiff
tcl/target: Add config for XMOS XS1-XAU8A-10's ARM core
authorAndreas Färber <afaerber@suse.de>
Sun, 10 May 2015 12:45:32 +0000 (14:45 +0200)
committerFreddie Chopin <freddie.chopin@gmail.com>
Fri, 30 Oct 2015 12:39:42 +0000 (12:39 +0000)
The XS1-XAU8A-10 has 8 xCORE cores and one ARM core.
This config represents the ARM Cortex-M3 core, which is apparently
Silicon Labs EFM32 Giant Gecko IP.

Change-Id: I998360f096c759d2e274d96c1ca2e0450ba61146
Signed-off-by: Andreas Färber <afaerber@suse.de>
Reviewed-on: http://openocd.zylin.com/2762
Tested-by: jenkins
Reviewed-by: Oleksij Rempel
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
Reviewed-by: Paul Fertser <fercerpav@gmail.com>
tcl/target/xmos_xs1-xau8a-10_arm.cfg [new file with mode: 0644]

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]