File tree Expand file tree Collapse file tree 3 files changed +14
-2
lines changed Expand file tree Collapse file tree 3 files changed +14
-2
lines changed Original file line number Diff line number Diff line change
1
+ include (${ZEPHYR_BASE} /boards/common/openocd.board.cmake )
Original file line number Diff line number Diff line change @@ -148,8 +148,7 @@ Programming and Debugging
148
148
*************************
149
149
150
150
Nucleo F412ZG board includes an ST-LINK/V2-1 embedded debug tool interface.
151
- However this interface is currently not supported by OpenOCD. You will need
152
- to use ST tools or an external JTAG probe.
151
+ This interface is supported by the openocd version included in Zephyr SDK.
153
152
154
153
155
154
.. _Nucleo F412ZG website :
Original file line number Diff line number Diff line change
1
+ source [find board/st_nucleo_f4.cfg]
2
+
3
+ $_TARGETNAME configure -event gdb-attach {
4
+ echo " Debugger attaching: halting execution"
5
+ reset halt
6
+ gdb_breakpoint_override hard
7
+ }
8
+
9
+ $_TARGETNAME configure -event gdb-detach {
10
+ echo " Debugger detaching: resuming execution"
11
+ resume
12
+ }
You can’t perform that action at this time.
0 commit comments