2022-06-12 16:42:27 -05:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
|
2016-05-14 13:21:49 -05:00
|
|
|
# script for ATMEL sam4sd32, a Cortex-M4 chip
|
2013-04-15 10:17:08 -05:00
|
|
|
#
|
|
|
|
|
|
|
|
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
|