summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien George <damien@micropython.org>2025-12-04 12:41:51 +1100
committerDamien George <damien@micropython.org>2025-12-08 09:48:08 +1100
commit365cdb6f56dd15693f43c7a0a45eca60dfcfe4fa (patch)
tree22f96ec95354c750918e9eb497e9c2fc06e56fec
parent504adc689bf1e56783b394b91ecc9d7a38ccf72e (diff)
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 <damien@micropython.org>
-rw-r--r--ports/esp32/boards/sdkconfig.p43
1 files changed, 3 insertions, 0 deletions
diff --git a/ports/esp32/boards/sdkconfig.p4 b/ports/esp32/boards/sdkconfig.p4
index 3ec0ff705..042eec40c 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