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>
This commit is contained in:
Damien George
2025-10-01 17:02:47 +10:00
parent cfea71da50
commit 0f49a1d240
8 changed files with 15 additions and 11 deletions

View File

@@ -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. build environment and toolchains needed to build the firmware.
The ESP-IDF changes quickly and MicroPython only supports certain versions. The 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 current recommended version of ESP-IDF for MicroPython is v5.5.1. MicroPython
also supports v5.2, v5.2.2, v5.3, v5.4 and v5.4.1. 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 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). [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: To check out a copy of the IDF use git clone:
```bash ```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 (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.) `tools/ci.sh` in this repository for more detailed set-up commands.)
@@ -62,7 +62,7 @@ MicroPython and update the submodules using:
```bash ```bash
$ cd esp-idf $ cd esp-idf
$ git checkout v5.4.2 $ git checkout v5.5.1
$ git submodule update --init --recursive $ git submodule update --init --recursive
``` ```

View File

@@ -16,3 +16,7 @@ CONFIG_COMPILER_OPTIMIZATION_CHECKS_SILENT=y
CONFIG_RINGBUF_PLACE_FUNCTIONS_INTO_FLASH=y CONFIG_RINGBUF_PLACE_FUNCTIONS_INTO_FLASH=y
CONFIG_FREERTOS_PLACE_FUNCTIONS_INTO_FLASH=y CONFIG_FREERTOS_PLACE_FUNCTIONS_INTO_FLASH=y
CONFIG_FREERTOS_PLACE_SNAPSHOT_FUNS_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

View File

@@ -25,7 +25,7 @@ dependencies:
idf: idf:
source: source:
type: idf type: idf
version: 5.4.2 version: 5.5.1
direct_dependencies: direct_dependencies:
- espressif/lan867x - espressif/lan867x
- espressif/mdns - espressif/mdns

View File

@@ -12,7 +12,7 @@ dependencies:
idf: idf:
source: source:
type: idf type: idf
version: 5.4.2 version: 5.5.1
direct_dependencies: direct_dependencies:
- espressif/mdns - espressif/mdns
- idf - idf

View File

@@ -12,7 +12,7 @@ dependencies:
idf: idf:
source: source:
type: idf type: idf
version: 5.4.2 version: 5.5.1
direct_dependencies: direct_dependencies:
- espressif/mdns - espressif/mdns
- idf - idf

View File

@@ -12,7 +12,7 @@ dependencies:
idf: idf:
source: source:
type: idf type: idf
version: 5.4.2 version: 5.5.1
direct_dependencies: direct_dependencies:
- espressif/mdns - espressif/mdns
- idf - idf

View File

@@ -40,7 +40,7 @@ dependencies:
idf: idf:
source: source:
type: idf type: idf
version: 5.4.2 version: 5.5.1
direct_dependencies: direct_dependencies:
- espressif/esp_tinyusb - espressif/esp_tinyusb
- espressif/mdns - espressif/mdns

View File

@@ -40,7 +40,7 @@ dependencies:
idf: idf:
source: source:
type: idf type: idf
version: 5.4.2 version: 5.5.1
direct_dependencies: direct_dependencies:
- espressif/esp_tinyusb - espressif/esp_tinyusb
- espressif/mdns - espressif/mdns