usbtest/openocd/stlink.cfg

22 lines
419 B
INI
Raw Normal View History

2021-09-30 16:33:59 +03:00
# ST-Link v2 clone connected to Maple Mini board
source [find interface/stlink.cfg]
source [find target/stm32f1x.cfg]
2021-10-01 18:48:38 +03:00
reset_config combined
2021-09-30 16:33:59 +03:00
# 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
}