From b17b2b044412399d87828af558f2214becdb3171 Mon Sep 17 00:00:00 2001 From: Marian Buschsieweke Date: Thu, 18 Jan 2024 10:29:06 +0100 Subject: [PATCH] core/lib/init: skip boot message if `stdio_null` is used With `stdio_null` no one is reading the boot message anyway, so let's safe some ROM. --- core/lib/init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"); }