This is an automated email from Gerrit.

Alberto García Hierro ([email protected]) just uploaded a new patch set 
to Gerrit, which you can find at http://openocd.zylin.com/5880

-- gerrit

commit 12c53ee8a5dce24f8db625b31c8d9cc59268f73e
Author: Alberto García Hierro <[email protected]>
Date:   Sat Oct 24 20:21:37 2020 +0100

    stm32h7x: Add missing else in stm32h7x_dbgmcu_mmw
    
    Change-Id: I33aa17786f17e76f440572047e4027670216bad6
    Signed-off-by: Alberto García Hierro <[email protected]>

diff --git a/tcl/target/stm32h7x.cfg b/tcl/target/stm32h7x.cfg
index 43a8b02..e1d3375 100644
--- a/tcl/target/stm32h7x.cfg
+++ b/tcl/target/stm32h7x.cfg
@@ -216,7 +216,7 @@ proc stm32h7x_dbgmcu_mmw {reg_offset setbits clearbits} {
                set _CHIPNAME [regsub ".(cpu|ap)\\d*$" [target current] ""]
                set used_target $_CHIPNAME.ap2
                set reg_addr [expr 0xE00E1000 + $reg_offset]
-       } {
+       } else {
                set used_target [target current]
                set reg_addr [expr 0x5C001000 + $reg_offset]
        }

-- 


_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to