zephyr/boards/arm/cy8ckit_062_wifi_bt_m4/support/openocd.cfg
Kumar Gala 6b3531b783 boards: cy8ckit_062_wifi_bt_m{0,4}: Add OpenOCD support for flashing
The 0.9.5 SDK has support for the Cypress PSoC6 family.  Add ablilty to
flash with openocd.  I've only tested flashing hello_world on the m0.

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2018-12-12 20:29:38 -06:00

18 lines
358 B
INI

#
# Copyright (c) 2018 Linaro Limited.
#
# SPDX-License-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]