This is an automated email from Gerrit.

Leonard Crestez (leonard.cres...@nxp.com) just uploaded a new patch set to 
Gerrit, which you can find at http://openocd.zylin.com/5416

-- gerrit

commit c4ec0ef6d8f656086047142cd7a1f54691643126
Author: Leonard Crestez <leonard.cres...@nxp.com>
Date:   Mon Jan 27 20:10:30 2020 +0200

    jtag: Fix jtag_reset fallback
    
    The fallback provided for the jtag_reset command always fails with a
    strange message: 'Error: invalid command name "de"'
    
    This is caused by incorrect quoting inside the warning message.
    
    Fixes: c07b774e8f49 ("jtag: replace command "jtag_reset" with "adapter 
[de]assert"")
    
    Change-Id: Icd47fca2b5a7b33474bfb0040e88193a0968f301
    Signed-off-by: Leonard Crestez <leonard.cres...@nxp.com>

diff --git a/src/jtag/startup.tcl b/src/jtag/startup.tcl
index 3551521..31999f8 100644
--- a/src/jtag/startup.tcl
+++ b/src/jtag/startup.tcl
@@ -135,7 +135,7 @@ proc jtag_nsrst_assert_width args {
 }
 
 proc jtag_reset args {
-       echo "DEPRECATED! use 'adapter [de]assert' not 'jtag_reset'"
+       echo "DEPRECATED! use 'adapter \[de\]assert' not 'jtag_reset'"
        switch $args {
                "0 0"
                        {eval adapter deassert trst deassert srst}

-- 


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

Reply via email to