File tree Expand file tree Collapse file tree 2 files changed +19
-0
lines changed
boards/arm/adafruit_feather_stm32f405 Expand file tree Collapse file tree 2 files changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -5,3 +5,4 @@ board_runner_args(jlink "--device=STM32F405RG" "--speed=4000")
55
66include (${ZEPHYR_BASE} /boards/common/dfu-util.board.cmake)
77include (${ZEPHYR_BASE} /boards/common/jlink.board.cmake)
8+ include (${ZEPHYR_BASE} /boards/common/openocd.board.cmake)
Original file line number Diff line number Diff line change 1+ source [find interface/stlink.cfg]
2+
3+ transport select hla_swd
4+
5+ source [find target/stm32f4x.cfg]
6+
7+ reset_config srst_only
8+
9+ $_TARGETNAME configure -event gdb-attach {
10+ echo " Debugger attaching: halting execution"
11+ reset halt
12+ gdb_breakpoint_override hard
13+ }
14+
15+ $_TARGETNAME configure -event gdb-detach {
16+ echo " Debugger detaching: resuming execution"
17+ resume
18+ }
You can’t perform that action at this time.
0 commit comments