zephyr/boards/m5stack/m5stack_atom_lite/board.cmake
Nikola Trifunovic f7f5c4470a boards: xtensa: m5stack_atom_lite: initial support
Source code of board/m5stack/m5stickc_plus and
board/m5stack/m5stack_atoms3_lite were adapted for an inital
support of the M5Stack ATOM Lite board.

Signed-off-by: Nikola Trifunovic <nikola@trifunovic.at>
2024-04-01 11:04:07 +01:00

13 lines
454 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)
# the default ESP32 baud rate is not supported
board_runner_args(esp32 "--esp-baud-rate=1500000")