#************************************************************************** # Copyright (c) 2023 Cypress Semiconductor Corporation (an Infineon company) or # an affiliate of Cypress Semiconductor Corporation. # SPDX-Licence-Identifier: Apache-2.0 #*************************************************************************** if {[info exists env(OPENOCD_INTERFACE)]} { set INTERFACE $env(OPENOCD_INTERFACE) } else { # By default connect over Debug USB port set INTERFACE "cmsis-dap" } source [find interface/$INTERFACE.cfg] transport select swd source [find target/psoc6.cfg]