mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-08-05 22:35:45 +00:00
Create a header file and implementation for emulators. Set up a linker list so that emulators can be found and initialised at start-up. Emulators are used to emulate hardware devices, to support testing of various subsystems. For example, it is possible to write an emulator for an I2C compass such that it appears on the I2C bus and can be used just like a real hardware device. Emulators often implement special features for testing. For example a compass may support returning bogus data if the I2C bus speed is too high, or may return invalid measurements if calibration has not yet been completed. This allows for testing that high-level code can handle these situations correctly. Test coverage can therefore approach 100% if all failure conditions are emulated. Signed-off-by: Peter Bigot <peter.bigot@nordicsemi.no> Signed-off-by: Simon Glass <sjg@chromium.org>
55 lines
877 B
Plaintext
55 lines
877 B
Plaintext
# Subsystem configuration options
|
|
|
|
# Copyright (c) 2016-2017 Intel Corporation
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
menu "Sub Systems and OS Services"
|
|
|
|
source "subsys/bluetooth/Kconfig"
|
|
|
|
source "subsys/canbus/Kconfig"
|
|
|
|
source "subsys/console/Kconfig"
|
|
|
|
source "subsys/cpp/Kconfig"
|
|
|
|
source "subsys/debug/Kconfig"
|
|
|
|
source "subsys/disk/Kconfig"
|
|
|
|
source "subsys/emul/Kconfig"
|
|
|
|
source "subsys/fb/Kconfig"
|
|
|
|
source "subsys/fs/Kconfig"
|
|
|
|
source "subsys/jwt/Kconfig"
|
|
|
|
source "subsys/logging/Kconfig"
|
|
|
|
source "subsys/mgmt/Kconfig"
|
|
|
|
source "subsys/net/Kconfig"
|
|
|
|
source "subsys/power/Kconfig"
|
|
|
|
source "subsys/shell/Kconfig"
|
|
|
|
source "subsys/stats/Kconfig"
|
|
|
|
source "subsys/usb/Kconfig"
|
|
|
|
source "subsys/dfu/Kconfig"
|
|
|
|
source "subsys/random/Kconfig"
|
|
|
|
source "subsys/storage/Kconfig"
|
|
|
|
source "subsys/settings/Kconfig"
|
|
|
|
source "subsys/testsuite/Kconfig"
|
|
|
|
source "subsys/tracing/Kconfig"
|
|
|
|
endmenu
|