Skip to content

Commit 3465343

Browse files
aethanielfbraghiroli
authored andcommitted
[sme] Adding openocd flash scripts
1 parent 0350408 commit 3465343

File tree

2 files changed

+62
-0
lines changed

2 files changed

+62
-0
lines changed
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
#
2+
# SmartEverything OpenOCD script for use with Atmel-ICE.
3+
#
4+
# Copyright (c) 2014-2015 Arduino LLC. All right reserved.
5+
# Copyright (c) 2015 Amel-Tech (a division of Amel Srl). All right reserved.
6+
#
7+
# This library is free software; you can redistribute it and/or
8+
# modify it under the terms of the GNU Lesser General Public
9+
# License as published by the Free Software Foundation; either
10+
# version 2.1 of the License, or (at your option) any later version.
11+
#
12+
# This library is distributed in the hope that it will be useful,
13+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
14+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
15+
# See the GNU Lesser General Public License for more details.
16+
#
17+
# You should have received a copy of the GNU Lesser General Public
18+
# License along with this library; if not, write to the Free Software
19+
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
20+
#
21+
22+
source [find interface/cmsis-dap.cfg]
23+
24+
# chip name
25+
set CHIPNAME at91samd21j18
26+
set ENDIAN little
27+
28+
# choose a port here
29+
set telnet_port 0
30+
31+
source [find target/at91samdXX.cfg]
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
#
2+
# SmartEverything OpenOCD script.
3+
#
4+
# Copyright (c) 2014-2015 Arduino LLC. All right reserved.
5+
# Copyright (c) 2015 Amel-Tech (a division of Amel Srl). All right reserved.
6+
#
7+
# This library is free software; you can redistribute it and/or
8+
# modify it under the terms of the GNU Lesser General Public
9+
# License as published by the Free Software Foundation; either
10+
# version 2.1 of the License, or (at your option) any later version.
11+
#
12+
# This library is distributed in the hope that it will be useful,
13+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
14+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
15+
# See the GNU Lesser General Public License for more details.
16+
#
17+
# You should have received a copy of the GNU Lesser General Public
18+
# License along with this library; if not, write to the Free Software
19+
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
20+
#
21+
22+
source [find interface/jlink.cfg]
23+
24+
# chip name
25+
set CHIPNAME at91samd21j18
26+
set ENDIAN little
27+
28+
# choose a port here
29+
set telnet_port 0
30+
31+
source [find target/at91samdXX.cfg]

0 commit comments

Comments
 (0)