Skip to content

Commit

Permalink
boards: cc3220sf_launchxl: Use SDK OpenOCD
Browse files Browse the repository at this point in the history
The zephyr SDK 0.10.1 works well for the CC3220 so lets use it.

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
  • Loading branch information
galak committed Jul 24, 2019
1 parent d4e580c commit 0bed1e9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 14 deletions.
5 changes: 0 additions & 5 deletions boards/arm/cc3220sf_launchxl/board.cmake
@@ -1,8 +1,3 @@
# SPDX-License-Identifier: Apache-2.0 # SPDX-License-Identifier: Apache-2.0


# Use the TI OpenOCD (by default in /usr/local/openocd)
# See the Zephyr project CC3220SF_LAUNCHXL documentation on
# flashing prerequisites.
set(OPENOCD "/usr/local/bin/openocd" CACHE FILEPATH "" FORCE)
set(OPENOCD_DEFAULT_PATH ${OPENOCD}/scripts)
include(${ZEPHYR_BASE}/boards/common/openocd.board.cmake) include(${ZEPHYR_BASE}/boards/common/openocd.board.cmake)
16 changes: 7 additions & 9 deletions boards/arm/cc3220sf_launchxl/support/openocd.cfg
@@ -1,10 +1,8 @@
# #
# TI CC3220SF-LaunchXL Evaluation Kit # TI CC3220SF-LaunchXL LaunchPad Evaluation Kit
# #
source [find interface/xds110.cfg] # Copyright (c) 2019 Linaro Ltd.
transport select swd #
source [find target/ti_cc3220sf.cfg] # SPDX-License-Identifier: Apache-2.0
if { ![using_hla] } { #
cortex_m reset_config srst_only source [find board/ti_cc3220sf_launchpad.cfg]
}
adapter_khz 2500

0 comments on commit 0bed1e9

Please sign in to comment.