1CONFIG_ZTEST=y 2 3CONFIG_TEST_LOGGING_DEFAULTS=n 4CONFIG_LOG=y 5CONFIG_LOG_PRINTK=n 6CONFIG_LOG_BUFFER_SIZE=512 7CONFIG_ASSERT=y 8CONFIG_MAIN_STACK_SIZE=2048 9 10# Disable any logs that could interfere. 11CONFIG_KERNEL_LOG_LEVEL_OFF=y 12CONFIG_SOC_LOG_LEVEL_OFF=y 13CONFIG_ARCH_LOG_LEVEL_OFF=y 14CONFIG_LOG_FUNC_NAME_PREFIX_DBG=n 15CONFIG_LOG_PROCESS_THREAD=y 16 17# Disable all potential default backends 18CONFIG_LOG_BACKEND_UART=n 19CONFIG_LOG_BACKEND_NATIVE_POSIX=n 20CONFIG_LOG_BACKEND_RTT=n 21CONFIG_LOG_BACKEND_XTENSA_SIM=n 22 23# Enable blocking in thread 24CONFIG_LOG_MODE_DEFERRED=y 25CONFIG_LOG_BLOCK_IN_THREAD=y 26 27# Block in thread indefinitely 28CONFIG_LOG_BLOCK_IN_THREAD_TIMEOUT_MS=-1 29