source [find interface/stlink-v2.cfg]
set WORKAREASIZE 0x4000
source [find target/stm32f4x.cfg]

source openocd.common.cfg
optional_local "openocd.stm32f4disco.local.cfg"

tpiu config internal swodump.stm32f4disco.log uart off 168000000

# Uncomment to reset on connect, for grabbing under WFI et al
reset_config srst_only srst_nogate
# reset_config srst_only srst_nogate connect_assert_srst