mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-09-18 10:51:57 +00:00
Add a polling sample for 3-Axis accelerometers. This sample demonstrates how to data fetch and print to the console. Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@fujitsu.com>
10 lines
295 B
CMake
10 lines
295 B
CMake
# Copyright (c) 2022 TOKITA Hiroshi <tokita.hiroshi@fujitsu.com>
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
cmake_minimum_required(VERSION 3.20.0)
|
|
find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
|
|
project(accel_polling)
|
|
|
|
FILE(GLOB app_sources src/*.c)
|
|
target_sources(app PRIVATE ${app_sources})
|