2019-04-06 21:08:09 +08:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
2021-10-15 10:33:55 +08:00
|
|
|
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)
|
2021-09-06 03:21:06 +08:00
|
|
|
|
2018-01-11 22:46:44 +08:00
|
|
|
include(${ZEPHYR_BASE}/boards/common/esp32.board.cmake)
|
2021-09-06 03:21:06 +08:00
|
|
|
include(${ZEPHYR_BASE}/boards/common/openocd.board.cmake)
|