1if {[info exists env(OPENOCD_INTERFACE)]} {
2        set INTERFACE $env(OPENOCD_INTERFACE)
3} else {
4        # By default connect over Debug USB port
5        set INTERFACE "cmsis-dap"
6}
7
8source [find interface/$INTERFACE.cfg]
9
10transport select swd
11
12source [find target/psoc6_2m.cfg]
13