Skip to content

Commit

Permalink
iut: enable log subsystem and i2c log backend
Browse files Browse the repository at this point in the history
Signed-off-by: Dong Wang <[email protected]>
  • Loading branch information
kwd-doodling committed Jun 4, 2024
1 parent 279ddd7 commit c342278
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions zephyr/iut_test/app.overlay
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
/ {
chosen {
zephyr.log-i2c=&i2c0;
};
};
5 changes: 5 additions & 0 deletions zephyr/iut_test/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit c342278

Please sign in to comment.