mirror of
https://github.com/zephyrproject-rtos/zephyr.git
synced 2024-12-04 10:18:24 +08:00
13379dc0cc
the current zephyr sdk now includes openocd configurations for l4 boards, we can now update the boards and docs to reflect this Signed-off-by: Arthur SFEZ <arthur.sfez@gmail.com>
13 lines
276 B
INI
13 lines
276 B
INI
source [find board/stm32l4discovery.cfg]
|
|
|
|
$_TARGETNAME configure -event gdb-attach {
|
|
echo "Debugger attaching: halting execution"
|
|
reset halt
|
|
gdb_breakpoint_override hard
|
|
}
|
|
|
|
$_TARGETNAME configure -event gdb-detach {
|
|
echo "Debugger detaching: resuming execution"
|
|
resume
|
|
}
|