cfg: change default stellaris working area
This sets the default stellaris working area to 2k rather than the current 8k. 2K is the smallest RAM size in the stellaris family. Change-Id: I1407f758eb0926cc094b824a6d25199b313c45de Signed-off-by: Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on: http://openocd.zylin.com/458 Tested-by: jenkins
This commit is contained in:
parent
ddb2bb28fa
commit
fd39a5e8ad
|
@ -13,5 +13,6 @@
|
||||||
source [find interface/luminary.cfg]
|
source [find interface/luminary.cfg]
|
||||||
|
|
||||||
# include the target config
|
# include the target config
|
||||||
|
set WORKAREASIZE 0x2000
|
||||||
set CHIPNAME lm3s1968
|
set CHIPNAME lm3s1968
|
||||||
source [find target/stellaris.cfg]
|
source [find target/stellaris.cfg]
|
||||||
|
|
|
@ -8,5 +8,6 @@
|
||||||
source [find interface/luminary-lm3s811.cfg]
|
source [find interface/luminary-lm3s811.cfg]
|
||||||
|
|
||||||
# include the target config
|
# include the target config
|
||||||
|
set WORKAREASIZE 0x2000
|
||||||
set CHIPNAME lm3s811
|
set CHIPNAME lm3s811
|
||||||
source [find target/stellaris.cfg]
|
source [find target/stellaris.cfg]
|
||||||
|
|
|
@ -9,5 +9,6 @@
|
||||||
source [find interface/luminary.cfg]
|
source [find interface/luminary.cfg]
|
||||||
|
|
||||||
# include the target config
|
# include the target config
|
||||||
|
set WORKAREASIZE 0x2000
|
||||||
set CHIPNAME lm3s811
|
set CHIPNAME lm3s811
|
||||||
source [find target/stellaris.cfg]
|
source [find target/stellaris.cfg]
|
||||||
|
|
|
@ -47,8 +47,8 @@ swj_newdap $_CHIPNAME cpu -irlen 4 -irmask 0xf \
|
||||||
if { [info exists WORKAREASIZE] } {
|
if { [info exists WORKAREASIZE] } {
|
||||||
set _WORKAREASIZE $WORKAREASIZE
|
set _WORKAREASIZE $WORKAREASIZE
|
||||||
} else {
|
} else {
|
||||||
# default to 8K working area
|
# default to 2K working area
|
||||||
set _WORKAREASIZE 0x2000
|
set _WORKAREASIZE 0x800
|
||||||
}
|
}
|
||||||
|
|
||||||
set _TARGETNAME $_CHIPNAME.cpu
|
set _TARGETNAME $_CHIPNAME.cpu
|
||||||
|
|
Loading…
Reference in New Issue