1#**************************************************************************
2# Copyright (c) 2023 Cypress Semiconductor Corporation (an Infineon company) or
3# an affiliate of Cypress Semiconductor Corporation.
4# SPDX-Licence-Identifier: Apache-2.0
5#***************************************************************************
6
7if {[info exists env(OPENOCD_INTERFACE)]} {
8        set INTERFACE $env(OPENOCD_INTERFACE)
9} else {
10        # By default connect over Debug USB port
11        set INTERFACE "cmsis-dap"
12}
13
14source [find interface/$INTERFACE.cfg]
15
16transport select swd
17
18source [find target/psoc6.cfg]
19