From 365cdb6f56dd15693f43c7a0a45eca60dfcfe4fa Mon Sep 17 00:00:00 2001 From: Damien George Date: Thu, 4 Dec 2025 12:41:51 +1100 Subject: [PATCH] esp32/boards: Enable ESP32P4_REV_MIN_0 option for P4 boards. The ESP32-P4 currently comes in three revisions (0.0, 0.1 and 1.0) and all of them are out in the wild. Even though the IDF defaults to a minimum of 0.1 we would like to support as many as possible, so configure MicroPython to work down to revision 0.0. The firmware only grows by 32 bytes when enabling this option. Signed-off-by: Damien George --- ports/esp32/boards/sdkconfig.p4 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ports/esp32/boards/sdkconfig.p4 b/ports/esp32/boards/sdkconfig.p4 index 3ec0ff7057..042eec40cf 100644 --- a/ports/esp32/boards/sdkconfig.p4 +++ b/ports/esp32/boards/sdkconfig.p4 @@ -1,3 +1,6 @@ +# Select the minimum chip revision to cover all possible boards. +CONFIG_ESP32P4_REV_MIN_0=y + # Flash CONFIG_FLASHMODE_QIO=y CONFIG_ESPTOOLPY_FLASHSIZE_16MB=y