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(my_led) # Add source files belong to this application target_sources(app PRIVATE src/main.c)