|
From: openocd-gerrit <ope...@us...> - 2026-03-05 21:31:48
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Main OpenOCD repository".
The branch, master has been updated
via 5b3db97c42b62e4c2559f3384120626b28401b4e (commit)
from 84f88140031b09b7fc88e077fb640276d55402ed (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 5b3db97c42b62e4c2559f3384120626b28401b4e
Author: Tomas Vanek <va...@fb...>
Date: Sun Mar 1 17:41:12 2026 +0100
tcl/target/nordic/nrf53: fix empty event handler
reset-assert of network CPU should be handled by empty dummy handler
to prevent the Cortex-M target native processing. Unfortunately configuring
the empty string does not define a new handler, it drops the existing one.
Use semicolon to fix configuration and to make the emtpy handler
clearly visible.
Fixes: commit 17be341d38bd ("tcl/target: add nRF53 and nRF91 config files")
Reported-by: Lawrence King <law...@gm...>
Change-Id: I3bd229a78860ed05d694e708ab62cb1670a77010
Signed-off-by: Tomas Vanek <va...@fb...>
Reviewed-on: https://review.openocd.org/c/openocd/+/9492
Tested-by: jenkins
Reviewed-by: Lawrence King <law...@gm...>
diff --git a/tcl/target/nordic/nrf53.cfg b/tcl/target/nordic/nrf53.cfg
index ce2eaf045..137897c57 100644
--- a/tcl/target/nordic/nrf53.cfg
+++ b/tcl/target/nordic/nrf53.cfg
@@ -72,9 +72,11 @@ if { ![using_hla] } {
flash bank $_CHIPNAME.net.uicr nrf5 0x01FF8000 0 0 0 $_TARGETNAME_NET
# System reset sets NETWORK.FORCEOFF which keeps the network core in reset
- # Don't touch network core during reset
- $_TARGETNAME_NET configure -event reset-assert {}
- # and start it after application core reset is finished to make all flash accessible
+ # Don't touch network core during reset - the event handler is
+ # intentionally empty and prevents native processing
+ $_TARGETNAME_NET configure -event reset-assert {;}
+ # and start it after application core reset is finished to make
+ # all flash accessible
$_TARGETNAME_APP configure -event reset-init "nrf53_cpunet_release $_CHIPNAME"
$_TARGETNAME_APP cortex_m reset_config sysresetreq
-----------------------------------------------------------------------
Summary of changes:
tcl/target/nordic/nrf53.cfg | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
hooks/post-receive
--
Main OpenOCD repository
|