mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-08-07 08:45:32 +00:00
This commit modifies the MAX30101 sample to produce a generic heart rate sensor sample. Support for the BH1790 sensor is added. Signed-off-by: Magpie Embedded <magpieembedded@gmail.com>
9 lines
225 B
CMake
9 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(max30101)
|
|
|
|
FILE(GLOB app_sources src/*.c)
|
|
target_sources(app PRIVATE ${app_sources})
|