mirror of
https://github.com/micropython/micropython.git
synced 2025-12-16 01:40:14 +01:00
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:
@@ -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.
|
||||
|
||||
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
|
||||
also supports v5.2, v5.2.2, v5.3, v5.4 and v5.4.1.
|
||||
current recommended version of ESP-IDF for MicroPython is v5.5.1. MicroPython
|
||||
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
|
||||
[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:
|
||||
|
||||
```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
|
||||
`tools/ci.sh` in this repository for more detailed set-up commands.)
|
||||
|
||||
@@ -62,7 +62,7 @@ MicroPython and update the submodules using:
|
||||
|
||||
```bash
|
||||
$ cd esp-idf
|
||||
$ git checkout v5.4.2
|
||||
$ git checkout v5.5.1
|
||||
$ git submodule update --init --recursive
|
||||
```
|
||||
|
||||
|
||||
@@ -16,3 +16,7 @@ CONFIG_COMPILER_OPTIMIZATION_CHECKS_SILENT=y
|
||||
CONFIG_RINGBUF_PLACE_FUNCTIONS_INTO_FLASH=y
|
||||
CONFIG_FREERTOS_PLACE_FUNCTIONS_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
|
||||
|
||||
@@ -25,7 +25,7 @@ dependencies:
|
||||
idf:
|
||||
source:
|
||||
type: idf
|
||||
version: 5.4.2
|
||||
version: 5.5.1
|
||||
direct_dependencies:
|
||||
- espressif/lan867x
|
||||
- espressif/mdns
|
||||
|
||||
@@ -12,7 +12,7 @@ dependencies:
|
||||
idf:
|
||||
source:
|
||||
type: idf
|
||||
version: 5.4.2
|
||||
version: 5.5.1
|
||||
direct_dependencies:
|
||||
- espressif/mdns
|
||||
- idf
|
||||
|
||||
@@ -12,7 +12,7 @@ dependencies:
|
||||
idf:
|
||||
source:
|
||||
type: idf
|
||||
version: 5.4.2
|
||||
version: 5.5.1
|
||||
direct_dependencies:
|
||||
- espressif/mdns
|
||||
- idf
|
||||
|
||||
@@ -12,7 +12,7 @@ dependencies:
|
||||
idf:
|
||||
source:
|
||||
type: idf
|
||||
version: 5.4.2
|
||||
version: 5.5.1
|
||||
direct_dependencies:
|
||||
- espressif/mdns
|
||||
- idf
|
||||
|
||||
@@ -40,7 +40,7 @@ dependencies:
|
||||
idf:
|
||||
source:
|
||||
type: idf
|
||||
version: 5.4.2
|
||||
version: 5.5.1
|
||||
direct_dependencies:
|
||||
- espressif/esp_tinyusb
|
||||
- espressif/mdns
|
||||
|
||||
@@ -40,7 +40,7 @@ dependencies:
|
||||
idf:
|
||||
source:
|
||||
type: idf
|
||||
version: 5.4.2
|
||||
version: 5.5.1
|
||||
direct_dependencies:
|
||||
- espressif/esp_tinyusb
|
||||
- espressif/mdns
|
||||
|
||||
Reference in New Issue
Block a user