projects
/
fw
/
openocd
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
tcl/target: swm050: fix to allow to use with ST-Link
[fw/openocd]
/
tcl
/
target
/
lpc2xxx.cfg
diff --git
a/tcl/target/lpc2xxx.cfg
b/tcl/target/lpc2xxx.cfg
index b946d44f8226109bdbbdb55cb384912529cf638c..11f1c48bc15d0add63d19dc524b0dcd300de12ef 100644
(file)
--- a/
tcl/target/lpc2xxx.cfg
+++ b/
tcl/target/lpc2xxx.cfg
@@
-24,6
+24,7
@@
proc setup_lpc2xxx {chip_name cputapids flash_size flash_variant workarea_size c
eval "jtag newtap $chip_name cpu -irlen 4 -ircapture 0x1 -irmask 0xf $expected_ids"
+ global _TARGETNAME
set _TARGETNAME $chip_name.cpu
target create $_TARGETNAME arm7tdmi -chain-position $_TARGETNAME