6b3531b783
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>
18 lines
358 B
INI
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]
|