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

Fixes for esp32-arduino 3.0 (and add library.properties) #35

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

egnor
Copy link

@egnor egnor commented Jun 17, 2024

The newest release of the ESP32 core for Arduino (3.x) comes with some breaking changes. Among other things, the underlying ESP-IDF updated from 4.4 to 5.1, in turn updating mbed TLS from v2.28.x to v3.x, which has its own breaking changes.

In particular, mbedtlx_md5_{starts,update,finish}_ret were renamed to the same name without _ret, which affects this code. This change adds conditional #defines and should work on either version.

Also, the ets_printf logging utility seems to have gone away; I can't actually find its previous documentation. I replaced some calls with the documented ESP_LOGE macro.

Finally, per #34 I incorporated a library.properties file, without which it would be hard for me to test these changes.

@mathieucarbou
Copy link

FYI, the AsyncTCP lib also has to be updated.

I am maintaining since a few months now a fork which is more up to date, compatible with Arduino 2 and 3, and which is already used in many big projects around.

https://github.com/mathieucarbou/ESPAsyncWebServer

@egnor
Copy link
Author

egnor commented Jun 21, 2024

(so I should consider this branch defunct?)

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

Successfully merging this pull request may close these issues.

None yet

2 participants