From 792aab6d97eba55f314d1f64eab1e5e1b3d97d00 Mon Sep 17 00:00:00 2001 From: Justin Mitchell Date: Mon, 20 Jul 2026 17:02:01 -0400 Subject: [PATCH] Disable ESP_SR to fix isolated core build ESP_SR (speech recognition) only exists in the S3 core and its wrapper includes ESP_I2S.h, which the isolated core rebuild cannot resolve. Since ESP_SR is unused, disable it via CONFIG_ARDUINO_SELECTIVE_ESP_SR=n to allow the sticky environment to build successfully. Also ignore sdkconfig.sticky file. --- .gitignore | 1 + platformio.ini | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/.gitignore b/.gitignore index 18f62f34..ea64d4e7 100644 --- a/.gitignore +++ b/.gitignore @@ -31,3 +31,4 @@ lib/EpdFont/scripts/output/ /dependencies.lock /sdkconfig.default /sdkconfig.defaults +sdkconfig.sticky diff --git a/platformio.ini b/platformio.ini index 2b8205ba..2d73e220 100644 --- a/platformio.ini +++ b/platformio.ini @@ -98,6 +98,10 @@ custom_sdkconfig = CONFIG_ARDUINO_SELECTIVE_COMPILATION=y CONFIG_ARDUINO_SELECTIVE_RainMaker=n CONFIG_ARDUINO_SELECTIVE_Insights=n + ; ESP_SR (speech recognition) only exists in the S3 core; its wrapper includes + ; ESP_I2S.h, which the isolated core rebuild can't resolve. Unused here anyway, + ; so drop it or the sticky env fails to build. + CONFIG_ARDUINO_SELECTIVE_ESP_SR=n ; Drop unused cloud components from the core rebuild. esp_insights/rainmaker ; require embedded server certs the lib builder can't generate