zephyr/boards/espressif/esp32s2_devkitc/board.cmake
Marcio Ribeiro f23d06e344 boards: esp32s2_devkitc: initial board support
Initial board files created to support the esp32s2_devkitc board.

Signed-off-by: Marcio Ribeiro <marcio.ribeiro@espressif.com>
2024-04-08 09:17:18 -04:00

10 lines
355 B
CMake

# 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)