This is an automated email from Gerrit.

Antonio Borneo (borneo.anto...@gmail.com) just uploaded a new patch set to 
Gerrit, which you can find at http://openocd.zylin.com/5887

-- gerrit

commit c4cb0c5989d1ecf0f843d11b979dd7be3845834e
Author: Antonio Borneo <borneo.anto...@gmail.com>
Date:   Mon Oct 26 17:54:55 2020 +0100

    tcl/board: drop 'tcl' prefix in 'find' command
    
    When OpenOCD is installed to the host the 'tcl' folder gets
    usually installed in /usr/share/openocd/, thus having 'tcl' as
    prefix of the target's file causes 'find' to fail.
    
    Remove the 'tcl' folder prefix.
    
    Change-Id: I3dc484c8de6af8f5aae4dd1b230522ee47ae2ba6
    Signed-off-by: Antonio Borneo <borneo.anto...@gmail.com>

diff --git a/tcl/board/tocoding_poplar.cfg b/tcl/board/tocoding_poplar.cfg
index d0951ce..6d2e635 100644
--- a/tcl/board/tocoding_poplar.cfg
+++ b/tcl/board/tocoding_poplar.cfg
@@ -10,7 +10,7 @@ adapter speed 10000
 # SRST-only reset configuration
 reset_config srst_only srst_push_pull
 
-source [find tcl/target/hi3798.cfg]
+source [find target/hi3798.cfg]
 
 # make sure the default target is the boot core
 targets ${_TARGETNAME}0
diff --git a/tcl/board/tx25_stk5.cfg b/tcl/board/tx25_stk5.cfg
index 846bf58..9d77afd 100644
--- a/tcl/board/tx25_stk5.cfg
+++ b/tcl/board/tx25_stk5.cfg
@@ -4,7 +4,7 @@
 # -------------------------------------------------------------------------
 
 
-source [find tcl/target/imx25.cfg]
+source [find target/imx25.cfg]
 
        
#-------------------------------------------------------------------------
        # Declare Nand

-- 


_______________________________________________
OpenOCD-devel mailing list
OpenOCD-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to