-
Notifications
You must be signed in to change notification settings - Fork 272
esp32: add support for ESP-IDF v5.5 #140
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
base: master
Are you sure you want to change the base?
Conversation
Memory usage change @ e0d26d1
Click for full report table
Click for full report CSV
|
After reviewing this PR again today, I noticed a minor simplification to my original changes. Pushed separately for review, but I would be happy to see it squashed it into the previous commit before merging. |
Memory usage change @ bc04784
Click for full report table
Click for full report CSV
|
Pushed another fix that probably would cause a minor regression with 4.x. That said, I doubt anyone actually detaches servos in practice, as repeated attach/detach cycles will quickly exhaust the available slots. Fixing that remains an open problem for another PR and probably deserves to be solved by factoring the solution into common code that could be used by other chips that use the same allocation strategy. Other sections of the code offer similar opportunities for re-use, so I personally don' t want to start tugging on that thread.... |
Memory usage change @ a7c277b
Click for full report table
Click for full report CSV
|
I went ahead and flattened my follow-up fixes and and update the branch. |
Memory usage change @ b707ac5
Click for full report table
Click for full report CSV
|
This PR improves the newly merged ESP32 support from #139 by adding compatibility for the newer ESP-IDF v5.x. The version now in
master
uses the older variants of the LEDC APIs, which received incompatible changes as described in the Arduino ESP32 project's 2.x-to-3.0 migration guide.These changes aim to provide compatibility with both versions of
arduino-esp32
, though I have only tested them with the newer version.