From f3890677a822e9b869bb329dc1211259cfd4a2f8 Mon Sep 17 00:00:00 2001 From: Martino Facchin Date: Tue, 20 Oct 2015 12:45:09 +0200 Subject: [PATCH] add config for Arduino Zero board --- tcl/board/arduino_zero.cfg | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 tcl/board/arduino_zero.cfg diff --git a/tcl/board/arduino_zero.cfg b/tcl/board/arduino_zero.cfg new file mode 100644 index 000000000..36c65c32d --- /dev/null +++ b/tcl/board/arduino_zero.cfg @@ -0,0 +1,30 @@ +# +# Arduino Zero OpenOCD script. +# +# Copyright (c) 2014-2015 Arduino LLC. All right reserved. +# +# This library is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation; either +# version 2.1 of the License, or (at your option) any later version. +# +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +# See the GNU Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the Free Software +# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA +# + +source [find interface/cmsis-dap.cfg] + +# chip name +set CHIPNAME at91samd21g18 +set ENDIAN little + +# choose a port here +set telnet_port 0 + +source [find target/at91samdXX.cfg]