lora-car/openocd/stlink.cfg
2023-01-21 22:02:01 +02:00

22 lines
421 B
INI

# ST-Link v2 clone connected to Maple Mini board
source [find interface/stlink.cfg]
source [find target/stm32f1x.cfg]
#reset_config srst_only
# 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
}