diff options
author | Spencer Oliver <ntfreak@users.sourceforge.net> | 2010-08-24 20:50:20 +0100 |
---|---|---|
committer | Spencer Oliver <ntfreak@users.sourceforge.net> | 2010-08-31 20:09:24 +0100 |
commit | 31b47688ca5015bc91fb3480135a9e4efd53586a (patch) | |
tree | 420b390d7cb983fdb3fc93ecbd978bfa8ad9a4ff /tcl/target/stellaris.cfg | |
parent | 6f841988417bdf64490604bee4f3c6d26a93a80b (diff) |
cfg: update Luminary config files
- Update all Luminary config's to use a common target/stellaris.cfg.
- Add Luminary ek-lm3s6965 config.
- Increase working area for boards with more ram.
Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
Diffstat (limited to 'tcl/target/stellaris.cfg')
-rw-r--r-- | tcl/target/stellaris.cfg | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/tcl/target/stellaris.cfg b/tcl/target/stellaris.cfg index 5f4428f5..4235f910 100644 --- a/tcl/target/stellaris.cfg +++ b/tcl/target/stellaris.cfg @@ -18,6 +18,12 @@ if { [info exists CPUTAPID ] } { set _CPUTAPID 0x0ba00477 } +if { [info exists WORKAREASIZE ] } { + set _WORKAREASIZE $WORKAREASIZE +} else { + set _WORKAREASIZE 0x2000 +} + jtag newtap $_CHIPNAME cpu -irlen 4 -irmask 0xf \ -expected-id $_CPUTAPID -ignore-version @@ -33,7 +39,7 @@ target create $_TARGETNAME cortex_m3 -chain-position $_CHIPNAME.cpu \ # NOTE: you may need or want to reconfigure the work area; # some parts have just 6K, and you may want to use other # addresses (at end of mem not beginning) or back it up. -$_TARGETNAME configure -work-area-phys 0x20000000 -work-area-size 0x2000 +$_TARGETNAME configure -work-area-phys 0x20000000 -work-area-size $_WORKAREASIZE # JTAG speed ... slow enough to work with a 12 MHz RC oscillator; # LM3S parts don't support RTCK |