summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien George <damien@micropython.org>2025-10-01 17:02:47 +1000
committerDamien George <damien@micropython.org>2025-10-17 12:33:02 +1100
commit0f49a1d240959fb7f7100124b1f7bdfdf10c45ed (patch)
treefc33a39977a189819ea60245e9e7ad6cf898acae
parentcfea71da507b5f40e86d81efd7ac24c4acd73b27 (diff)
esp32: Update to use ESP-IDF v5.5.1.
Tested with ESP32_GENERIC, ESP32_GENERIC_C3, ESP32_GENERIC_C6 and ESP32_GENERIC_S3 firmware, using the full test suite. There do not seem to be any regressions. Signed-off-by: Damien George <damien@micropython.org>
-rw-r--r--ports/esp32/README.md10
-rw-r--r--ports/esp32/boards/sdkconfig.spiram4
-rw-r--r--ports/esp32/lockfiles/dependencies.lock.esp322
-rw-r--r--ports/esp32/lockfiles/dependencies.lock.esp32c22
-rw-r--r--ports/esp32/lockfiles/dependencies.lock.esp32c32
-rw-r--r--ports/esp32/lockfiles/dependencies.lock.esp32c62
-rw-r--r--ports/esp32/lockfiles/dependencies.lock.esp32s22
-rw-r--r--ports/esp32/lockfiles/dependencies.lock.esp32s32
8 files changed, 15 insertions, 11 deletions
diff --git a/ports/esp32/README.md b/ports/esp32/README.md
index 2c09ebccd..5a2bb9240 100644
--- a/ports/esp32/README.md
+++ b/ports/esp32/README.md
@@ -31,8 +31,8 @@ manage the ESP32 microcontroller, as well as a way to manage the required
build environment and toolchains needed to build the firmware.
The ESP-IDF changes quickly and MicroPython only supports certain versions. The
-current recommended version of ESP-IDF for MicroPython is v5.4.2. MicroPython
-also supports v5.2, v5.2.2, v5.3, v5.4 and v5.4.1.
+current recommended version of ESP-IDF for MicroPython is v5.5.1. MicroPython
+also supports v5.2, v5.2.2, v5.3, v5.4, v5.4.1 and v5.4.2.
To install the ESP-IDF the full instructions can be found at the
[Espressif Getting Started guide](https://docs.espressif.com/projects/esp-idf/en/latest/esp32/get-started/index.html#installation-step-by-step).
@@ -50,10 +50,10 @@ The steps to take are summarised below.
To check out a copy of the IDF use git clone:
```bash
-$ git clone -b v5.4.2 --recursive https://github.com/espressif/esp-idf.git
+$ git clone -b v5.5.1 --recursive https://github.com/espressif/esp-idf.git
```
-You can replace `v5.4.2` with any other supported version.
+You can replace `v5.5.1` with any other supported version.
(You don't need a full recursive clone; see the `ci_esp32_setup` function in
`tools/ci.sh` in this repository for more detailed set-up commands.)
@@ -62,7 +62,7 @@ MicroPython and update the submodules using:
```bash
$ cd esp-idf
-$ git checkout v5.4.2
+$ git checkout v5.5.1
$ git submodule update --init --recursive
```
diff --git a/ports/esp32/boards/sdkconfig.spiram b/ports/esp32/boards/sdkconfig.spiram
index f5503d554..79c7510b5 100644
--- a/ports/esp32/boards/sdkconfig.spiram
+++ b/ports/esp32/boards/sdkconfig.spiram
@@ -16,3 +16,7 @@ CONFIG_COMPILER_OPTIMIZATION_CHECKS_SILENT=y
CONFIG_RINGBUF_PLACE_FUNCTIONS_INTO_FLASH=y
CONFIG_FREERTOS_PLACE_FUNCTIONS_INTO_FLASH=y
CONFIG_FREERTOS_PLACE_SNAPSHOT_FUNS_INTO_FLASH=y
+
+# Workaround for bug in IDFv5.5-v5.5.1
+# See https://github.com/espressif/esp-idf/issues/17436#issuecomment-3197206868
+CONFIG_NEWLIB_NANO_FORMAT=n
diff --git a/ports/esp32/lockfiles/dependencies.lock.esp32 b/ports/esp32/lockfiles/dependencies.lock.esp32
index 5c2b78275..71eccf032 100644
--- a/ports/esp32/lockfiles/dependencies.lock.esp32
+++ b/ports/esp32/lockfiles/dependencies.lock.esp32
@@ -25,7 +25,7 @@ dependencies:
idf:
source:
type: idf
- version: 5.4.2
+ version: 5.5.1
direct_dependencies:
- espressif/lan867x
- espressif/mdns
diff --git a/ports/esp32/lockfiles/dependencies.lock.esp32c2 b/ports/esp32/lockfiles/dependencies.lock.esp32c2
index df6ed2c1d..5f46e6156 100644
--- a/ports/esp32/lockfiles/dependencies.lock.esp32c2
+++ b/ports/esp32/lockfiles/dependencies.lock.esp32c2
@@ -12,7 +12,7 @@ dependencies:
idf:
source:
type: idf
- version: 5.4.2
+ version: 5.5.1
direct_dependencies:
- espressif/mdns
- idf
diff --git a/ports/esp32/lockfiles/dependencies.lock.esp32c3 b/ports/esp32/lockfiles/dependencies.lock.esp32c3
index a4c955d47..5fb11084e 100644
--- a/ports/esp32/lockfiles/dependencies.lock.esp32c3
+++ b/ports/esp32/lockfiles/dependencies.lock.esp32c3
@@ -12,7 +12,7 @@ dependencies:
idf:
source:
type: idf
- version: 5.4.2
+ version: 5.5.1
direct_dependencies:
- espressif/mdns
- idf
diff --git a/ports/esp32/lockfiles/dependencies.lock.esp32c6 b/ports/esp32/lockfiles/dependencies.lock.esp32c6
index fa81d8ad7..4debf5548 100644
--- a/ports/esp32/lockfiles/dependencies.lock.esp32c6
+++ b/ports/esp32/lockfiles/dependencies.lock.esp32c6
@@ -12,7 +12,7 @@ dependencies:
idf:
source:
type: idf
- version: 5.4.2
+ version: 5.5.1
direct_dependencies:
- espressif/mdns
- idf
diff --git a/ports/esp32/lockfiles/dependencies.lock.esp32s2 b/ports/esp32/lockfiles/dependencies.lock.esp32s2
index 12430428e..bb1443947 100644
--- a/ports/esp32/lockfiles/dependencies.lock.esp32s2
+++ b/ports/esp32/lockfiles/dependencies.lock.esp32s2
@@ -40,7 +40,7 @@ dependencies:
idf:
source:
type: idf
- version: 5.4.2
+ version: 5.5.1
direct_dependencies:
- espressif/esp_tinyusb
- espressif/mdns
diff --git a/ports/esp32/lockfiles/dependencies.lock.esp32s3 b/ports/esp32/lockfiles/dependencies.lock.esp32s3
index 215346dbd..38c17f5d6 100644
--- a/ports/esp32/lockfiles/dependencies.lock.esp32s3
+++ b/ports/esp32/lockfiles/dependencies.lock.esp32s3
@@ -40,7 +40,7 @@ dependencies:
idf:
source:
type: idf
- version: 5.4.2
+ version: 5.5.1
direct_dependencies:
- espressif/esp_tinyusb
- espressif/mdns