zephyr/tests/kernel/timer
Ederson de Souza 22ba9456de tests/kernel/timer/timer_behavior: Add support for external tool
This patch adds a way to simplify using an external tool to measure
timer behaviour on Zephyr. It modifies the timer behaviour
jitter_drift.c tests to toggle a GPIO pin (defined via a new DTS
compatible, "test-kernel-timer-behavior-external") that can be connected
to an external tool, such as a logic analyzer, to measure timer
behaviour.

This GPIO pin toggle is behind a new CONFIG_TIMER_EXTERNAL_TEST Kconfig.

A new pytest test is added so that it can collect the statistics from
the external tool and assert some measurements. To collect statistics
from the external tool, one needs to provide a Python module which
provides a `run(seconds, config)` method, that will perform the test and
return the statistics. Check the README file for more information about
this interface.

Finally, this on twister, this new test is behind a new fixture,
"gpio-timerout".

Signed-off-by: Ederson de Souza <ederson.desouza@intel.com>
Signed-off-by: Tom Burdick <thomas.burdick@intel.com>
2023-09-27 20:25:09 -04:00
..
cycle64 samples, tests: convert string-based twister lists to YAML lists 2023-05-10 09:52:37 +02:00
starve tests: improve filtering and use integration_platforms 2023-05-24 07:50:50 -04:00
timepoints kernel/timeout: Introduce comparison for timepoint values 2023-08-04 10:41:15 +02:00
timer_api tests: timer_api: Decrease tick rate for nRF RTC timer 2023-06-12 14:04:56 -04:00
timer_behavior tests/kernel/timer/timer_behavior: Add support for external tool 2023-09-27 20:25:09 -04:00
timer_error_case tests: test the timepoint API 2023-07-25 09:12:26 +02:00
timer_monotonic boards: x86: Add intel_ prefix to Elkhart Lake boards 2023-08-15 11:24:35 +00:00