From 23a78a0f90bc52adca11b641ce7581bf1e2fe48c Mon Sep 17 00:00:00 2001 From: Benedikt Schmidt Date: Thu, 7 Dec 2023 11:00:43 +0100 Subject: [PATCH] tests: drivers: smbus: enable SMBus Enable SMBus for the smbus_emul test. Signed-off-by: Benedikt Schmidt --- tests/drivers/smbus/smbus_emul/prj.conf | 2 ++ tests/drivers/smbus/smbus_emul/src/smbus.c | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/drivers/smbus/smbus_emul/prj.conf b/tests/drivers/smbus/smbus_emul/prj.conf index 996a530cd41b7e0..99e5c1f89d52fc4 100644 --- a/tests/drivers/smbus/smbus_emul/prj.conf +++ b/tests/drivers/smbus/smbus_emul/prj.conf @@ -1,3 +1,5 @@ CONFIG_ZTEST=y CONFIG_LOG=y CONFIG_ENTROPY_GENERATOR=y +CONFIG_SMBUS=y +CONFIG_SMBUS_LOG_LEVEL_DBG=y diff --git a/tests/drivers/smbus/smbus_emul/src/smbus.c b/tests/drivers/smbus/smbus_emul/src/smbus.c index 1d2a3b5200e0fe5..d42a22d1a23f82b 100644 --- a/tests/drivers/smbus/smbus_emul/src/smbus.c +++ b/tests/drivers/smbus/smbus_emul/src/smbus.c @@ -14,8 +14,6 @@ #include "emul.h" -#define CONFIG_SMBUS_LOG_LEVEL LOG_LEVEL_DBG - #define PERIPH_ADDR 0x10 static uint8_t mock_sys_in8(io_port_t port)