From 6d3c738de2a84099d2e0fd3693f8639361c31f95 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Sun, 8 Mar 2026 01:07:17 -1000 Subject: [PATCH] Increase printf stub buffer to 256 bytes --- esphome/components/esp8266/printf_stubs.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/esphome/components/esp8266/printf_stubs.cpp b/esphome/components/esp8266/printf_stubs.cpp index b0bbc3d697..374c001523 100644 --- a/esphome/components/esp8266/printf_stubs.cpp +++ b/esphome/components/esp8266/printf_stubs.cpp @@ -20,7 +20,7 @@ namespace esphome::esp8266 {} -static constexpr size_t PRINTF_BUFFER_SIZE = 128; +static constexpr size_t PRINTF_BUFFER_SIZE = 256; // These stubs are essentially dead code at runtime — ESPHome uses ets_printf // for logging, and the Arduino core's Serial.printf() has its own implementation.