This is an automated email from Gerrit.

Jiri Kastner ([email protected]) just uploaded a new patch set to Gerrit, 
which you can find at http://openocd.zylin.com/3370

-- gerrit

commit 57476e77018ca0c00e88c3b2f67a790ecd782fb5
Author: Jiri Kastner <[email protected]>
Date:   Mon Feb 29 23:04:09 2016 +0100

    ek-tm4c1294xl: external debugger
    
    ek-tm4c1294xl allows to use external debugger through U6,
    when power is switched using JP1 to OTG.
    
    to use internal ti-icdi, use it as before.
    
    with external debugger:
    openocd -c "set INTERFACE interface/ftdi/flyswatter2.cfg; set TRANSPORT 
jtag" -f board/ek-tm4c1294xl.cfg
    
    Change-Id: I4a0ccd3042ec94ba89c65dc5efdcaf0c6fe9e338
    Signed-off-by: Jiri Kastner <[email protected]>

diff --git a/tcl/board/ek-tm4c1294xl.cfg b/tcl/board/ek-tm4c1294xl.cfg
index b3f384c..c0e6651 100644
--- a/tcl/board/ek-tm4c1294xl.cfg
+++ b/tcl/board/ek-tm4c1294xl.cfg
@@ -4,9 +4,18 @@
 # http://www.ti.com/tool/ek-tm4c1294xl
 #
 
-source [find interface/ti-icdi.cfg]
+if { [info exists INTERFACE] } {
+   source [find $INTERFACE]  
+} else {
+   source [find interface/ti-icdi.cfg]
+}
+
+if { [info exists TRANSPORT] } {
+   transport select $TRANSPORT
+} else {
+   transport select hla_jtag
+}
 
-transport select hla_jtag
 
 set WORKAREASIZE 0x8000
 set CHIPNAME tm4c1294ncpdt

-- 

------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to