2
0
mirror of git://git.code.sf.net/p/openocd/code synced 2025-07-21 20:47:14 +10:00
openocd/tcl/target/fm4_s6e2cc.cfg
Andreas Färber 2acf970ab9 fm4: Split out S6E2CC family config
Its memory layout is different from MB9BFxxx.

Change-Id: I39c9f9cf582cd182971a9f83bb88c7a18da6cf15
Signed-off-by: Andreas Färber <afaerber@suse.de>
Reviewed-on: http://openocd.zylin.com/3007
Tested-by: jenkins
Reviewed-by: Freddie Chopin <freddie.chopin@gmail.com>
2015-10-30 12:51:37 +00:00

16 lines
364 B
INI

#
# Spansion FM4 S6E2CC (ARM Cortex-M4)
#
source [find target/fm4.cfg]
# S6E2CC8 H/J/L have 96 KB SRAM0
if { [info exists WORKAREASIZE] } {
set _WORKAREASIZE $WORKAREASIZE
} else {
set _WORKAREASIZE 0x18000
}
$_TARGETNAME configure -work-area-phys [expr 0x20000000 - $_WORKAREASIZE] \
-work-area-size $_WORKAREASIZE -work-area-backup 0