Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ESP32 IDF 4.3, 4.4 due for deprecation #2732

Open
mikee47 opened this issue Mar 15, 2024 · 3 comments
Open

ESP32 IDF 4.3, 4.4 due for deprecation #2732

mikee47 opened this issue Mar 15, 2024 · 3 comments
Milestone

Comments

@mikee47
Copy link
Contributor

mikee47 commented Mar 15, 2024

I'm raising this issue so we can decide when to remove IDF 4.3, 4.4 support from the codebase.

According to https://github.com/espressif/esp-idf 4.3 is no longer supported and 4.4 support ends in August.
New designs should be using version 5.2.
The current default installed version (using the Sming install scripts) is IDF 4.4.

IDF v5.2 is now out of Beta and I've merged the latest release into the Sming fork at https://github.com/mikee47/esp-idf.
Existing 5.2-beta installations can be updated as follows:

cd /opt/esp-idf
git pull
git submodule update --init --recursive
@mikee47
Copy link
Contributor Author

mikee47 commented Mar 15, 2024

Note: Currently CI testing is failing for v5.2 release due to deprecation warnings. These will be addressed shortly.

Everything passes except my USB library. A load of low-level HAL code has been ripped out of 5.2 so will take some work to sort out. I'll probably block it from building with IDF 5.2 in the meantime.

@slaff
Copy link
Contributor

slaff commented Mar 15, 2024

when to remove IDF 4.3, 4.4 support from the codebase.

We can deprecate them in 5.2 and remove them officially in 6.0. 6.0 can be the next version after 5.2.
Are there any known issues with IDF > 4.4 and Sming?

@mikee47
Copy link
Contributor Author

mikee47 commented Mar 17, 2024

Are there any known issues with IDF > 4.4 and Sming?

Not to my knowledge. Main issue will likely be existing projects using IDF code directly so dependent on a specific IDF version.

slaff pushed a commit that referenced this issue Jun 3, 2024
This PR updates the embedded toolchains to more recent versions, setting the new default installed version for Esp32 to IDF 5.2. The library testing github actions script has been updated to include missing esp32c2 architecture and test against IDF 4.4 and 5.2.

**Esp32 IDF SDK**

The installation scripts now install IDF version 5.2 by default (see issue #2784 regarding docker build failure because of Y2038 warning with IDF < 5).
Deprecation warnings printed for IDF 4.3 and 4.4 after final link step. See #2732 for discussion regarding old versions.
Windows CI tests for IDF 4.3, 5.0 removed.

**Extend library tests to include missing esp32 variants**

CI testing when developing libraries is much more efficient than running the main Sming CI tests.
Looks like these haven't been updated for a while so have added the `esp32s3` and `esp32c2` variants
and testing against IDF 5.2 for all esp32 variants. Previously was only 4.4 (old default).

**Esp8266 Toolchain**

The installer has been updated to use the latest toolchain (Feb 23), gcc 10.3.

**RP2040 Toolchain**

The installer has been updated to use the latest toolchain (Oct 23), gcc 13.2.
@slaff slaff added this to the 5.2.0 milestone Jun 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants