You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

12 lines
338 B

  1. # common stuff
  2. source [find target/at91sam3uxx.cfg]
  3. # size is automatically "calculated" by probing
  4. set _FLASHNAME $_CHIPNAME.flash0
  5. flash bank $_FLASHNAME at91sam3 0x000080000 0 1 1 $_TARGETNAME
  6. # This is a 256K chip, it has the 2nd bank
  7. set _FLASHNAME $_CHIPNAME.flash1
  8. flash bank $_FLASHNAME at91sam3 0x000100000 0 1 1 $_TARGETNAME