stm32f4-nucleo-test/openocd/stlink.cfg

22 lines
419 B
INI
Raw Permalink Normal View History

2023-01-21 21:50:37 +02:00
# ST-Link v2 clone connected to Maple Mini board
source [find interface/stlink.cfg]
source [find target/stm32f4x.cfg]
reset_config combined
# Search for RTT string from start of RAM
rtt setup 0x20000000 8192 "SEGGER RTT"
rtt server start 9090 0
# $_TARGETNAME configure -event resume-end {
# #rtt start
# }
$_TARGETNAME configure -event gdb-start {
rtt start
}
$_TARGETNAME configure -event halted {
rtt stop
}