7c641e957e
Add sample code that demonstrate the usage for Nuvoton ADC Comparator driver, this driver is available for NPCX microcontroller family, this sample is supported on npcx9m6f_evb board. Signed-off-by: Bernardo Perez Priego <bernardo.perez.priego@intel.com>
10 lines
230 B
CMake
10 lines
230 B
CMake
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
cmake_minimum_required(VERSION 3.20.0)
|
|
|
|
find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
|
|
project(adc_cmp_npcx)
|
|
|
|
FILE(GLOB app_sources src/*.c)
|
|
target_sources(app PRIVATE ${app_sources})
|