summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Massey <aaronmassey@google.com>2022-11-29 17:14:16 -0700
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2022-11-30 01:50:53 +0000
commit91ba2792dbe8eebedac3f921734ade520e7645d7 (patch)
treeb3b76bb8cf64ae98ed746faf4c28583269d11fac
parentea174bbf20cd6616321c889e8106786ccca3cf88 (diff)
downloadchrome-ec-91ba2792dbe8eebedac3f921734ade520e7645d7.tar.gz
zephyr: Override LOG_PRINTK default to disabled
After a downstream change LOG_PRINTK is enabled by default when PRINTK and the ZTEST_NEW_API are enabled. LOG_PRINTK seems to timeout/fail our tests. Add a KConfig override that disables LOG_PRINTK by default. BRANCH=none BUG=b:260772137 TEST=twister TEST=CQ Change-Id: Iec189124c891a53a8230a2291bc7852e44acc94e Signed-off-by: Aaron Massey <aaronmassey@google.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/4065008 Reviewed-by: Keith Short <keithshort@chromium.org> Code-Coverage: Zoss <zoss-cl-coverage@prod.google.com>
-rw-r--r--zephyr/app/ec/Kconfig8
1 files changed, 8 insertions, 0 deletions
diff --git a/zephyr/app/ec/Kconfig b/zephyr/app/ec/Kconfig
index f630c252ed..72c80f5d3a 100644
--- a/zephyr/app/ec/Kconfig
+++ b/zephyr/app/ec/Kconfig
@@ -27,6 +27,14 @@ config NUM_PREEMPT_PRIORITIES
default 26
#
+# Override the LOG_PRINTK to be no as it currently makes multiple
+# tests timeout and a few others fail in console assertions
+# TODO(b/http://b/260772137) Fix LOG_PRINTK issue and remove override
+#
+config LOG_PRINTK
+ default n
+
+#
# In Zephyr, the default system workqueue thread priority level is the lowest
# cooperative priority. Override its priority to the second lowest preempt
# priority. (i.e. NUM_PREEMPT_PRIORITIES - 1)