2022-06-12 16:42:27 -05:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
|
2012-03-06 14:43:25 -06:00
|
|
|
# common stuff
|
|
|
|
source [find target/at91sam3ax_xx.cfg]
|
|
|
|
|
|
|
|
# size is automatically "calculated" by probing
|
|
|
|
set _FLASHNAME $_CHIPNAME.flash0
|
|
|
|
flash bank $_FLASHNAME at91sam3 0x000080000 0 1 1 $_TARGETNAME
|
|
|
|
# This is a 256K chip - it has the 2nd bank
|
|
|
|
set _FLASHNAME $_CHIPNAME.flash1
|
|
|
|
flash bank $_FLASHNAME at91sam3 0x0000A0000 0 1 1 $_TARGETNAME
|