update 'flash bank' usage in scripts
Sets $_FLASHNAME to "$_CHIPNAME.flash" and passes it as the first argument to 'flash bank'.
This commit is contained in:
@@ -22,7 +22,8 @@ target create $_TARGETNAME avr -endian $_ENDIAN -chain-position $_TARGETNAME
|
||||
|
||||
#$_TARGETNAME configure -work-area-phys 0x20000000 -work-area-size 16384 -work-area-backup 0
|
||||
|
||||
flash bank avr 0 0 0 0 0
|
||||
set _FLASHNAME $_CHIPNAME.flash
|
||||
flash bank $_FLASHNAME avr 0 0 0 0 0
|
||||
|
||||
#to use it, script will be like:
|
||||
#init
|
||||
|
||||
Reference in New Issue
Block a user