summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuval Peress <peress@chromium.org>2021-09-17 00:01:28 -0600
committerCommit Bot <commit-bot@chromium.org>2021-09-17 21:00:06 +0000
commit1613037faf34f98a6683bc5563c513ff5b55b299 (patch)
tree17d39360dc5b1004ca64e945060e0cc138889363
parent367807b661f7f599d825ca0c754067f0eca3c8c8 (diff)
downloadchrome-ec-1613037faf34f98a6683bc5563c513ff5b55b299.tar.gz
zephyr: test: Add convinience debug config for I2C
Add the configuration log level needed to show I2C traffic. This will make it easier for others to enable when debugging tests. BRANCH=none BUG=none TEST=zmake configure --test zephyr/test/drivers Signed-off-by: Yuval Peress <peress@chromium.org> Change-Id: I238a2f101777a5651ddde537a0359d9c15377587 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3168033 Tested-by: Yuval Peress <peress@google.com> Auto-Submit: Yuval Peress <peress@google.com> Reviewed-by: Jeremy Bettis <jbettis@chromium.org> Commit-Queue: Yuval Peress <peress@google.com>
-rw-r--r--zephyr/test/drivers/prj.conf4
1 files changed, 4 insertions, 0 deletions
diff --git a/zephyr/test/drivers/prj.conf b/zephyr/test/drivers/prj.conf
index c54ff445b0..71920523c5 100644
--- a/zephyr/test/drivers/prj.conf
+++ b/zephyr/test/drivers/prj.conf
@@ -2,6 +2,10 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
+# Enabling this config will show all I2C traffic, do not commit with this line
+# uncommented, it is here to make it easy to find/enable.
+# CONFIG_I2C_LOG_LEVEL_DBG=y
+
CONFIG_ZTEST=y
CONFIG_PLATFORM_EC=y
CONFIG_CROS_EC=y