With over a dozen LED samples, grouping them in a common drivers/led/ folder helps keep things tidy and lays the groundwork for further improvements in the way samples are showing up in the docs. Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
10 lines
225 B
CMake
10 lines
225 B
CMake
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
cmake_minimum_required(VERSION 3.20.0)
|
|
|
|
find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
|
|
project(led_xec)
|
|
|
|
FILE(GLOB app_sources src/*.c)
|
|
target_sources(app PRIVATE ${app_sources})
|