Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
boards: cc3220sf_launchxl: Use SDK OpenOCD
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
Showing
2 changed files
with
7 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -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) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -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 |