Martin Kiepfer | 38ed830 | 2023-12-31 16:16:46 +0100 | [diff] [blame] | 1 | # SPDX-License-Identifier: Apache-2.0 |
2 | |||||
3 | if(NOT "${OPENOCD}" MATCHES "^${ESPRESSIF_TOOLCHAIN_PATH}/.*") | ||||
4 | set(OPENOCD OPENOCD-NOTFOUND) | ||||
5 | endif() | ||||
6 | find_program(OPENOCD openocd PATHS ${ESPRESSIF_TOOLCHAIN_PATH}/openocd-esp32/bin NO_DEFAULT_PATH) | ||||
7 | |||||
8 | include(${ZEPHYR_BASE}/boards/common/esp32.board.cmake) | ||||
9 | include(${ZEPHYR_BASE}/boards/common/openocd.board.cmake) |