Skip to content

Commit 10ef3e4

Browse files
committed
esp32: Update to use ESP-IDF v5.4.2.
This is a patch release of the IDF. Comparing with 5.4.1, firmware size is up by about 1.5k on ESP32 and 9k on ESP32-S3. But IRAM usage (of the IDF) is down by about 500 byte on ESP32 and DRAM usage is down by about 20k on ESP32 and 10k on ESP32-S3. Testing on ESP32, ESP32-S2, ESP32-S3 and ESP32-C3 shows no regressions, except in BLE MTU ordering (the MTU exchange event occuring before the connect event). Signed-off-by: Damien George <[email protected]>
1 parent 1ab1f85 commit 10ef3e4

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

ports/esp32/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ manage the ESP32 microcontroller, as well as a way to manage the required
3131
build environment and toolchains needed to build the firmware.
3232

3333
The ESP-IDF changes quickly and MicroPython only supports certain versions.
34-
Currently MicroPython supports v5.2, v5.2.2, v5.3, v5.4 and v5.4.1.
34+
Currently MicroPython supports v5.2, v5.2.2, v5.3, v5.4, v5.4.1 and v5.4.2.
3535

3636
To install the ESP-IDF the full instructions can be found at the
3737
[Espressif Getting Started guide](https://docs.espressif.com/projects/esp-idf/en/latest/esp32/get-started/index.html#installation-step-by-step).
@@ -49,10 +49,10 @@ The steps to take are summarised below.
4949
To check out a copy of the IDF use git clone:
5050

5151
```bash
52-
$ git clone -b v5.4.1 --recursive https://github.com/espressif/esp-idf.git
52+
$ git clone -b v5.4.2 --recursive https://github.com/espressif/esp-idf.git
5353
```
5454

55-
You can replace `v5.4.1` with any other supported version.
55+
You can replace `v5.4.2` with any other supported version.
5656
(You don't need a full recursive clone; see the `ci_esp32_setup` function in
5757
`tools/ci.sh` in this repository for more detailed set-up commands.)
5858

@@ -61,7 +61,7 @@ MicroPython and update the submodules using:
6161

6262
```bash
6363
$ cd esp-idf
64-
$ git checkout v5.4.1
64+
$ git checkout v5.4.2
6565
$ git submodule update --init --recursive
6666
```
6767

ports/esp32/tools/metrics_esp32.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
import subprocess
3838
from dataclasses import dataclass
3939

40-
IDF_VERS = ("v5.4.1",)
40+
IDF_VERS = ("v5.4.2",)
4141

4242
BUILDS = (
4343
("ESP32_GENERIC", ""),

tools/ci.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ function ci_cc3200_build {
169169
# ports/esp32
170170

171171
# GitHub tag of ESP-IDF to use for CI (note: must be a tag or a branch)
172-
IDF_VER=v5.4.1
172+
IDF_VER=v5.4.2
173173
PYTHON=$(command -v python3 2> /dev/null)
174174
PYTHON_VER=$(${PYTHON:-python} --version | cut -d' ' -f2)
175175

0 commit comments

Comments
 (0)