minico2-firmware/CMakeLists.txt

12 lines
295 B
CMake

cmake_minimum_required(VERSION 3.20.0)
list(APPEND DTS_ROOT ${CMAKE_CURRENT_LIST_DIR})
list(APPEND BOARD_ROOT ${CMAKE_CURRENT_LIST_DIR})
set(BOARD minico2)
find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
add_subdirectory(drivers)
project(minico2)
target_sources(app PRIVATE src/main.c)