zephyr/boards/xtensa/esp32s3_luatos_core/board.cmake
YuLong Yao 3f7283e6f9 boards: xtensa: Introduce esp32s3_luatos_core board
ESP32S3 LuatOS core is a dev board with esp32-s3.
It has similar functions to esp32s3 devkitm, but smaller in size.

Signed-off-by: YuLong Yao <feilongphone@gmail.com>
2023-08-22 14:44:25 +02: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)