1# TODO: Once official openOCD fix merged and available in zephyr: 2# http://openocd.zylin.com/#/c/5829/ 3# revert to board/st_nucleo_l1.cfg 4# source [find board/st_nucleo_l1.cfg] 5 6source [find interface/stlink.cfg] 7 8transport select hla_swd 9 10source [find target/stm32l1x_dual_bank.cfg] 11 12reset_config srst_only 13 14$_TARGETNAME configure -event gdb-attach { 15 echo "Debugger attaching: halting execution" 16 reset halt 17 gdb_breakpoint_override hard 18} 19 20$_TARGETNAME configure -event gdb-detach { 21 echo "Debugger detaching: resuming execution" 22 resume 23} 24