2009-06-23 21:01:14 -05:00
|
|
|
# common stuff
|
2010-01-20 12:06:13 -06:00
|
|
|
source [find target/at91sam3uXX.cfg]
|
2009-06-23 21:01:14 -05:00
|
|
|
|
|
|
|
# size is automatically "calculated" by probing
|
2010-05-12 17:04:57 -05:00
|
|
|
set _FLASHNAME $_CHIPNAME.flash0
|
2009-11-18 04:15:52 -06:00
|
|
|
flash bank $_FLASHNAME at91sam3 0x000080000 0 1 1 $_TARGETNAME
|
2009-06-23 21:01:14 -05:00
|
|
|
# This is a 256K chip - it has the 2nd bank
|
2010-05-12 17:04:57 -05:00
|
|
|
set _FLASHNAME $_CHIPNAME.flash1
|
2009-11-18 04:15:52 -06:00
|
|
|
flash bank $_FLASHNAME at91sam3 0x000100000 0 1 1 $_TARGETNAME
|
2009-06-23 21:01:14 -05:00
|
|
|
|
|
|
|
|