You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
9 lines
355 B
9 lines
355 B
# SPDX-License-Identifier: Apache-2.0 |
|
|
|
if(NOT "${OPENOCD}" MATCHES "^${ESPRESSIF_TOOLCHAIN_PATH}/.*") |
|
set(OPENOCD OPENOCD-NOTFOUND) |
|
endif() |
|
find_program(OPENOCD openocd PATHS ${ESPRESSIF_TOOLCHAIN_PATH}/openocd-esp32/bin NO_DEFAULT_PATH) |
|
|
|
include(${ZEPHYR_BASE}/boards/common/esp32.board.cmake) |
|
include(${ZEPHYR_BASE}/boards/common/openocd.board.cmake)
|
|
|