From 1613037faf34f98a6683bc5563c513ff5b55b299 Mon Sep 17 00:00:00 2001 From: Yuval Peress Date: Fri, 17 Sep 2021 00:01:28 -0600 Subject: 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 Change-Id: I238a2f101777a5651ddde537a0359d9c15377587 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3168033 Tested-by: Yuval Peress Auto-Submit: Yuval Peress Reviewed-by: Jeremy Bettis Commit-Queue: Yuval Peress --- zephyr/test/drivers/prj.conf | 4 ++++ 1 file changed, 4 insertions(+) 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 -- cgit v1.2.1