zephyr/doc
Tristan Honscheid 171c1fc9d9 emul: Introduce emulator backend API and generic sensor test
This PR introduces a backend API to be implemented by sensor emulators
that creates a standardized mechanism for setting expected sensor
readings in tests. This unlocks the ability to create a generic sensor
test that can automatically set expected values in supported sensor
emulators and verify them through the existing sensor API. An
implementation of this API is provided for the AKM09918C magnetometer.

A generic sensor test is also created to exercise this implementation.
Observe that this test knows nothing about the AKM09918C; info about
supported channels and sample ranges is discovered through the backend
API. The test iterates over all devices attached to the virtual I2C and
SPI buses in the test binary's device tree, which (theoretically) covers
all sensors. Sensors whose emulator does not exist yet or does not
support the backend API are skipped.

Signed-off-by: Tristan Honscheid <honscheid@google.com>
2023-07-28 17:48:31 +02:00
..
_doxygen drivers: mfd: npm1300: Initial version 2023-06-19 11:02:58 +02:00
_extensions/zephyr doc: Log unused log filter patterns 2023-07-03 10:05:52 +00:00
_scripts doc: Add old toolchain pages to redirects 2023-04-04 10:53:02 -07:00
_static doc: Update requirements-doc.txt to use docleaf 2023-07-03 10:05:52 +00:00
_templates
build devicetree: Add 'zephyr,memory-attr' and DT helpers 2023-07-25 11:22:10 +02:00
connectivity doc: usb: add reference to BOS support API 2023-07-26 14:37:34 +02:00
contribute doc: bin blobs: State that blobs will not be fetched in CI 2023-07-28 09:47:39 +00:00
develop west: runner: add support for NXP's linkserver 2023-07-21 14:57:25 -05:00
hardware emul: Introduce emulator backend API and generic sensor test 2023-07-28 17:48:31 +02:00
images
introduction doc: introduction: Improve style and grammar across the chapter 2023-07-10 10:01:08 +00:00
kernel kernel/timeout: introduce the timepoint API 2023-07-25 09:12:26 +02:00
project doc: release: drop the notes about listing github issues 2023-07-25 16:45:15 +02:00
releases doc: release-notes: document net subsys time consolidation 2023-07-28 09:06:35 +00:00
safety docs: safety: Add safety documentation 2023-06-22 06:01:39 -04:00
security doc: vulnerabilities: Add information about new vulnerabilities 2023-06-15 13:55:07 -04:00
services docs: RTIO documentation updates 2023-07-20 12:00:50 -04:00
templates
404.rst
CMakeLists.txt doc: enable Sphinx tracebacks 2023-07-12 09:13:49 -04:00
conf.py doc: Drop Zephyr 2.2 from supported releases 2023-07-14 09:30:48 -04:00
glossary.rst
index-tex.rst docs: safety: Add safety documentation 2023-06-22 06:01:39 -04:00
index.rst docs: safety: Add safety documentation 2023-06-22 06:01:39 -04:00
kconfig.rst
known-warnings.txt doc: Remove sphinx warning bt_ots_init pattern 2023-07-12 11:48:42 +02:00
LICENSING.rst doc licensing: Remove get_maintainers.pl 2023-06-25 02:46:42 -04:00
Makefile doc: align pseudo-Makefile with latest CMake changes 2023-07-13 14:27:56 +02:00
requirements.txt doc: requirements: update Sphinx and rtd theme 2023-07-12 19:59:03 -04:00
substitutions.txt
zephyr.doxyfile.in doc: doxygen: Enable Doxygen autobrief 2023-07-13 09:20:51 +02:00