aboutsummaryrefslogtreecommitdiff
path: root/tcl
diff options
context:
space:
mode:
authorMorgan Quigley <morgan@osrfoundation.org>2015-09-06 11:31:09 -0700
committerSpencer Oliver <spen@spen-soft.co.uk>2015-11-10 20:27:09 +0000
commit42c24acebd23d758c543c9bf2c2b97bdbd083c35 (patch)
tree30dccab39bf298080a5de74fc973b22eae02e494 /tcl
parentd85207c8e536bcf1e2a6f9396f3813f4ee3a867a (diff)
downloadriscv-openocd-42c24acebd23d758c543c9bf2c2b97bdbd083c35.zip
riscv-openocd-42c24acebd23d758c543c9bf2c2b97bdbd083c35.tar.gz
riscv-openocd-42c24acebd23d758c543c9bf2c2b97bdbd083c35.tar.bz2
flash: driver for Atmel SAMV, SAMS, and SAME
This is a driver for the Atmel Cortex-M7 SAMV, SAMS, and SAME. I started with the at91sam4.c driver and then restructured it significantly to try to simplify it and limit the functionality to just a flash driver, as well as to comply with the style guide. Change-Id: I5340bf61f067265b8ebabd3adad45be45324b707 Signed-off-by: Morgan Quigley <morgan@osrfoundation.org> Reviewed-on: http://openocd.zylin.com/2952 Tested-by: jenkins Reviewed-by: Tomas Vanek <vanekt@fbl.cz>
Diffstat (limited to 'tcl')
-rw-r--r--tcl/target/atsamv.cfg3
1 files changed, 3 insertions, 0 deletions
diff --git a/tcl/target/atsamv.cfg b/tcl/target/atsamv.cfg
index 4587fc1..b6c4842 100644
--- a/tcl/target/atsamv.cfg
+++ b/tcl/target/atsamv.cfg
@@ -46,3 +46,6 @@ if {![using_hla]} {
cortex_m reset_config sysresetreq
}
+set _FLASHNAME $_CHIPNAME.flash
+flash bank $_FLASHNAME atsamv 0x00400000 0 0 0 $_TARGETNAME
+