From fbb02d3aeeaa9da082f3ccd411d8e164a526046e Mon Sep 17 00:00:00 2001 From: Angus Gratton Date: Tue, 23 Jul 2024 11:57:13 +1000 Subject: [PATCH] esp32: Add support for ESP-IDF v5.2.2. Keeping older versions, however if the update goes well then these may be dropped in the future. Signed-off-by: Angus Gratton --- ports/esp32/README.md | 8 ++++---- tools/ci.sh | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/ports/esp32/README.md b/ports/esp32/README.md index 2e03c55d3d..a04ad0c6ee 100644 --- a/ports/esp32/README.md +++ b/ports/esp32/README.md @@ -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 v5.0.4, v5.0.5, v5.1.2, v5.2.0. +Currently MicroPython supports v5.0.4, v5.0.5, v5.1.2, v5.2.0, v5.2.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). @@ -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.4 --recursive https://github.com/espressif/esp-idf.git +$ git clone -b v5.2.2 --recursive https://github.com/espressif/esp-idf.git ``` -You can replace `v5.0.4` with any other supported version. +You can replace `v5.2.2` 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.) @@ -58,7 +58,7 @@ MicroPython and update the submodules using: ```bash $ cd esp-idf -$ git checkout v5.0.4 +$ git checkout v5.2.2 $ git submodule update --init --recursive ``` diff --git a/tools/ci.sh b/tools/ci.sh index b0a1022c3b..03b6bf59ae 100755 --- a/tools/ci.sh +++ b/tools/ci.sh @@ -116,7 +116,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.4 +IDF_VER=v5.2.2 export IDF_CCACHE_ENABLE=1