1#
2# Copyright (c) 2018 Linaro Limited.
3#
4# SPDX-License-Identifier: Apache-2.0
5
6if {[info exists env(OPENOCD_INTERFACE)]} {
7        set INTERFACE $env(OPENOCD_INTERFACE)
8} else {
9        # By default connect over Debug USB port
10        set INTERFACE "cmsis-dap"
11}
12
13source [find interface/$INTERFACE.cfg]
14
15transport select swd
16
17source [find target/psoc6.cfg]
18