20 lines
402 B
INI
20 lines
402 B
INI
source [find interface/stlink-dap.cfg]
|
|
|
|
transport select "dapdirect_swd"
|
|
|
|
set CHIPNAME STM32F429ZITx
|
|
set BOARDNAME STM32F429I-DISC1
|
|
|
|
source [find target/stm32f4x.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
|
|
}
|