From 3d1f7cea72e008edf0e827520fcfb3189db09b67 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Sun, 8 Mar 2026 01:26:31 -1000 Subject: [PATCH] Increase printf stub buffer to 512 bytes to match ESP32 --- 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 4eb316d6ec..e6d4a74866 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 = 256; +static constexpr size_t PRINTF_BUFFER_SIZE = 512; // These stubs are essentially dead code at runtime — ESPHome writes directly // to the UART via Arduino's Serial, and Serial.printf() has its own implementation.