# Copyright (c) 2021 Nordic Semiconductor ASA
# SPDX-License-Identifier: Apache-2.0
#
# This CMake file is picked by the Zephyr build system because it is defined
# as the module CMake entry point (see zephyr/module.yml).

cmake_minimum_required(VERSION 3.20.0)
find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
project(MPP_Zephyr)

# This is needed so that custom driver classes using system calls are taken into
# account
# zephyr_syscall_include_directories(include)
zephyr_include_directories(include)

add_subdirectory(drivers)
#add_subdirectory(lib)

target_include_directories(app PUBLIC drivers/sensor/GPIO_Sensor_KY_038/)
target_sources(app PRIVATE src/main.c)
