diff --git a/subsys/emul/emul.c b/subsys/emul/emul.c index 15299381a38..96adb888dd2 100644 --- a/subsys/emul/emul.c +++ b/subsys/emul/emul.c @@ -40,7 +40,10 @@ int emul_init_for_bus(const struct device *dev) for (elp = cfg->children; elp < end; elp++) { const struct emul *emul = emul_get_binding(elp->dev->name); - __ASSERT(emul, "Cannot find emulator for '%s'", elp->dev->name); + if (!emul) { + LOG_WRN("Cannot find emulator for '%s'", elp->dev->name); + continue; + } switch (emul->bus_type) { case EMUL_BUS_TYPE_I2C: