zephyr/subsys/emul
Tristan Honscheid ce3d0af183 emul: Don't panic if matching emul can't be found
When initializing emulators for devices registered on an emulated bus,
Zephyr will assert if a matching emulator for the device cannot be
found. This feels overly restrictive --there may be cases where we still
want to build a driver for testing even without an emulator and drivers
should be able to handle situations where there is no device emulator
present (the I2C/SPI transactions will simply fail and the driver never
becomes ready).

This commit removes the assert and replaces it with an warning message if
no matching emulator is found.

Signed-off-by: Tristan Honscheid <honscheid@google.com>
2023-07-18 11:09:08 +00:00
..
espi emul: Migrate all emulation use to use DT_HAS_ 2023-04-28 08:37:33 -05:00
CMakeLists.txt emul: Cleanup emul directory 2023-02-24 11:50:10 +01:00
Kconfig emul: Cleanup emul directory 2023-02-24 11:50:10 +01:00
emul.c emul: Don't panic if matching emul can't be found 2023-07-18 11:09:08 +00:00