ESP32 Arduino 2.0.2 based on ESP-IDF 4.4-beta1
The Arduino ESP32 version 2.0.2 based on the ESP-IDF v4.4-beta1 includes mainly peripheral APIs refactoring, improvements and bug fixes.
Here is a summary of the major changes.
Peripherals refactored to use ESP-IDF APIs:
- Timer
- LedC
- DAC
- RMT
- SigmaDelta
Improvements:
- Boards added and some updated (TTGO-LoRa32, Adafruit boards, DPU ESP32...)
- Added Sonoff DUALR3 support with RainMaker example
- GPIO defines for C3 added
- Github CLI workflow updates
- Added support to change LoopTask Stack size
- New Documentation added (USB, GPIO, Arduino as component)
Bugfixes:
- I2C Clock stretching
- SD card status check
- Baudrate with CPU Freq < 80MHz
- SetCpuFrequencyMhz() changes Serial bauds if frequency<80Mhz
- Lib Builder compiling errors
- WiFiSecureClient memory leaks when SSL/TLS connection fails
- Change default WiFi STA encryption to WIFI_AUTH_WPA2_PSK
- Forces UART Flush() to wait until all bits are sent
See all bug fixes in the complete changelog below.
What's Changed
See the complete changelog down below:
- Fix compiler.libraries.ldflags Option by @tanakamasayuki in #5866
- [Docs] Add link to supported soc list on README and ESP32-S3 datasheet by @pedrominatel in #5891
- Fix compilation error of Deneyap Mini Board by @zeynepdicle in #5903
- cbuf: allow inheritance by @FrankBoesing in #5883
- Fix I2C clock stretching issue with ESP32 by @me-no-dev in #5910
- IDF release/v4.4 by @me-no-dev in #5911
- [DOCS] Editing usage of Arduino as a component in ESP-IDF by @P-R-O-C-H-Y in #5896
- [Docs] Update on the Windows install procedures by @pedrominatel in #6018
- Update boards.txt for Adafruit Feather ESP32-S2 by @hathach in #6006
- SD Card status check fix by @P-R-O-C-H-Y in #5988
- Delete .travis.yml file. by @Ouss4 in #5987
- Correct the execute bit of some files. by @Ouss4 in #5986
- .github/workflows: Update checkout and setup-python actions to their V2 version. by @Ouss4 in #5985
- Update Boards.txt by @woodif in #5984
- Prevent self hosted jobs to run on forks. by @Ouss4 in #5983
- [Feature] Added Sonoff DUALR3 support with RainMaker example by @pedrominatel in #5980
- Merged all TTGO-LoRa32 Board profiles (see #5933) by @tobozo in #5961
- Use WIFI_FAST_SCAN if a specific channel was used by @obaterspok in #5975
- Don't clear custom HTTP headers on redirect in HTTPClient by @wojtekka in #5973
- add board variant for WT32-ETH01 (wt32-eth01) from Wireless-Tag by @mondbaron in #5946
- [DOCS] Writing a new Arduino documentation about GPIO by @halyssonJr in #5894
- Implement Timer based on ESP-IDF API by @P-R-O-C-H-Y in #5931
- MD5Builder update for esp_rom API usage by @atanisoft in #5941
- Add DPU ESP32 variant by @TAMCTec in #5884
- Fix for BluetoothSerial build when using nimBLE instead of Bluedroid by @JakubRybakowski in #5920
- Fix WiFiSecureClient memory leaks when SSL/TLS connection fails by @ppescher in #5945
- Adding Issue and Feature template by @VojtechBartoska in #5999
- using ksz8081 only from ESP-IDF 4.4 onwards by @vitorrussi in #5918
- Refactoring TwoWire::requestFrom() headers in Wire.cpp by @Maelstrom96 in #5935
- IDF release/v4.4 by @me-no-dev in #5996
- Add some more adafruit boards and fix some board typos by @ladyada in #6014
- Change default WiFi STA encryption to WIFI_AUTH_WPA2_PSK by @me-no-dev in #6022
- Implement DAC based on ESP-IDF API by @P-R-O-C-H-Y in #5959
- Forces UART Flush() to wait until all bits are sent by @SuGlider in #6026
- Adds support to change LoopTask Stack size by @SuGlider in #6025
- [Fix] Added the Win32 not supported notice/warning by @pedrominatel in #6031
- fix variant wt32-eth01 (initializer not constant) by @mondbaron in #6040
- HID_BRAILLE_DISPLAY by @discapacidad5 in #6043
- Implement LEDC based on ESP-IDF API by @P-R-O-C-H-Y in #6045
- Fixes baudrate with CPU Freq < 80MHz by @SuGlider in #6037
- [Docs] Added USB documentation by @pedrominatel in #6036
- [Examples] README revision to include missing and remove old entries by @pedrominatel in #6049
- RMT refactoring based on IDF by @SuGlider in #6024
- IDF release/v4.4 by @me-no-dev in #6048
- Update pinout for two adafruit boards by @ladyada in #6050
- add GPIO defines for C3 by @NiklasVoigt in #6005
- Fixes Lib Builder compiling errors by @SuGlider in #6052
- Implement SigmaDelta based on ESP-IDF API by @P-R-O-C-H-Y in #6053
New Contributors
A special thank you to all new contributors!
- @Ouss4 made their first contribution in #5987
- @obaterspok made their first contribution in #5975
- @wojtekka made their first contribution in #5973
- @mondbaron made their first contribution in #5946
- @halyssonJr made their first contribution in #5894
- @TAMCTec made their first contribution in #5884
- @JakubRybakowski made their first contribution in #5920
- @vitorrussi made their first contribution in #5918
- @Maelstrom96 made their first contribution in #5935
- @discapacidad5 made their first contribution in #6043
- @NiklasVoigt made their first contribution in #6005
Full Changelog: 2.0.1...2.0.2
To see how to contribute to the Arduino ESP32 project, see this reference: Contributing