samples: zbus: work_queue: Enable synchronous printk

twister expects regex print from logging used in the sample. Sample
is using minimal logging which does not protect against logs being
interleaved if printed from various contexts. Minimal logging is
just mapping of logging API to printk. Add CONFIG_PRINTK_SYNC to
ensure that printing of each log is synchronous (with lock) and
logs are never interleaved.

Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>
This commit is contained in:
Krzysztof Chruściński 2024-07-05 12:19:22 +02:00 committed by Fabio Baltieri
parent a4400dbe6c
commit fb2d9ecde5
1 changed files with 1 additions and 0 deletions

View File

@ -2,5 +2,6 @@ CONFIG_LOG=y
CONFIG_THREAD_NAME=y
CONFIG_ASSERT=y
CONFIG_LOG_MODE_MINIMAL=y
CONFIG_PRINTK_SYNC=y
CONFIG_ZBUS=y
CONFIG_ZBUS_LOG_LEVEL_INF=y