Skip to content

Commit

Permalink
esp32: Change minimum supported IDF version to v5.0.4.
Browse files Browse the repository at this point in the history
Also, IDF v5.1.2 is now supported, just not used by default.

IDF v5.0.2 still builds but we cannot guarantee continued support for this
version moving forward.

Signed-off-by: IhorNehrutsa <[email protected]>
  • Loading branch information
IhorNehrutsa authored and dpgeorge committed Dec 11, 2023
1 parent d0758d8 commit 4365edb
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions ports/esp32/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ 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.
Currently MicroPython supports only v5.0.2.
Currently MicroPython supports v5.0.4, v5.1.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).
Expand All @@ -46,10 +46,10 @@ The steps to take are summarised below.
To check out a copy of the IDF use git clone:

```bash
$ git clone -b v5.0.2 --recursive https://github.com/espressif/esp-idf.git
$ git clone -b v5.0.4 --recursive https://github.com/espressif/esp-idf.git
```

You can replace `v5.0.2` with any other supported version.
You can replace `v5.0.4` 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.)

Expand All @@ -58,7 +58,7 @@ MicroPython and update the submodules using:

```bash
$ cd esp-idf
$ git checkout v5.0.2
$ git checkout v5.0.4
$ git submodule update --init --recursive
```

Expand Down
2 changes: 1 addition & 1 deletion ports/esp32/main_esp32/idf_component.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
dependencies:
espressif/mdns: "~1.1.0"
idf:
version: ">=5.0.2"
version: ">=5.0.4"
2 changes: 1 addition & 1 deletion ports/esp32/main_esp32c3/idf_component.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
dependencies:
espressif/mdns: "~1.1.0"
idf:
version: ">=5.0.2"
version: ">=5.0.4"
2 changes: 1 addition & 1 deletion ports/esp32/main_esp32s2/idf_component.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ dependencies:
espressif/mdns: "~1.1.0"
espressif/esp_tinyusb: "~1.0.0"
idf:
version: ">=5.0.2"
version: ">=5.0.4"
2 changes: 1 addition & 1 deletion ports/esp32/main_esp32s3/idf_component.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ dependencies:
espressif/mdns: "~1.1.0"
espressif/esp_tinyusb: "~1.0.0"
idf:
version: ">=5.0.2"
version: ">=5.0.4"
2 changes: 1 addition & 1 deletion tools/ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ function ci_cc3200_build {
# ports/esp32

# GitHub tag of ESP-IDF to use for CI (note: must be a tag or a branch)
IDF_VER=v5.0.2
IDF_VER=v5.0.4

export IDF_CCACHE_ENABLE=1

Expand Down

0 comments on commit 4365edb

Please sign in to comment.