zephyr/subsys
Simon Glass 302d671ea2 emul: Create an emulation implementation
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>
2020-09-01 14:30:46 -04:00
..
bluetooth Bluetooth: Call bt_recv from priority higher that TX thread. 2020-09-01 15:15:36 +03:00
canbus guideline: Make explicit fallthrough cases 2020-08-24 20:28:47 -04:00
console device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
cpp cpp: Fixed compile warning with extern array declaration 2020-06-09 14:42:16 +02:00
debug debug/coredump: add a primitive coredump mechanism 2020-08-24 20:28:24 -04:00
dfu config: Rename TEXT_SECTION_OFFSET to ROM_START_OFFSET 2020-07-09 14:02:38 -04:00
disk disk: sdhc: spi: leave SPI CS GPIO handling to the SPI controller driver 2020-08-25 10:07:53 +02:00
emul emul: Create an emulation implementation 2020-09-01 14:30:46 -04:00
fb device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
fs subsys/fs/fatfs: Add kconfig option for enabling exFAT support 2020-08-13 14:15:40 +02:00
jwt Kconfig: cleanup subsystems 2020-08-24 10:24:30 +02:00
logging logging: net: Make autostart of backend configurable 2020-09-01 13:34:13 +02:00
mgmt mgmt: smp: Fix shell sending SMP response to wrong UART 2020-09-01 13:30:41 +02:00
net code-guideline: Tag name should be a unique identifier 2020-09-01 08:03:23 -04:00
power Kconfig: move power management Kconfig into subsys/power 2020-08-24 10:24:30 +02:00
random kconfig: Random number generator 2020-08-24 10:24:30 +02:00
settings Kconfig: settings 2020-08-24 10:24:30 +02:00
shell guideline: Make explicit fallthrough cases 2020-08-24 20:28:47 -04:00
stats Kconfig: cleanup subsystems 2020-08-24 10:24:30 +02:00
storage device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
testsuite testsuite: fix unittest cross-language flags 2020-08-31 11:02:35 -04:00
tracing tracing: trace mutex/semaphore using dedicated calls 2020-08-24 13:21:12 +02:00
usb usb: Configurable transfer buffers 2020-09-01 13:29:47 +02:00
CMakeLists.txt emul: Create an emulation implementation 2020-09-01 14:30:46 -04:00
Kconfig emul: Create an emulation implementation 2020-09-01 14:30:46 -04:00