zephyr/boards/others/esp32c3_supermini/board.cmake
Arrel Neumiller f4267ecce4 boards: others: add support for esp32c3_supermini board
Add support for ESP32-C3 Super Mini board

Signed-off-by: Arrel Neumiller <rlneumiller@gmail.com>
2024-12-16 20:52:33 +01:00

10 lines
392 B
CMake

# Copyright (c) 2024 Arrel Neumiller
# 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)