10 lines
270 B
CMake
10 lines
270 B
CMake
cmake_minimum_required(VERSION 3.20.0)
|
|
|
|
# Locate the Zephyr build system as a CMake package
|
|
find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
|
|
|
|
# Project name
|
|
project(blinky_button)
|
|
|
|
# Add source files belong to this application
|
|
target_sources(app PRIVATE src/main.c) |