Skip to content

Commit 1710178

Browse files
committed
iut: enable log subsystem and i2c log backend
Signed-off-by: Dong Wang <dong.d.wang@intel.com>
1 parent ce1a74b commit 1710178

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

zephyr/iut_test/app.overlay

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
/ {
2+
chosen {
3+
zephyr.log-i2c=&i2c0;
4+
};
5+
};

zephyr/iut_test/prj.conf

+5
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,11 @@ CONFIG_SHELL_THREAD_PRIORITY=13
2323
# debug
2424
#CONFIG_NO_OPTIMIZATIONS=y
2525

26+
# logging
27+
CONFIG_LOG=y
28+
CONFIG_LOG_PRINTK=y
29+
CONFIG_LOG_BACKEND_I2C=y
30+
2631
# DMA
2732
CONFIG_DMA=y
2833

0 commit comments

Comments
 (0)