aboutsummaryrefslogtreecommitdiff
path: root/tcl/target/lpc4350.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'tcl/target/lpc4350.cfg')
-rw-r--r--tcl/target/lpc4350.cfg9
1 files changed, 9 insertions, 0 deletions
diff --git a/tcl/target/lpc4350.cfg b/tcl/target/lpc4350.cfg
index fae54f77..4e23ffb0 100644
--- a/tcl/target/lpc4350.cfg
+++ b/tcl/target/lpc4350.cfg
@@ -51,6 +51,15 @@ if { [using_jtag] } {
target create $_CHIPNAME.m0 cortex_m -chain-position $_CHIPNAME.m0
}
+# LPC4350 has 96+32 KB SRAM
+if { [info exists WORKAREASIZE] } {
+ set _WORKAREASIZE $WORKAREASIZE
+} else {
+ set _WORKAREASIZE 0x20000
+}
+$_CHIPNAME.m4 configure -work-area-phys 0x10000000 \
+ -work-area-size $_WORKAREASIZE -work-area-backup 0
+
if {![using_hla]} {
# on this CPU we should use VECTRESET to perform a soft reset and
# manually reset the periphery