cfg: add support for STM3220G-EVAL onboard STLINK
[fw/openocd] / tcl / board / ek-lm3s811.cfg
index 5825c23dc3f3ebc7c052f793b3c01c813773e7fe..db7324a72130172663180beba73712e24e6faba7 100644 (file)
@@ -3,16 +3,12 @@
 #
 # http://www.luminarymicro.com/products/stellaris_811_evaluation_kits.html
 
-# include the FT2232 interface config for on-board JTAG interface
+# NOTE:  using the on-board FT2232 JTAG/SWD/SWO interface is optional!
+# so is using it in JTAG mode, as done here.
+# NOTE:  older '811-EK boards (before rev C) shouldn't use this.
 source [find interface/luminary.cfg]
 
 # include the target config
-source [find target/lm3s811.cfg]
-
-# jtag speed
-jtag_khz 500
-
-jtag_nsrst_delay 100
-
-#LM3S811 Evaluation Board has only srst
-reset_config srst_only
+set WORKAREASIZE 0x2000
+set CHIPNAME lm3s811
+source [find target/stellaris.cfg]