diff --git a/zephyr/iut_test/app.overlay b/zephyr/iut_test/app.overlay new file mode 100644 index 0000000..0a2026b --- /dev/null +++ b/zephyr/iut_test/app.overlay @@ -0,0 +1,5 @@ +/ { + chosen { + zephyr.log-i2c=&i2c0; + }; +}; diff --git a/zephyr/iut_test/prj.conf b/zephyr/iut_test/prj.conf index 58e08cd..6e47a10 100644 --- a/zephyr/iut_test/prj.conf +++ b/zephyr/iut_test/prj.conf @@ -23,6 +23,11 @@ CONFIG_SHELL_THREAD_PRIORITY=13 # debug #CONFIG_NO_OPTIMIZATIONS=y +# logging +CONFIG_LOG=y +CONFIG_LOG_PRINTK=y +CONFIG_LOG_BACKEND_I2C=y + # DMA CONFIG_DMA=y