From 4b1282dfd06b63b498aec73175eed1306a48ff70 Mon Sep 17 00:00:00 2001 From: chilang Date: Thu, 14 May 2026 22:44:09 +0100 Subject: [PATCH] Fix Cardputer-Adv ES8311 mic by pinning IDF patch series to v5.4 Building UIFlow against ESP-IDF v5.5.1 produces silent / constant samples (-8 / -1) on the Cardputer-Adv's ES8311 codec. Same M5Unified sources built against v5.4.2 work correctly. The regression is in IDF v5.5.x's I2S driver / MCLK pin routing, not in M5Unified or the codec init. Switch IDF_PATH_PATCH_SERIES from 1005-idf_v5.5_freertos.patch to 1004-idf_v5.4_freertos.patch. Both patches already ship in m5stack/patches/; this is a one-line selection change. See FIX.md for the full bisect, build instructions, and verification. --- m5stack/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/m5stack/Makefile b/m5stack/Makefile index e4e05362..74128879 100644 --- a/m5stack/Makefile +++ b/m5stack/Makefile @@ -339,7 +339,7 @@ MICROPYTHON_PATCH_SERIES = \ 0027-micropython-1.27.0-fix-mpnimbleport.patch IDF_PATH_PATCH_SERIES = \ - 1005-idf_v5.5_freertos.patch + 1004-idf_v5.4_freertos.patch M5UNIFIED_PATCH_SERIES = \ 2006-Support-LTR553.patch \