Fixes errors and typos in the Arduino component for the esp-idf framework #6474
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
This PR fixes typos and fatal errors caused by either typos or missing files while building a generic ESP32 project that uses the Arduino Component.
The affected files are in the path
arduino/cores/esp32
andarduino/libraries/WiFi/src
Impact
This PR fixes errors and typos in the esp-idf framework and its Arduino component allowing you to build not without warnings.
Related links
As of today, 23rd March 2022, Platformio uses esp-idf v3.x that clashes with the version used by the Arduino component v4.x. To solve the previous problem you will need to modify
platformio.ini
accordingly to the following pull request platformio/platform-espressif32#711Open Problem
I have not found yet anything to fix some problems that arise from
arduino/cores/esp32/wiring_digital.c
. I wrote aarduino/cores/esp32/wiring_digital.h
but I have not figured out how to fix the various problems.