aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Dietzsch <peter.dietzsch@ib-dt.de>2013-04-15 17:17:08 +0200
committerPeter Stuge <peter@stuge.se>2013-04-15 16:56:49 +0000
commit460eb952d8e136a91a097e305e77a4a913f33fbe (patch)
treeb3f33c724318e067f55cf849e59e1b9534f3fa58
parent665ac60ef0289ebc520126872efac6bbdf831f61 (diff)
cfg: Added cfg script for at91sam4sd32x targets
Change-Id: I3b8a54d89a180bfded3dae3f1fe3d940540e6e7d Signed-off-by: Peter Dietzsch <peter.dietzsch@ib-dt.de> Reviewed-on: http://openocd.zylin.com/1333 Tested-by: jenkins Reviewed-by: Peter Stuge <peter@stuge.se>
-rw-r--r--tcl/target/at91sam4sd32x.cfg10
1 files changed, 10 insertions, 0 deletions
diff --git a/tcl/target/at91sam4sd32x.cfg b/tcl/target/at91sam4sd32x.cfg
new file mode 100644
index 00000000..4bc93cbf
--- /dev/null
+++ b/tcl/target/at91sam4sd32x.cfg
@@ -0,0 +1,10 @@
+# script for ATMEL sam4sd32, a CORTEX-M4 chip
+#
+
+
+source [find target/at91sam4XXX.cfg]
+
+set _FLASHNAME $_CHIPNAME.flash0
+flash bank $_FLASHNAME at91sam4 0x00400000 0 1 1 $_TARGETNAME
+set _FLASHNAME $_CHIPNAME.flash1
+flash bank $_FLASHNAME at91sam4 0x00500000 0 1 1 $_TARGETNAME