Compare commits

..

2 Commits

Author SHA1 Message Date
J. Nick Koston
298724933f temp comment 2026-01-22 12:58:23 -10:00
J. Nick Koston
359d5810db Update ESPAsyncWebServer to 3.9.x (fixes ESP8266 logging crash) 2026-01-22 12:50:44 -10:00
3 changed files with 5 additions and 6 deletions

View File

@@ -1,7 +1,6 @@
#include "slow_pwm_output.h"
#include "esphome/core/application.h"
#include "esphome/core/gpio.h"
#include "esphome/core/log.h"
#include "esphome/core/application.h"
namespace esphome {
namespace slow_pwm {
@@ -21,9 +20,7 @@ void SlowPWMOutput::set_output_state_(bool new_state) {
}
if (new_state != current_state_) {
if (this->pin_) {
char pin_summary[GPIO_SUMMARY_MAX_LEN];
this->pin_->dump_summary(pin_summary, sizeof(pin_summary));
ESP_LOGV(TAG, "Switching output pin %s to %s", pin_summary, ONOFF(new_state));
ESP_LOGV(TAG, "Switching output pin %s to %s", this->pin_->dump_summary().c_str(), ONOFF(new_state));
} else {
ESP_LOGV(TAG, "Switching to %s", ONOFF(new_state));
}

View File

@@ -1,3 +1,4 @@
// Trigger CI memory impact (uses updated ESPAsyncWebServer from web_server_base)
#include "web_server.h"
#ifdef USE_WEBSERVER
#include "esphome/components/json/json_util.h"

View File

@@ -48,4 +48,5 @@ async def to_code(config):
if CORE.is_libretiny:
CORE.add_platformio_option("lib_ignore", ["ESPAsyncTCP", "RPAsyncTCP"])
# https://github.com/ESP32Async/ESPAsyncWebServer/blob/main/library.json
cg.add_library("ESP32Async/ESPAsyncWebServer", "3.7.10")
# Testing PR #370 for ESP8266 SSE crash fix
cg.add_library("https://github.com/bdraco/ESPAsyncWebServer.git#pr-370", None)