mirror of
https://github.com/micropython/micropython.git
synced 2025-07-21 21:11:12 +02:00
esp32: Update to use ESP-IDF v5.4.1.
This version of the IDF uses about 1KB more IRAM and 1KB more DRAM on most boards, but 6.5KB more DRAM usage on the S3. It seems that's due to a lot of small increases in many components. Signed-off-by: Ihor Nehrutsa <Ihor.Nehrutsa@gmail.com>
This commit is contained in:
committed by
Damien George
parent
e1ab04e820
commit
f48b981567
@@ -31,7 +31,7 @@ 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 ESP-IDF changes quickly and MicroPython only supports certain versions.
|
||||||
Currently MicroPython supports v5.2, v5.2.2, v5.3 and v5.4.
|
Currently MicroPython supports v5.2, v5.2.2, v5.3, v5.4 and v5.4.1.
|
||||||
|
|
||||||
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).
|
||||||
@@ -49,10 +49,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.2.2 --recursive https://github.com/espressif/esp-idf.git
|
$ git clone -b v5.4.1 --recursive https://github.com/espressif/esp-idf.git
|
||||||
```
|
```
|
||||||
|
|
||||||
You can replace `v5.2.2` with any other supported version.
|
You can replace `v5.4.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.)
|
||||||
|
|
||||||
@@ -61,7 +61,7 @@ MicroPython and update the submodules using:
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ cd esp-idf
|
$ cd esp-idf
|
||||||
$ git checkout v5.2.2
|
$ git checkout v5.4.1
|
||||||
$ git submodule update --init --recursive
|
$ git submodule update --init --recursive
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@@ -37,7 +37,7 @@ import sys
|
|||||||
import subprocess
|
import subprocess
|
||||||
from dataclasses import dataclass
|
from dataclasses import dataclass
|
||||||
|
|
||||||
IDF_VERS = ("v5.2.2",)
|
IDF_VERS = ("v5.4.1",)
|
||||||
|
|
||||||
BUILDS = (
|
BUILDS = (
|
||||||
("ESP32_GENERIC", ""),
|
("ESP32_GENERIC", ""),
|
||||||
|
@@ -159,7 +159,7 @@ function ci_cc3200_build {
|
|||||||
# ports/esp32
|
# ports/esp32
|
||||||
|
|
||||||
# GitHub tag of ESP-IDF to use for CI (note: must be a tag or a branch)
|
# GitHub tag of ESP-IDF to use for CI (note: must be a tag or a branch)
|
||||||
IDF_VER=v5.2.2
|
IDF_VER=v5.4.1
|
||||||
PYTHON=$(command -v python3 2> /dev/null)
|
PYTHON=$(command -v python3 2> /dev/null)
|
||||||
PYTHON_VER=$(${PYTHON:-python} --version | cut -d' ' -f2)
|
PYTHON_VER=$(${PYTHON:-python} --version | cut -d' ' -f2)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user