Test and validate the behavior of a timer driver. Takes a number of absolute timer cycle samples of a periodic timer then calculates statistical mean, variance, stddev along with total drift over the entire test time. Ensures standard deviation and drift are within a given configurable bound. Signed-off-by: Tom Burdick <thomas.burdick@intel.com>
9 lines
231 B
CMake
9 lines
231 B
CMake
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
cmake_minimum_required(VERSION 3.20.0)
|
|
find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
|
|
project(timer_behavior)
|
|
|
|
FILE(GLOB app_sources src/*.c)
|
|
target_sources(app PRIVATE ${app_sources})
|