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:
@@ -25,4 +25,5 @@ target create $_TARGETNAME cortex_m3 -chain-position $_CHIPNAME.cpu -variant lm3
|
||||
$_TARGETNAME configure -work-area-phys 0x20000000 -work-area-size 0x2000
|
||||
|
||||
#flash configuration
|
||||
flash bank stellaris 0 0 0 0 $_TARGETNAME
|
||||
set _FLASHNAME $_CHIPNAME.flash
|
||||
flash bank $_FLASHNAME stellaris 0 0 0 0 $_TARGETNAME
|
||||
|
||||
Reference in New Issue
Block a user