From b9cdacb400db8926fc4d7403b5889d58e3c425fe Mon Sep 17 00:00:00 2001 From: Damian Krolik Date: Fri, 3 Sep 2021 12:22:46 +0200 Subject: [PATCH] [nrfconnect] Enable logger synchronization nRF Connect examples use the minimal logger mode which uses printk() under the hood. Enable synchronization in printk() so that logs witten from multiple threads don't interfere with each other. --- config/nrfconnect/app/sample-defaults.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/config/nrfconnect/app/sample-defaults.conf b/config/nrfconnect/app/sample-defaults.conf index 28f95614f7fe9e..151300e51ae831 100644 --- a/config/nrfconnect/app/sample-defaults.conf +++ b/config/nrfconnect/app/sample-defaults.conf @@ -20,6 +20,7 @@ CONFIG_STD_CPP14=y CONFIG_LOG=y CONFIG_LOG_MODE_MINIMAL=y +CONFIG_PRINTK_SYNC=y CONFIG_ASSERT=y CONFIG_HW_STACK_PROTECTION=y CONFIG_SHELL=y