diff --git a/core/lib/init.c b/core/lib/init.c index 0dbbc6971c..d45ddc15c8 100644 --- a/core/lib/init.c +++ b/core/lib/init.c @@ -56,7 +56,7 @@ static void *main_trampoline(void *arg) auto_init(); } - if (!IS_ACTIVE(CONFIG_SKIP_BOOT_MSG)) { + if (!IS_ACTIVE(CONFIG_SKIP_BOOT_MSG) && !IS_USED(MODULE_STDIO_NULL)) { LOG_INFO(CONFIG_BOOT_MSG_STRING "\n"); }