#source [find interface/stlink-v2-1.cfg] #source [find interface/cmsis-dap.cfg] source [find interface/jlink.cfg] transport select swd source [find target/stm32f4x.cfg] # use hardware reset, connect under reset reset_config srst_only srst_nogate #$_TARGETNAME configure -rtos FreeRTOS $_TARGETNAME configure -event gdb-attach { halt } $_TARGETNAME configure -event gdb-attach { reset init }