Skip to content

Releases: espressif/esp-idf

ESP-IDF Release v4.4.6

29 Sep 03:31
v4.4.6
Compare
Choose a tag to compare

Documentation for IDF v4.4.6 is available at https://docs.espressif.com/projects/esp-idf/en/v4.4.6/

ESP-IDF v4.4.6 is a bugfix update for ESP-IDF v4.4.

Obtaining v4.4.6

For full installation instructions, see the ESP-IDF Programming Guide.

The source files attached to this release will not work due to our use of git submodules. Use one of the following methods instead:

Using git

To get this release, use the following commands:

git clone -b v4.4.6 --recursive https://github.com/espressif/esp-idf.git esp-idf-v4.4.6
cd esp-idf-v4.4.6/

This is the recommended way of obtaining v4.4.6 of ESP-IDF.

Download an archive with submodules included

Attached to this release is an esp-idf-v4.4.6.zip archive. It includes .git directory and all the submodules, so can be used out of the box. This archive is provided for users who have connectivity issues preventing them from cloning from GitHub.

This archive can also be downloaded from Espressif's download server:
https://dl.espressif.com/github_assets/espressif/esp-idf/releases/download/v4.4.6/esp-idf-v4.4.6.zip

This is the list of changes since release v4.4.5:

Major Bug Fixes

  • Spi Flash: Fixed concurrency issue when concurrently calling esp_flash APIs under XIP_PSRAM or Auto-suspend condition (48e848c)
  • Fixed dangerous power parameters in sleep modes on ESP32-S2 (e055097)

Changelog

Bluetooth Low Energy (BLE)

Bluetooth Low Energy Controller

Added

  • Add comments to the header files for ESP32-C3 and ESP32-S3 to support CI (8c1e87e)

Fixed

  • Fixed PHY enable and disable for BLE controller on ESP32-C3 and ESP32-S3 (1cb288e)
  • Fixed advertising random delay when advertising interval is less than 20ms on ESP32-C3 and ESP32-S3 (1cb288e)
  • Fixed advertising random address setting when owner address type is public on ESP32-C3 and ESP32-S3 (1cb288e)
  • Fixed instant setting for BLE LLC procedures with instants on ESP32 (1cb288e)
  • Fixed advertising random delay when advertising interval is less than 20ms on ESP32 (1cb288e)
  • Fixed BLE disconnection delay on peripheral when slave latency is not zero on ESP32 (efdd085)
  • Fixed BLE LLCP initialization for central and peripheral on ESP32 (efdd085)
  • Fixed sent command status event twice for disconnect command on ESP32 (efdd085)
  • Fixed BLE disconnection failure on ESP32 (efdd085)
  • Fixed disconnection due to consecutive CRC errors in first 6 intervals on ESP32 (efdd085)
  • Fixed crash when controller initialization fails due to insufficient memory on ESP32-C3 and ESP32-S3 (b4c06ed)
  • Fixed memory leak when setting adv data on ESP32. (62387d8)

ESP Bluedroid Host

Added

  • Bluedroid: Support LE GATT service database hash calculate (ec205a7)
  • Bluedroid: Support LE GATT robust caching feature (ec205a7)
  • Bluedroid: Support LE periodic advertising sync transfer (ec205a7)
  • Bluedroid: Support LE L2CAP credit based connection (ec205a7)
  • Bluedroid: Support SMP OOB pairing for LE secure connection (ec205a7)
  • Bluedroid: Added internal GATT API for BLE PTS (ec205a7)
  • Bluedroid: Added characteristics for LE GAP and GATT service (ec205a7)
  • Bluedroid: Added BLE GATTS local database print API (ec205a7)
  • Bluedroid: Added BLE periodic advertising sync transfer API and EVT (ec205a7)
  • Bluedroid: Added GATTC read multiple variable length characteristic API and EVT (ec205a7)
  • Bluedroid: Support periodic ADI feature (1cb288e)
  • Bluedroid: Added a log statement to print the Bluetooth MAC address (922af41)
  • Bluedroid: Support high duty advertising interval setting (1cb288e)

Changed

  • Bluedroid: Update comments in BLE (1cb288e)
  • Bluedroid: Report BLE disconnect event after BLE link closed (1cb288e)

Fixed

  • Bluedroid: Fixed an issue where memory resources were not properly released when devices disconnected (e9d442d)
  • Bluedroid: Fixed GATT multiple notifications and robust caching (ec205a7)
  • Bluedroid: Fixed address check when using NRPA as random device address (1cb288e)
  • Bluedroid: Fixed BLE GATTC cache address saving when the cache list is full (1cb288e)
  • Bluedroid: Fixed bug while calculating block cipher using aes-128 (1cb288e)
  • Bluedroid: Fixed timeout error when updating connection params (1cb288e)
  • Bluedroid: Fixed connection parameter validation error (1cb288e)
  • Bluedroid: Prohibiting the enablement of privacy uring non-connected activities to comply with the protocol specifications (8c1e87e)
  • Bluedroid: Fixed issues about data length is 0 when setting extend advertising data, extend scan response data and periodic advertising data (8c1e87e)
  • Bluedroid: Fixed GATT control block free when disconnecting (2dd51c1)
  • Bluedroid: Fixed GATTC database cache free when disconnecting (2dd51c1)
  • Bluedroid: Fixed compile warning when optimize for performance (2dd51c1)
  • Bluedroid: Fixed the issue of setting BLE advertising data incorrectly when the data length is 0 (922af41)
  • Bluedroid: Fixed BLE default extended connection parameters (efdd085)

ESP NimBLE Host

Added

  • Nimble: Added checks before accessing event pointers (48e28cf)
  • Nimble: Added an example of Bluetooth LE using auto light sleep (7053e48)
  • Nimble: Added ble_gap_ext_adv_active() to check if extended advertising instance is active or not. (58544cf)
  • feat(nimble): Added support for high duty adv interval (d89b1e4)

Changed

  • Nimble: Added change to expose addr resolution API outside stack (1caaee9)

Fixed

  • fix(nimble): add flag to indicate 5.0 feature support (1f00708)
  • Nimble: Removes global min/max definition causing problems with other libraries (bd5f10b)
  • fix(nimble): Added check to set length only if data is valid in periodic adv (1282ae0)
  • fix(nimble): Updated connection type in reattempt connection code (8d35a47)
  • fix(nimble): Added debug code to print HCI events information (99279e7)
  • fix(nimble): Fixed assert due to controller event while stack deinit (e57938a)

Removed

  • Nimble: Removed indicate flag from gatt db and added subscription case in spp_server example (4c17059)

BluFi

Fixed

  • Fixed compilation issue in blufi for nimble (aca729a)

Other Profile

Fixed

  • HID: Fixed BLE HID battery level setting (efdd085)

Classic Bluetooth

Classic Bluetooth Bluedroid Host

Fixed

  • Bluedroid: Fixed crash resulting from access of NULL pointer after A2DP disconnection (62387d8)
  • Bluedroid: Fixed the unexpected use of 3-EV3 packet type in HFP when Wide-Band Speech is disabled, by revising the (e)SCO configuration parameter sets according to HFP_v1.8. (a7c4610)
  • Bluedroid: Fixed the alarm leak which is caused by not releasing the timer during A2DP and HF-AG deinitialization. (ddae361)
  • Bluedroid: Fixed the problem of memory access out-of-bounds in HFP caused by the variable-length array introduced in 3268075. (#11264) (4a4fea5)
  • Bluedroid: Fixed the inconsistency between the indicator event received by the HF application layer and the actually received indicator. (#6486) (ff4ae8d)
  • Bluedroid: Fixed the issue in A2DP source example that the a2dp source would not send the media start command due to the connection initiated by the peer device.(#11170) (01cc59c)
  • Bluedroid: Fixed the crash of A2DP source when it connects to Bose speaker. This is caused by the crossed incoming- and outcoming-AVDT procedures and solved by separating the processing of the different directions. (4462c00)
  • Bluedroid: Fixed incorrect handling of A2DP set configuration command when response with error code INVALID_CODEC_TYPE is expected (c2ddb5b)
  • Bluedroid: Modified the number of SDP maximum connections from 2 to 4 to avoid connection exhaustion. (37cf841)

Removed

  • Bluedroid: Removed the incorrectly defined HCI error code ESP_BT_STATUS_HCI_PENDING. (d1f9377)

Classic Bluetooth Controller

Fixed

  • Fixed failure of re-connection after ACL link is disconnected but host continues to send ACL data to controller on ESP32 (62387d8)
  • Fixed memory exhaustion resulted from repetitive unhandled event LC_AFH_UPDATE_IND on ESP32 (62387d8)
  • Fixed link disconnection during sniff negotiation due to invalid D_sniff value on ESP32 (62387d8)
  • Fixed Central not being able to handle the procedure collision between remote Peripheral's role switch request and local initiated encryption mode request on ESP32. (9e987ea)
  • Fixed error in HCI_Change_Connection_Packet_Type Command parameter check on ESP32 (1cb288e)
  • Fixed error in HCI_Accept_Synchronous_Connection_Request Command parameter check on ESP32 (1cb288e)
  • Fixed error in HCI_Set_Connectionless_Peripheral_Broadcast_Data Command parameter check on ESP32 (1cb288e)

PHY

Changed

  • Optimized WIFI RX performance under multipath interference environment(0fc94b1)
  • Optimized BLE TX sideband interference for ESP32-C3/ESP32-S3(0fc94b1)
  • Optimized Wi-Fi HT40 TX sideband interference(0fc94b1)

Fixed

  • Fixed WiFi not working with temperature sensor on ESP32-S2(0fc94b1)

Wi-Fi

Added

  • Added new API to get RSSI info after station connected to AP.(c739cdf)

Changed

  • Updated SoftAP pairwise cipher(cc71308)

Fixed

  • Fixed association refused temporarily comeback time set to zero issue.(c739cdf)
  • Fixed crash in use of esp_wifi_action_tx_req() (c739cdf)
  • Fixed SoftAP mode NVS <ssid,password,pmk> not matching issue. (ad08d94)

ESP-WIFI-MESH

Fixed

  • ESP-WIFI-MESH: Fixed the layer2 node scan issue when fixed root (8756d95)

Supplicant

Fixed

  • ...
Read more

ESP-IDF Release v5.0.4

15 Sep 12:50
v5.0.4
Compare
Choose a tag to compare

Documentation for IDF v5.0.4 is available at https://docs.espressif.com/projects/esp-idf/en/v5.0.4/

ESP-IDF v5.0.4 is a bugfix update for ESP-IDF v5.0.

Obtaining v5.0.4

For full installation instructions, see the ESP-IDF Programming Guide.

The source files attached to this release will not work due to our use of git submodules. Use one of the following methods instead:

Using git

To get this release, use the following commands:

git clone -b v5.0.4 --recursive https://github.com/espressif/esp-idf.git esp-idf-v5.0.4
cd esp-idf-v5.0.4/

This is the recommended way of obtaining v5.0.4 of ESP-IDF.

Download an archive with submodules included

Attached to this release is an esp-idf-v5.0.4.zip archive. It includes .git directory and all the submodules, so can be used out of the box. This archive is provided for users who have connectivity issues preventing them from cloning from GitHub.

This archive can also be downloaded from Espressif's download server:
https://dl.espressif.com/github_assets/espressif/esp-idf/releases/download/v5.0.4/esp-idf-v5.0.4.zip

Changelog

This is the list of changes since release v5.0.3:

Bluetooth Low Energy (BLE)

Bluetooth Low Energy Controller

Added

  • Added comments to the header files for esp32c3 and esp32s3 to support CI (01871aa)

Fixed

  • Fixed BLE disconnection delay on peripheral when slave latency is not zero on ESP32 (40aac86)
  • Fixed BLE LLCP initialization for central and peripheral on ESP32 (40aac86)
  • Fixed sent command status event twice for disconnect command on ESP32 (40aac86)
  • Fixed crash when controller initialization fails due to insufficient memory on ESP32-C3 and ESP32-S3 (40aac86)
  • Fixed memory leak when setting ADV data on ESP32 (d3031dd)

ESP Bluedroid Host

Added

  • Bluedroid: Added support of NULL check while allocating the memory in the transport layer of the Bluedroid host. (1812fdc)
  • Bluedroid: Added a log statement to print the Bluetooth MAC address (1853b46)

Fixed

  • Bluedroid: Prohibiting the enablement of privacy uring non-connected activities to comply with the protocol specifications (01871aa)
  • Bluedroid: Fixed issues about data length is equal to 0 when setting extend ADV data, extend scan response data and periodic ADV data (01871aa)
  • Bluedroid: Fixed GATTC database cache free when disconnecting (55976a5)
  • Bluedroid: Fixed compile warning when optimize for performance (55976a5)
  • Bluedroid: Fixed the issue of setting BLE advertising data incorrectly when the data length is 0 (1853b46)
  • Bluedroid: Fixed BLE default extended connection parameters (40aac86)

ESP NimBLE Host

Added

  • Nimble: Added checks before accessing event pointers (52890ae)
  • Nimble: Added health thermometer profile (baecf8d)
  • Nimble: Added check to set length only if data is valid in perdioic adv (2f7ccb7)
  • Nimble: Added Example Walkthrough tutorial for Multi Adv example (35b6a54)
  • Nimble: Added Example Walkthrough tutorial for HTP example in nimble (f833ea4)

Changed

  • fix(nimble): Updated Menuconfig option to remove separate 5.2 feature option (339dff0)
  • fix(nimble): Updated connection type in reattempt connection code (5fb0d55)
  • doc(nimble): Updated Kconfig help section for Example Ext Adv (6211d5a)
  • Nimble: Increased the number of semaphore count for allocation (ff9b958)
  • Nimble: Added change to expose addr resolution API outside stack (82ce7dc)

Fixed

  • Nimble: Fixed L2CAP COC application for sending more than one packet of data (9ec33f6)
  • fix(nimble): Fixed assert due to controller event while stack deinit (67f6b66)
  • fix(Nimble): Expose API to clear all addresses in whitelist out of stack (007ae93)
  • Nimble: Fixed setting macro values based on selected configuration (c68e7ea)
  • Nimble: Corrected conditional check during connection to handle failure case (e71bab2)

Removed

  • Nimble: Removed the extra status field in the enh read transmit power level (b541a23)

ESP-BLE-Mesh

Added

  • Added support for Duplicate Scan Exceptional list for NimBLE Host (60acb32)

Other Profile

Fixed

  • HID: Fixed BLE HID battery level setting (40aac86)

Classic Bluetooth

Classic Bluetooth Bluedroid Host

Added

  • Bluedroid: Add instructions and diagrams on the execution workflow for examples bt_l2cap_server and bt_l2cap_client. (08c6c90)
  • Bluedroid: Added option whether to include or exclude device name in extended inquiry response data (1baf105)

Changed

  • Bluedroid: Updated AVRCP version to v1.5. (7c149c9)
  • Bluedroid: Improved documents for Bluetooth HID Host API reference. (12d9baf)
  • Bluedroid: Modified the number of SDP maximum connections from 2 to 4 to avoid connection exhaustion. (87d429f)

Fixed

  • Bluedroid: Fixed crash resulting from access of NULL pointer after A2DP disconnection. (d3031dd)
  • Bluedroid: Fixed SDP not being able to configure 32-bit and 128-bit UUID (#11572) (095bb9f)
  • Bluedroid: Fixed the alarm leak which is caused by not releasing the timer during A2DP and HF-AG deinitialization. (5cb2736)
  • Bluedroid: Fixed the unexpected use of 3-EV3 packet type in HFP when Wide-Band Speech is disabled, by revising the (e)SCO configuration parameter sets according to HFP_v1.8. (10ee738)

Removed

  • Bluedroid: Removed an incorrectly defined HCI error code. (16aef4b)

Classic Bluetooth Controller

Fixed

  • Fixed memory exhaustion resulted from repetitive unhanded event LC_AFH_UPDATE_IND on ESP32 (d3031dd)
  • Fixed link disconnection during sniff negotiation due to invalid D_sniff value on ESP32 (d3031dd)
  • Fixed failure of re-connection after ACL link is disconnected but host continues to send ACL data to controller on ESP32 (d3031dd)
  • Fixed Central not being able to handle the procedure collision between remote Peripheral's role switch request and local initiated encryption mode request on ESP32. (e6c1c5c)

PHY

Changed

  • Optimized WIFI RX performance under multipath interference environment (80231a8)
  • Optimized BLE TX sideband interference for ESP32-C3/ESP32-S3 (80231a8)
  • Optimized Wi-Fi HT40 TX sideband interference (80231a8)

Coexistence

Fixed

  • Internal coex: Fixed the issue on ESP32-C3/ESP32-S3 when BLE scan when ADV_EXT_IND is received but no AUX_ADV_IND followed, which caused Wi-Fi unable to work normally (2173ff9)

Wi-Fi

Added

  • Added new API to get RSSI info after station connected to AP. (264c807)

Changed

  • Implemented changes to prioritize sending EAP-Failure before de-authentication in WPS registrar. (1a0dc04)

  • Updated the code of how to configure multiple antennas of wifi (2ea4253)

  • The callback of esp_wifi_set_vendor_ie_cb() can be set to NULL now. (264c807)
    Fixed

  • Fixed association refused temporarily comeback time set to zero issue. (264c807)

Supplicant

Fixed

  • Supplicant: Fixed abstraction violation where use esp_rom_delay_us() (3d99ce2)
  • Supplicant: Ignored EAPOL non-key frames in EAPOL TxDone callback (186b5b4)
  • Supplicant: Fixed EAPOL Key TxDone callback implementation. (92bc2c7)
  • Supplicant: Fixed crash in sending neighbor report request. (98c2bc8)
  • Supplicant: Fixed infrequent issue with the de-initialization and BTM task deletion. (bb89a57)

Wi-Fi MAC

Added

  • MAC: Enable FTM on ESP32-C2 (d8f9786)

Fixed

  • MAC: Fixed the issue that SoftAP will not verify SSID of association request. (c920123)
  • MAC: Fixed some FTM bugs (d8f9786)
  • MAC: Fixed error propagation while initiating FTM (58f2441)
  • MAC: Fixed the issue that the Wi-Fi MAC parse beacon bug when IE length is zero (264c807)
  • MAC: Fixed the issue that the Wi-Fi can not go to sleep caused by MAC waiting for RX/TXING (264c807)

ESP Vendor Feature

Fixed

  • Vendor: Fixed set LR rate fail for ESP-NOW and esp_wifi_80211_tx (closes #11751) (4780221)
  • Vendor: Fixed the RX error when softAP/station and ESP-NOW both encrypted, and the ESP-NOW peer address is equal to the connection peer address. (4780221)

Ethernet

Fixed

  • Fixed the issue that esp32s3 chip fails to initialize eth module DM9051 (086412c)

Peripheral Drivers

Added

  • GPTimer: Add configuration to specify the priority of the alarm interrupt (5e933a8)
  • MCPWM: Make the MCPWM generator's GPIO pull up/down configurable (#11878) (acec0ef)
  • MCPWM: Support MCPWM generator's GPIO open drain output (#11878) (acec0ef)
  • RGB LCD: Support LCD rotation for RGB LCD whose pixel size is one byte (#11581) (74e032e)
  • SPI Master: Added transaction size check to refuse size bigger than hardware limitation (8b1efb6)
  • SPI Master: Added an API to get the maximum transaction length (8b1efb6)

Changed

  • LEDC: Improved ledc_get_freq() calculation accuracy by rounding instead of truncating (#11810) (c36f5fb)

Fixed

  • ADC: Fixed continuous mode HAL functions not in IRAM issue when GDMA is set to IRAM-Safe (#11781) (62e6999)
  • ADC: Fixed legacy ADC continuous driver DMA descriptor not in internal RAM issue (8e3b112)
  • ADC: Fixed wrong ADC oneshot mode clock divider on ESP32, ESP32-S2, ESP32-S3 (9f2fe91)
  • Brownout Detector: Disable the hardware brownout reset when brownout interrupt is enabled. (8e5718f)
  • GPIO: Fixed potential crash in ISR when CONFIG_SPIRAM_USE_MALLOC is enabled (https://github.com/espressif/esp-idf/...
Read more

ESP-IDF Release v4.3.6

04 Sep 03:27
v4.3.6
Compare
Choose a tag to compare

Documentation for IDF v4.3.6 is available at https://docs.espressif.com/projects/esp-idf/en/v4.3.6/

ESP-IDF v4.3.6 is a bugfix update for ESP-IDF v4.3.

Obtaining v4.3.6

For full installation instructions, see the ESP-IDF Programming Guide.

The source files attached to this release will not work due to our use of git submodules. Use one of the following methods instead:

Using git

To get this release, use the following commands:

git clone -b v4.3.6 --recursive https://github.com/espressif/esp-idf.git esp-idf-v4.3.6
cd esp-idf-v4.3.6/

This is the recommended way of obtaining v4.3.6 of ESP-IDF.

Download an archive with submodules included

Attached to this release is an esp-idf-v4.3.6.zip archive. It includes .git directory and all the submodules, so can be used out of the box. This archive is provided for users who have connectivity issues preventing them from cloning from GitHub.

This archive can also be downloaded from Espressif's download server:
https://dl.espressif.com/github_assets/espressif/esp-idf/releases/download/v4.3.6/esp-idf-v4.3.6.zip

Major changes

This is the list of changes since release v4.3.5:

Major Bug Fixes

  • Support 8MD256 as RTC slow clock work properly ESP32-S2/ESP32-C3/ESP32 (3ebd574)
  • Current increase 2 ~ 3uA when in deepsleep by default config (3ebd574)
  • Current will increase when 8MD256 used as RTC slow clock in sleep (3ebd574)
  • Fixed POWER ON reset when using RTC IO as input in deepsleep on ESP32-S2/ESP32-C3 (3ebd574)
  • Fixed RTC memory lost in high temperature in deepsleep on ESP32-S2/ESP32-C3 (3ebd574)
  • Fixed dangerous power parameters in sleep modes on ESP32-S2 (3ebd574)
  • SPI Flash: Fixed concurrency issue when concurrently calling esp_flash APIs under XIP_PSRAM or Auto-suspend condition (e1647e5)

Changelog

Bluetooth Low Energy (BLE)

Bluetooth Low Energy Controller

Added

  • Controller: Support ESP32-C3 new BLE lib (b1ecece)
  • Controller: Add comments to the header files for ESP32-C3 and ESP32-S3 to support CI (08c212e)

Changed

  • Controller: Improved scan performance when scan and sync coexist on ESP32-C3 and ESP32-S3 (551de84)

Fixed

  • Controller: Fixed BLE disconnection delay on peripheral when slave latency is not zero on ESP32. (9812efb)
  • Controller: Fixed BLE LLCP initialization for central and peripheral on ESP32. (9812efb)
  • Controller: Fixed sent command status event twice for disconnect command on ESP32. (9812efb)
  • Controller: Fixed crash when controller initialization fails due to insufficient memory on ESP32-C3 and ESP32-S3. (9812efb)
  • Controller: Fixed BLE connection terminated due to MIC failure during encryption procedure on ESP32-C3 and ESP32-S3 (119c4c4)
  • Controller: Fixed BLE connection failed to be established when disabled 5.0 feature on ESP32-C3 and ESP32-S3 (119c4c4)
  • Controller: Fixed BLE disconnection failure on ESP32 (4713320)
  • Controller: Fixed disconnection due to consecutive CRC errors in first 6 intervals on ESP32 (4713320)
  • Controller: Fixed non-connectable and non-scannable directed adv can't be scanned on ESP32-C3 and ESP32-S3 (551de84)
  • Controller: Disable controller 5.0 feature bits if host 5.0 feature is not enabled (551de84)
  • Controller: Fixed duplicate scan refresh cycle is not accurate after restarting scan on ESP32 (a42d0ef)
  • Controller: Set default instance value to 6 on ESP32-C3 and ESP32-S3 (b1ecece)
  • Controller: Disable controller 5.0 feature bits if host 5.0 feature is not enabled (b1ecece)
  • Controller: Fixed extend ADV parameters check for ADV_DIRECT_HI (b1ecece)
  • Controller: Fixed memory leak when setting adv data on ESP32. (af6498f)
  • Controller: fix Wi-Fi unable to work normally in coexistence with BLE extended scan, when scan whitelist is enabled, on ESP32-C3 and ESP32-S3. (0814f65)
  • PHY: Fixed the iPhone disconnects immediately after connecting when BLE and wifi coexist on ESP32-C3 (3a10cc9)

ESP Bluedroid Host

Added

  • Bluedroid: Added a log statement to print the Bluetooth MAC address (328e151)
  • Bluedroid: Added API to get the name of Bluetooth device. (f3c5763)

Changed

  • Bluedroid: Prohibiting the enablement of privacy uring non-connected activities to comply with the protocol specifications (08c212e)

Fixed

  • Bluedroid: Fixed issues about data length 0 when set ext adv data,ext scan rsp data and periodic adv data. (08c212e)
  • Bluedroid: Fixed GATT control block free when disconnecting. (e45f790)
  • Bluedroid: Fixed GATTC database cache free when disconnecting. (e45f790)
  • Bluedroid: Fixed compile warning when optimize for performance. (e45f790)
  • Bluedroid: Fixed the issue of setting BLE advertising data incorrectly when the data length is 0. (328e151)
  • Bluedroid: Fixed BLE default extended connection parameters. (9812efb)
  • Bluedroid: Revert "bluedroid: report disconnect event after BLE link closed". (9812efb)
  • Bluedroid: Fixed BLE extended advertising random address setting for NRPA (119c4c4)
  • Bluedroid: Fixed BLE advertising data construct for device name (119c4c4)
  • Bluedroid: Fixed BLE SMP key distribution setting (119c4c4)
  • Bluedroid: Report disconnect event after BLE link closed (119c4c4)
  • Bluedroid: Fixed no error report when own address type is rpa_random and no random address setting (4713320)
  • Bluedroid: Fixed battery profile wrong condition in bluedroid host (4713320)
  • Bluedroid: Report status when clearing the BLE whitelist is complete. (f3c5763)
  • Bluedroid: Fixed saving GATTC cache with the same device address. (f3c5763)
  • Bluedroid: Fixed state conflict between advertising and scanning. (f3c5763)
  • Bluedroid: Fixed BLE extended advertising params check on bluedroid. (54bce0c)
  • Bluedroid: Fixed bluedroid host ATT Ignore wrong response error sometimes (b1ecece)
  • Bluedroid: always enable BT_BLE_RPA_SUPPORTED If target is not ESP32 (b1ecece)

ESP NimBLE Host

Added

  • Nimble: Added Encryption support (4ef3907)
  • Nimble: Added GATT notify and subscribe support (4ef3907)
  • NimBLE: Expose Address Resolution API outside stack (d6615a6)

Fixed

  • NimBLE: Fixed compilation issue in blufi for nimble (08c7c13)

BluFi

Fixed

  • Blufi: Fixed Blufi document description errors (4713320)
  • Blufi: Fixed vulnerability attacks that could cause heap overflow in fragmented Blufi packet processing (b1ecece)

Other Profile

Fixed

  • HID: Fixed BLE HID battery level setting. (9812efb)

Classic Bluetooth

Classic Bluetooth Bluedroid Host

Added

  • Bluedroid: Added status parameter for AVRCP passthrough command response event to make user notified of the response code from AVRCP target. (46e0779)

Changed

  • Bluedroid: Updated the API documentation of esp_bt_gap_set_cod. (dd8f93e)

Fixed

  • Bluedroid: Fixed null pointer access after disconnection。 (af6498f)
  • Bluedroid: Fixed the error the module HFP-AG used an out-of-bounds array index. (f01a1f5)
  • Bluedroid: Fixed the crash of LoadProhibited caused by invalid operation on list node in handling hci_hardware_error event. (6a7c559)
  • Bluedroid: Fixed the problem of memory access out-of-bounds in HFP caused by the variable-length array introduced in 3268075. (#11264) (eb56474)
  • Bluedroid: Fixed the inconsistency between the indicator event received by the HF application layer and the actually received indicator. (#6486) (cac7fb9)
  • Bluedroid: Fixed the alarm leak which is caused by not releasing the timer during A2DP and HF-AG deinitialization. (3fddf4a)
  • Bluedroid: Fixed the unexpected use of 3-EV3 packet type in HFP when Wide-Band Speech is disabled, by revising the (e)SCO configuration parameter sets according to HFP_v1.8. (4c0206c)

Classic Bluetooth Controller

Fixed

  • Controller: Fixed memory exhaustion resulted from repetitive unhanded event LC_AFH_UPDATE_IND on ESP32 (af6498f)
  • Controller: Fixed link disconnection during sniff negotiation due to invalid D_sniff value on ESP32 (af6498f)
  • Controller: Fixed failure of re-connection after ACL link is disconnected but host continues to send ACL data to controller on ESP32 (af6498f)

PHY

Changed

  • Optimised Wi-Fi RX performance on multi-path environment (a1e7766)
  • Optimized ht40 tx side band issue (f47d7d9)
  • BLE TX sideband optimization for ESP32-C3. (a1e7766)

Fixed

  • Fixed the issue that Wi-Fi not work with T-sensor on ESP32-S2. (a1e7766)

Wi-Fi

Added

  • Added new API to get RSSI info after station connected to AP (258623a)

Changed

  • Updated FTM calibration way and other FTM bug fixes (f93805a)
  • Updated TX rate when PHY mode change from LR to 11N (c65c587)
  • Updated SoftAP pairwise cipher. (a93ccc1)
  • Improvements in station SA query procedure handling (0369fe8)
  • Connection management related improvements in STA and SoftAP (0369fe8)
  • the callback of esp_wifi_set_vendor_ie_cb() can be set to NULL now (258623a)

Fixed

  • Fixed the issue that STA receive CSA indication not belongs to it in scan which leads to connection issue (eaf90a4)
  • Fixed the issue that when SoftAP receive QoS null will lead to receiving issue (258623a)
  • Fixed association refused temporarily comeback time set to zero issue. (258623a)
  • Fixed crash in use of esp_wifi_action_tx_req() (258623a)
  • Fixed SoftAP mode NVS <ssid,password,pmk> not matching issue. (73c4120)
  • Fixed ESP-NOW example add peer with other channel fail(#9592) (650e722)
  • Fixed potential issue when TX fragment packets. (40ed293)
  • Fixed ESP32-C3 rate control issue ...
Read more

ESP-IDF Release v5.1.1

23 Aug 08:50
v5.1.1
Compare
Choose a tag to compare

Documentation for IDF v5.1.1 is available at https://docs.espressif.com/projects/esp-idf/en/v5.1.1/

ESP-IDF v5.1.1 is a bugfix update for ESP-IDF v5.1.

Obtaining v5.1.1

For full installation instructions, see the ESP-IDF Programming Guide.

The source files attached to this release will not work due to our use of git submodules. Use one of the following methods instead:

Using git

To get this release, use the following commands:

git clone -b v5.1.1 --recursive https://github.com/espressif/esp-idf.git esp-idf-v5.1.1
cd esp-idf-v5.1.1/

This is the recommended way of obtaining v5.1.1 of ESP-IDF.

Download an archive with submodules included

Attached to this release is an esp-idf-v5.1.1.zip archive. It includes .git directory and all the submodules, so can be used out of the box. This archive is provided for users who have connectivity issues preventing them from cloning from GitHub.

This archive can also be downloaded from Espressif's download server:
https://dl.espressif.com/github_assets/espressif/esp-idf/releases/download/v5.1.1/esp-idf-v5.1.1.zip

Major changes

This is the list of changes since release v5.1:

  • Power management support for ESP32H2: Light sleep, DFS, BLE Modem Sleep/Light sleep, Openthread Modem sleep/Light sleep
  • Power management support for ESP32C6: BLE Modem sleep/Light sleep, Openthread Modem Sleep/Light sleep
  • Added external coexistence support for ESP32C6

Known Issues

  • Supplicant: During WiFi Enterprise connection benign error prints like these may appear - "wpa: EAPOL TxDone with invalid payload len!"

Changelog

802.15.4

802.15.4 MAC

Added

  • 802.15.4 MAC: Added debug feature for driver. (fabe338)
  • 802.15.4 MAC: Match ESP32-C6/ESP32-H2 max txpower value with datasheet (966312e)

Changed

  • 802.15.4 MAC: Updated coex_arb_delay reg (aa43494)

Fixed

  • 802.15.4 MAC: Fixed a bug when stop tx/rx ack, no event will be posted to upper stack. (9658469)
  • 802.15.4 MAC: Fixed multipan api error (aa43494)

Thread

Added

  • Thread: Support DUA and linkmetrics feature optional. (1296991)
  • Thread: Support light sleep for openthread (a300e79)
  • Thread: Support settings API for openthread port. (65bf500)
  • Thread: Introduce the Thread auto start API (65bf500)
  • Thread: Added event post for OpenThread role changed (65bf500)

Changed

  • Thread: Enable HW AES for mbedtls. (65bf500)

Fixed

  • Thread: Forbid otPlatUdp to connect to address 0.0.0.0 with port 0. (1296991)
  • Thread: Fixed dead lock issue related to ot and lwip (65bf500)
  • Thread: Fixed an out-of-range memory issue when calling NVS API. (65bf500)
  • Thread: Fixed assert when parsing security key failed. (9658469)
  • Thread: Enable openthread border agent id support. (4cb9554)
  • Thread: Fixed memory leak for handling ICMP6 MLQ packets (4cb9554)
  • Thread: Fixed set mcast forwarding enable (4cb9554)

Zigbee

Changed

  • Zigbee: Updated Zigbee examples based on latest library (7ae116e)

Bluetooth Low Energy

Bluetooth Low Energy Controller

Fixed

  • Controller: Fixed BLE disconnection delay on peripheral when slave latency is not zero on ESP32. (56bb50b)
  • Controller: Fixed BLE LLCP initialization for central and peripheral on ESP32. (56bb50b)
  • Controller: Fixed sent command status event twice for disconnect command on ESP32. (56bb50b)
  • Controller: Fixed crash when controller initialization fails due to insufficient memory on ESP32-C3 and ESP32-S3. (56bb50b)
  • Controller: Fixed memory leak when setting adv data on ESP32. (5e34883)
  • Controller: Fixed the problem of disconnection in high and low-temperature environments on ESP32-C2.(43a67a5)
  • Controller: Fixed scan failure issue on ESP32-C6. (aa6a8b7)
  • Controller: Fixed crash issue in light sleep on ESP32-C6. (aa6a8b7)
  • Controller: Changed the power level for ESP32-C6. (aa6a8b7)
  • Controller: Fixed the crash issue when BLE MESH pairing on ESP32-C6. (aa6a8b7)

Added

  • Controller: Supported extra link retention used for sleep on ESP32-C6, ESP32-H2. (a8c9665)
  • Controller: Added VS commands to support mesh duplicate list for ESP32-C6, ESP32-H2. (e68d4a7)

ESP Bluedroid Host

Added

  • Bluedroid: Added a log statement to print the Bluetooth MAC address (82fde1e)

Fixed

  • Bluedroid: Fixed GATT control block free when disconnecting. (aa5b7e0)
  • Bluedroid: Fixed GATTC database cache free when disconnecting. (aa5b7e0)
  • Bluedroid: Fixed BLE default extended connection parameters. (56bb50b)
  • Bluedroid: Fixed BLE HID battery level setting. (56bb50b)
  • Bluedroid: Fixed the issue of setting BLE advertising data incorrectly when the data length is 0. (82fde1e)
  • Bluedroid: Added support of NULL check while allocating the memory in the transport layer of the Bluedroid host. (25876e8)

ESP NimBLE Host

Added

  • NimBLE: Added proximity sensor as a service (a125e8f)
  • NimBLE: Added API to send VSC and handle VSE (68654bf)
  • NimBLE: Added tutorial for Multi adv example (4b761af)
  • NimBLE: Added tutorial for HTP example (c6bc222)
  • NimBLE: Added support to send Power control related events in the registered callback. (40bf1ed)
  • NimBLE: Added health thermometer profile (4cf31c3)
  • NimBLE: Added BLE multi-connection example for ESP32-C6, ESP32-H2

Changed

  • NimBLE: Updated central examples to consider failure when attempting connection (c558904)
  • NimBLE: Increase the number of semaphore count to allow more semaphore allocation (e2e5894)
  • NimBLE: Sync missing changes between porting folder and nimble submodule files. (f1b9af7)
  • NimBLE: Updated macro names in menuconfig as per nimble1.5 (9d47a58)

Fixed

  • NimBLE: Fixed mismatch of number of completed packtes in host flow control. (d25df89)
  • NimBLE: Fixed data type of power level and delta to handle negative values (e27b44e)
  • NimBLE: Fixed assert due to controller event while stack deinit. (a7b62bb)
  • NimBLE: Memory leak fixes (60163c3)
  • NimBLE: Fixed setting macro values based on selected configuration (bd0343c)
  • NimBLE: Fixed watchdog timer issue in throughput app (0e1bcdd)
  • NimBLE: Expose API to clear all addresses in whitelist out of stack (633d072)
  • NimBLE: Updated connection type in reattempt connection code (dab45c2)
  • NimBLE: Removed the extra status field in the enh read transmit power level (051965a)

Removed

  • NimBLE: Removed example files referring to older TTFW framework. (b875331)

ESP-BLE-MESH

Changed

  • ESP-BLE-Mesh: Updated ble mesh to support duplicate scan on ESP32-C6 and ESP32-H2. (196fc55)

Classic Bluetooth

Classic Bluetooth Bluedroid Host

Added

  • Bluedroid: Added instructions and diagrams on the execution workflow for examples bt_l2cap_server and bt_l2cap_client. (bd985de)

Changed

  • Bluedroid: Updated AVRCP version to v1.5 (425b660)
  • Bluedroid: Improved documents for Bluetooth HID Host API reference. (09f2ab8)

Fixed

  • Bluedroid: Fixed null pointer access after disconnection. (5e34883)
  • Bluedroid: Fixed the unexpected use of 3-EV3 packet type in HFP when Wide-Band Speech is disabled, by revising the (e)SCO configuration parameter sets according to HFP_v1.8. (71a5663)
  • Bluedroid: Fixed the alarm leak which is caused by not releasing the timer during A2DP and HF-AG deinitialization. (d682fbe)
  • Bluedroid: Fixed SDP not being able to configure 32-bit and 128-bit UUID (#11572) (11d34b1)

Classic Bluetooth Controller

Fixed

  • Controller: Fixed memory exhaustion resulted from repetitive unhanded event LC_AFH_UPDATE_IND on ESP32 (5e34883)
  • Controller: Fixed link disconnection during sniff negotiation due to invalid D_sniff value on ESP32 (5e34883)
  • Controller: Fixed failure of re-connection after ACL link is disconnected but host continues to send ACL data to controller on ESP32 (5e34883)

Wi-Fi

Added

  • Added new API to get RSSI info after station connected to AP. (d7604b5)

Changed

  • the callback of esp_wifi_set_vendor_ie_cb() can be set to NULL now. (d7604b5)
  • Enable FTM on ESP32-C2, fixed first FTM distance estimation. (d7604b5)
  • Implemented changes to prioritize sending EAP-Failure before de-authentication in WPS registrar. (37ff7a9)
  • Updated the code of how to configure multiple antennas of wifi (cc74be8)

Fixed

  • Fixed the ESP-NOW send error when the channel info is not matched with bandwidth. (d7604b5)
  • Fixed bugs in FTM initiator and responder mode. (d7604b5)
  • Fixed association refused temporarily comeback time set to zero issue. (d7604b5)
  • Fixed crash in use of esp_wifi_action_tx_req() (d7604b5)
  • Ignored Immediate Associate req till the previous one is processed. (b98bcd7)
  • Fixed the issue that STA will reconnect when receive two AP's commit with different sequence number (b98bcd7)

Wi-Fi MAC

Fixed

  • MAC: Fixed the RX error when softAP/station and ESP-NOW both encrypted, and the ESP-NOW peer address is equal to the connection peer address. (6ec5267)
  • MAC: Fixed issue with action frame TX API causing TX buffer overflow. (6ec5267)
  • MAC: Fixed an issue where PMF was getting disabled during the connection. (6ec5267)
  • MAC: Allow OWE traffic to flow after 4 way handshake is completed (6ec5267)
  • MAC: Fixed beacon timeout issue in OWE transition mode (6ec5267)
  • MAC: Fixed Wi-Fi scan failure with BLE init and light sleep on ESP32-C6. (6ec5267)
  • MAC: Fixed error propagation in FTM initiate API (6ec5267)
  • MAC: Fixed beacon timeout and disconnect with error code 201, m f probe req l=0 issue. (7148d82)

Supplicant

Fixed

  • Supplicant: Fixed crash when EAPOL is r...
Read more

ESP-IDF Release v5.0.3

11 Jul 02:34
v5.0.3
Compare
Choose a tag to compare

Documentation for IDF v5.0.3 is available at https://docs.espressif.com/projects/esp-idf/en/v5.0.3/

ESP-IDF v5.0.3 is a bugfix update for ESP-IDF v5.0.

Obtaining v5.0.3

For full installation instructions, see the ESP-IDF Programming Guide.

The source files attached to this release will not work due to our use of git submodules. Use one of the following methods instead:

Using git

To get this release, use the following commands:

git clone -b v5.0.3 --recursive https://github.com/espressif/esp-idf.git esp-idf-v5.0.3
cd esp-idf-v5.0.3/

This is the recommended way of obtaining v5.0.3 of ESP-IDF.

Download an archive with submodules included

Attached to this release is an esp-idf-v5.0.3.zip archive. It includes .git directory and all the submodules, so can be used out of the box. This archive is provided for users who have connectivity issues preventing them from cloning from GitHub.

This archive can also be downloaded from Espressif's download server:
https://dl.espressif.com/github_assets/espressif/esp-idf/releases/download/v5.0.3/esp-idf-v5.0.3.zip

Major changes

This is the list of changes since release v5.0.2:

Major Features

  • Added support to enable Brown-Out-Detector in 2nd stage bootloader for ESP32-C2. This provides protection against power glitch kind of attacks. (c82d9ca)

Major Bug Fixes

  • PHY: Fixed the iPhone disconnects immediately after connecting when BLE and wifi coexist on ESP32-C3 (5a68c49)
  • Support 8MD256 as RTC slow clock work properly ESP32-S2/ESP32-C3/ESP32-C2/ESP32 (1b04acf)
  • Fixed POWER ON reset when using RTC IO as input in deepsleep on ESP32-S2/ESP32-C3/ESP32-C2 (1b04acf)
  • Fixed RTC memory lost in high temperature in deepsleep on ESP32-S2/ESP32-C3 (1b04acf)
  • Fixed potential dangerous power parameters in sleep modes on ESP32-S2 (1b04acf)

Major Changes

  • Due to changes to sleep parameters, current has increased 2 ~ 3uA when in deepsleep by default config (1b04acf)
  • Due to changes to sleep parameters, current will increase when 8MD256 used as rtc slow clock in sleep (1b04acf)

Known Issues

  • For chips running on Bluedroid host, there is a small chance of crashing when the BLE connection is terminated.

Changelog

Bluetooth

Controller

Bluetooth Low Energy

Added

  • Added an example of Bluetooth LE using auto light sleep (dd7e8b7)
  • Support ESP32-C3 and ESP32-S3 new BLE lib (c323399)

Fixed

  • Fixed BLE disconnection failure on ESP32 (c21a4c9)
  • Fixed disconnection due to consecutive CRC errors in first 6 intervals on ESP32 (c21a4c9)
  • Fixed BLE connection terminated due to MIC failure during encryption procedure on ESP32-C3 and ESP32-S3 (c323399)
  • Fixed BLE connection failed to be established when disabled 5.0 feature on ESP32-C3 and ESP32-S3 (c323399)
  • Set default instance value to 6 on ESP32-C3 and ESP32-S3 (c323399)
  • Merge ESP32-C3 and ESP32-S3 BLE bt.c, esp_bt.h and kconfig files to one (c323399)
  • Disable controller 5.0 feature bits if host 5.0 feature is not enabled on ESP32C3 and ESP32S3 (c323399)
  • Fixed extend ADV parameters check for ADV_DIRECT_HI on ESP32C3 and ESP32S3 (c323399)
  • Fixed BLE HW RAL_UNDERRUN assert on ESP32C3 and ESP32S3 (c323399)
  • Fixed non-connectable and non-scannable directed adv can't be scanned on ESP32-C3 and ESP32-S3 (c323399)
  • improve scan performance when scan and sync coexist on ESP32-C3 and ESP32-S3 (c323399)

Bluedroid

Classic Bluetooth

Changed

  • Updated the API documentation of esp_bt_gap_set_cod. (aa92f10)

Fixed

  • Fixed inconsistency between the indicator event received by the HF application layer and the actually received indicator. (#6486) (0117a6e)
  • Fixed the issue in A2DP source example that the a2dp source would not send the media start command due to the connection initiated by the peer device.(#11170) (de6d31a)
  • Fixed the crash of A2DP source when it connects to Bose speaker. This is caused by the crossed incoming- and outgoing-AVDT procedures and solved by separating the processing of the different directions. (a40fc40)
  • Fixed the memory access out-of-bound issue in HFP caused by the variable-length array introduced in 3268075. (#11264) (f9ad773)
  • Fixed the crash of LoadProhibited caused by invalid operation on list node in handling hci_hardware_error event. (6012986)

Bluetooth Low Energy

Added

  • Added API to get the name of Bluetooth device. (e7d4c90)

Fixed

  • Fixed Bluedroid host ATT Ignore wrong response error sometimes (c323399)
  • Always enable BT_BLE_RPA_SUPPORTED If target is not ESP32 (c323399)
  • Report status when clearing the BLE whitelist is complete. (e7d4c90)
  • Fixed saving GATTC cache with the same device address. (e7d4c90)
  • Fixed state conflict between advertising and scanning. (e7d4c90)
  • Fixed no error report when own address type is rpa_random and no random address setting (c21a4c9)
  • Fixed battery profile wrong condition in Bluedroid host (c21a4c9)
  • Fixed BLE extended advertising random address setting for NRPA (de419db)
  • Fixed BLE advertising data construct for device name (de419db)
  • Fixed BLE SMP key distribution setting (de419db)
  • Fixed GATT control block free when disconnecting. (4c775e3)

NimBLE

Added

  • Added configurable option for resolving peer address in bleprph example (054f17c)
  • Added multi advertising example (d3a57ff)
  • Added support for writing data more than BLE_ATT_ATTR_MAX_LEN (d84fc1e)
  • Added support to send Power control related events in the registered callback. (1c07880)

Changed

  • Updated README file for nimble examples (86ed0c5)

Fixed

  • Fixed config options in esp_nimble_cfg.h (60e6818)
  • Memory leak fixes (7684bd5)

Removed

  • Removed indicate flag from gatt db and added subscription case in spp_server example (3cad80e)

Blufi

Fixed

  • Fixed Blufi document description errors (c21a4c9)
  • Fixed incorrect connection handle issue (9fb999e)

ESP-BLE-Mesh

Changed

  • Fixed filtering error when Provisioner receives heartbeat messages (d2e094d)

Wi-Fi

Added

  • Added APIs to get Station Associate ID and negotiated PHY mode (2798527)
  • PHY: Added an API to improve Wi-Fi RX performance for 11b packets for AC-DC power supply modules with high interference. (c0f55d9)

Changed

  • Improved ESP32 connection success rate at some coexistence scene (2798527)
  • Updated softAP pairwise cipher (2798527)
  • AP-STA concurrent mode improvements for Management Frame Protection (PMF) (2798527)
  • Updated tx rate when phymode change from LR to 11N (2798527)

Fixed

  • PHY: Fixed WiFi not working with Tsens on ESP32S2. (24b9d38)
  • PHY: Fixed Wi-Fi disconnect in low temperature. (c0f55d9)
  • PHY: Fixed RTC_SW_CPU_RST occur in Wi-Fi start and stop process. (c0f55d9)
  • Fixed sometimes failed to enter modem sleep after scan (2798527)
  • Fixed SoftAP QoS null issue (2798527)
  • Fixed SoftAP maximum SoftAP connection number issue (2798527)
  • Fixed rejection of TKIP cipher incase of OWE connection (2798527)
  • Fixed SoftAP mode NVS not match issue (2798527)
  • ESP Station install traffic keys only after successful transmission of EAPOL 4/4 message.(2798527)
  • Fixed beacon TX process when softAP interface is stopped (2798527)
  • Fixed FTM procedure with peer failed status 4 issue (2798527)
  • Fixed the issue that set inactive time crash issue (2798527)
  • PMF should be disabled in WPA mode(2798527)
  • Fixed STA RX CSA issue caused by receiving SCA packets that do not belong to STA. (2798527)
  • Fixed a bug that when STA connected with 11g AP and TXOP enabled, Tx buffer leak happens. (f0b1869)
  • Fixed STA auth failed but SoftAP shows it connected issue. (ca8bf60)
  • Fixed ESP-NOW example fails to add peer with other channel (#9592, fc4d4f0)
  • Fixed potential issue when TX fragment packets. (6b2d631)
  • Fixed ESP32-C2/ESP32-C3/ESP32-S3 rate control issue to improve tx robust (7c0d6d4)
  • Fixed crash caused by calling tx_pwctrl_background in ESP32-S3. (2558d4c)
  • Decouple SoftAP code for ESP32-C2. (ad5a8be)
  • Fixed timer callback crash after WiFi deinit on ESP32-C2. (ad5a8be)

ESP-WIFI-MESH

Fixed

  • Fixed the layer2 node scan issue in fixed root (2798527)
  • Fixed the heap corrupt issue (2798527)
  • Examples: Fixed the bug that stop DHCP server before set DNS(#10762, 2798527)

Coexistence

Fixed

  • PHY: Fixed the iPhone disconnects immediately after connecting when BLE and wifi coexist on ESP32-C3 (5a68c49)

Ethernet

Changed

  • Updated DM9051 configuration to receive multicast packets (ab3499a)

Fixed

  • Fixed issue when ESP32 EMAC could hang when stopped/started multiple times at 10Mbps speed mode (0872feb)
  • Fixed "insufficient TX buffer size" error when Link is Down (#10851)

Security

Fixed

  • Hardware AES: Fixed DMA descriptor calculation for the specific aligned data length case causing memory corruption (#11310) (faf54ca)

Peripheral Drivers

Added

  • MSPI: Added timing tuning start, success log (9f99495)
  • RMT: Define RMT_ENCODING_RESET in the rmt_encode_state_t (#11200) (24a2a98)

Changed

  • ADC: Use circular DMA descriptor link under ADC continuous mode (#11500) (fa17fc8)
  • MCPWM: Don't allow to apply...
Read more

ESP-IDF Release v4.2.5

29 Jun 16:06
v4.2.5
Compare
Choose a tag to compare

Documentation for IDF v4.2.5 is available at https://docs.espressif.com/projects/esp-idf/en/v4.2.5/

ESP-IDF v4.2.5 is a bugfix update for ESP-IDF v4.2 and also the last bug fix release of ESP-IDF v4.2. According to ESP-IDF Support Period Policy, ESP-IDF v4.2 release branch reached end-of-life in June 2023. With EOL, new features, bug fixes, and security fixes will no longer be supported on this branch. Customers who are currently using ESP-IDF v4.2 release branch are encouraged to upgrade their projects to more recent ESP-IDF releases, such as ESP-IDF v5.x.

Obtaining v4.2.5

For full installation instructions, see the ESP-IDF Programming Guide.

The source files attached to this release will not work due to our use of git submodules. Use one of the following methods instead:

Using git

To get this release, use the following commands:

git clone -b v4.2.5 --recursive https://github.com/espressif/esp-idf.git esp-idf-v4.2.5
cd esp-idf-v4.2.5/

This is the recommended way of obtaining v4.2.5 of ESP-IDF.

Download an archive with submodules included

Attached to this release is an esp-idf-v4.2.5.zip archive. It includes .git directory and all the submodules, so can be used out of the box. This archive is provided for users who have connectivity issues preventing them from cloning from GitHub.

This archive can also be downloaded from Espressif's download server:
https://dl.espressif.com/github_assets/espressif/esp-idf/releases/download/v4.2.5/esp-idf-v4.2.5.zip

Major changes

This is the list of changes since release v4.2.5:

Major Bug Fixes

  • Fixed POWER ON reset when using RTC IO as input in deepsleep on ESP32-S2 (058fd73)
  • Fixed RTC memory lost in high temperature in deepsleep on ESP32-S2. Due to the fix, current consumption in deep sleep mode has increased by 2 ~ 3uA (058fd73)

Changelog

Bluetooth

Controller

Fixed

  • Fixed the issue that Wi-Fi task can be blocked by Bluetooth Controller because of the use of blocking coexistence callback function on ESP32 (7db88d5)

Bluetooth Low Energy

Added

  • Added config to set duplicate scan list refresh period on ESP32 (c135695)

Changed

  • Changed default TX power to 9 dBm on ESP32 (c135695)

Fixed

  • Fixed BLE disconnection failure on ESP32 (c28f5a5)
  • Fixed disconnection due to consecutive CRC errors in first 6 intervals on ESP32 (c28f5a5)
  • Overwrite the oldest device infor if the list is full on ESP32 (c135695)
  • Fixed duplicate scan period is not accurate on ESP32 (c135695)
  • Fixed some memory was not released after Bluetooth controller initialization failed on ESP32 (c135695)
  • Fixed disconnect reason 0x1f (unspecified error) on ESP32 (c135695)
  • Fixed connection timeout due to LL_TERMINATE_IND has not been acknowledged on ESP32 (c135695)
  • Fixed BLE ASSERT_PARAM(32 0) in rwble.c at line 384 on ESP32 (d33ce3c)
  • Fixed the exhaustion of ACL buffer. (d33ce3c)
  • Fixed the duplication of connection request from the same device. (d33ce3c)

Classic Bluetooth

Fixed

  • Fixed that link key is not sent to host after re-pairing in legacy pairing mode on ESP32 (04bf991)

Bluedroid

Classic Bluetooth

Added

  • Added compatibilities with devices that do not support Secure Simple Paring. (#10069, 78cebd6)

Changed

  • Changed the default SR mode to R2 for the paging device when it knows nothing about the paged device's SR mode. (24de514)

Fixed

  • Fixed SPP connection failure by reverting commit da44fc9. (eb83163)
  • Fixed authentication failure by changing pin_type of legacy paring from FIXED to VARIABLE. (#10005, 78cebd6)
  • Fixed the issue Bluetooth Classic connection can not be created while there is an active Bluetooth Low Energy connection. (8fcfcdd)
  • Fixed memory leak when SPP initialization failed (7c9bdca)
  • Fixed repeated register of vfs_id causing memory leaks in SPP (7c9bdca)
  • Fixed A2DP sink device not being able to accept and decode mono channel audio stream (9c5127d)
  • Fixed the failure of 'connect audio' operation in HFP examples with default SDK configuration. (91874c8)
  • Fixed a2dp failing to connect again after disconnected (9ff6e44)
  • Fixed the issue that HFP client makes error in parsing CLCC command response (49e15e9)
  • Fixed esp_spp_write() crash when data length is 0 (76bb983)
  • Fixed the off-by-one error of indicator value in HFP in handling "+CIEV" AT command. (#6486, 3d0cfc8)
  • Fixed build errors when sniff subrating is enabled. (ab0ae87)
  • Fixed memory leak in case that message posting to a thread fails (698aae9)
  • Fixed the unexpected memory free when malloc failed. (fe16a6f)

Bluetooth Low Energy

Added

  • Added API to get the name of Bluetooth device. (f97a8a2)

Fixed

  • Fixed BLE advertising data construct for device name (65331f6)
  • Fixed BLE SMP key distribution setting (65331f6)
  • Report disconnect event after BLE link closed (65331f6)
  • Fixed battery profile wrong condition in bluedroid host (c28f5a5)
  • Report status when clearing the BLE whitelist is complete. (f97a8a2)
  • Fixed saving GATTC cache with the same device address. (f97a8a2)
  • Fixed state conflict between advertising and scanning. (f97a8a2)
  • Fixed BLE advertising TX power map. (9dfbf27)
  • Fixed BLE resolvable private address generate and update. (9dfbf27)
  • Fixed esp hid crash when authentication failed. (9dfbf27)
  • Fixed BLE HID LED output report (6617cee)
  • Fixed encrypt keysize of GATT characteristic permission (6617cee)
  • Fixed BLE connection update with the same parameters (6617cee)
  • Correct the length of ATT_READ_BY_TYPE_REQ PDU (6617cee)
  • Allow bluedroid host to report ADV_IND separately (d33ce3c)
  • Fixed calling esp_ble_get_cur_sendable_packets_num() sometimes crashes when bluetooth is disconnecting (bd4b681)
  • Fixed repeatedly data length set error (bd4b681)
  • Fixed second bonding fail issue (bd4b681)

Blufi

Fixed

  • Fixed Blufi document description errors (c28f5a5)
  • Fixed vulnerability attacks that could cause heap overflow in fragmented Blufi packet processing (25e130a)

ESP-BLE-Mesh

Added

  • Added an option for initiating IV Index Recovery if missing one (f17dce2)
  • Added an option for LPN to subscribe all-nodes-address automatically (d1f4406)

Fixed

  • Fixed not able to get optional fields from messages with a group address as DST (8c6e708)
  • Fixed not using fast adv interval when PB-GATT and PB-ADV are both enabled (25e8045)
  • Fixed Friend not relay LPN message when relay feature is disabled (138bbec)
  • Fixed the regression introduced in the btc_transfer_context changes (13b05ca)
  • Fixed handling continuously received secure update in friend queue (98d90cd)
  • Fixed using wrong range for Heartbeat Publication Period Log value (0b03533)
  • Fixed using wrong count_log for Heartbeat Subscription Status (0b03533)
  • Fixed not ignoring connectable PB-ADV PDU containing a Link Open message (0b03533)
  • Fixed ignoring KR flag within Secure Network Beacon from non-primary subnet (0b03533)
  • Fixed the sequence of checking invalid Provisioning PDU type (0b03533)
  • Fixed not checking invalid link flag during PB-GATT provisioning (0b03533)
  • Fixed wrongly overwritten the expect_ack_for flag after send_pub_key (0b03533)
  • Fixed not checking if AppKey is bound to model during model publication set (0b03533)

Wi-Fi

Changed

  • Updated inactive timer when recv ps-poll or success send data. (8da3f6e)
  • Compiled WiFi library with -Os instead of -Og to reduce code size (45a2695)
  • Refactored WiFi ioctl function to reduce code size (5158f34)

Fixed

  • Fixed connect slowly on some AP issue. (129286d)
  • Fixed STA authentication failed but softAP shows it connected issue. (129286d)
  • Fixed SoftAP mode NVS <ssid,password,pmk> not matching issue. (92a03d6)
  • Fixed ESP-NOW example add peer with other channel fail(#9592) (f06c39e)
  • Fixed SoftAP beacon memory leak issue. (8da3f6e)
  • Fixed STA get AP information does not return connected SSID issue. (8da3f6e)
  • Fixed unprotected SA Query issue (8c6057d)
  • Fixed security parameters overwritten in full scan (e6c736b)
  • Fixed some issues on Soft-AP power save. (f730580)
  • Fixed a few memory leaks in the operation of a station in WPS pin mode, which led to crashes and connection issues. (2455a07)
  • Fixed STA reset beacon timeout timer issue. (509e708)
  • Fixed pairwise cipher TKIP compatibility issue with PMF. (509e708)
  • Fixed country policy issue. (509e708)
  • Fixed wifi deinit return wrong status issue. (509e708)
  • Fixed get wrong channel value use esp_wifi_get_config(). (509e708)
  • Fixed bug of missing unlock in corner case when stop wifi. (509e708)
  • Fixed fail to scan after recv disassoc/deauth for esp32s2. (509e708)
  • Fixed connect fail when enable SPIRAM and ESP-NOW send (5158f34)
  • Install GTK before send group key handshake message 2. (5976dcc)
  • Fixed not update PHY according to country code. (c2bb3af)
  • Sync peripheral device reg base to avoid potential bugs. (c2bb3af)
  • Fixed for default AP SSID not set. (c2bb3af)
  • Do not recv unencrypted unicast ESPNOW packets when local encrypted. (c2bb3af)
  • Verified if country start channel is valid (b2c9d3d)
  • Fixed missing disconnected callback and update some log prints (b2c9d3d)
  • Fixed WPS connection issue with WPA3+WPA2 AP (985cca4)

ESP-WIFI-MESH

Changed

  • Updated mesh doc (148f4c6)
  • Updated disca...
Read more

ESP-IDF Release v5.1

30 Jun 11:44
v5.1
Compare
Choose a tag to compare

Documentation for IDF v5.1 is available at https://docs.espressif.com/projects/esp-idf/en/v5.1/

ESP-IDF v5.1 is a minor update for ESP-IDF v5.0. Release v5.1 is mostly compatible with apps written for ESP-IDF v5.0.

Obtaining v5.1

For full installation instructions, see the ESP-IDF Programming Guide.

The source files attached to this release will not work due to our use of git submodules. Use one of the following methods instead:

Using git

To get this release, use the following commands:

git clone -b v5.1 --recursive https://github.com/espressif/esp-idf.git esp-idf-v5.1
cd esp-idf-v5.1/

This is the recommended way of obtaining v5.1 of ESP-IDF.

Download an archive with submodules included

Attached to this release is an esp-idf-v5.1.zip archive. It includes .git directory and all the submodules, so can be used out of the box. This archive is provided for users who have connectivity issues preventing them from cloning from GitHub.

This archive can also be downloaded from Espressif's download server:
https://dl.espressif.com/github_assets/espressif/esp-idf/releases/download/v5.1/esp-idf-v5.1.zip

Major changes

This is the list of changes since release v5.0:

Major Features

  • ESP32-C6 support status
  • ESP32-H2 support status
  • Bluetooth: Bluetooth support use main XTAL in light sleep mode on ESP32-C3/ESP32-S3 (33f1747)
  • Bluetooth: Supported Bluetooth to release .bss and .data segment memory on ESP32-C3 and ESP32-S3 (d530630)
  • Bluetooth: Supported Bluetooth to release .bss and .data segment memory on ESP32-C2 (8ea3865)
  • NimBLE: Added stack support for LE Power Control (8facf6f)
  • NimBLE: Migrated to nimble-1.5 (07d8862)
  • Wi-Fi: Added WPS registrar support in SoftAP mode. (f27a95c)
  • Wi-Fi: Added support for SAE-PK (Public Key) authentication for station. (e44c7fb)
  • Wi-Fi: Added support of WPA3 Personal (SAE) in SoftAP. (146a5c4)
  • Wi-Fi: Added Wi-Fi Aware (NAN) support(currently only ESP32/ESP32S2 support)(d5f53fb)
  • Wi-Fi: Added support for WPA2/WPA3, mixed mode for SoftAP. (146a5c4)
  • OpenThread: Added support of Ethernet interface for Openthread br (6ca5db1)
  • OpenThraed: Supported CSL feature (bb9200a)
  • OpenThread: Supported Link Metrics feature (bb9200a)
  • OpenThread: Added SPI support in Radio Co-Processor (c0097c1)
  • Coexistence: Added external coexistence(leader mode) support on ESP32-S3 and ESP32-C2 (895d97d)
  • Coexistence: Added external coexistence(follower mode) support on ESP32-C2 (895d97d)
  • Coexistence: Added force RX mode in external coexistence on ESP32-C2 (895d97d)
  • ULP: Added support for RTC I2C to ULP RISC-V on ESP32-S2 and ESP32-S3 (867745a)
  • WDT: Support Interrupt WDT and Task WDT on ESP32-C2 (4f1a9e4)
  • GDB Stub: Added support for GDB Stub on ESP32-C2 (6020bb0)
  • pthreads: Added POSIX semaphore implementation (6382fc3)
  • espcoredump: Added ESP32-C2 target support (47fa643)
  • espcoredump: Added support for stacks in external RAM for all targets (5eb8def)
  • Analog Comparator: Introduced the driver of the analog comparator on ESP32-H2 (2d14ba2)
  • DAC: Introduced new DAC driver, oneshot mode, continuous mode and cosine wave mode are supported on ESP32 and ESP32-S2. Legacy DAC driver in dac.h has been deprecated but still available. The legacy channel enums DAC_CHANNEL_1 and DAC_CHANNEL_2 are deprecated, please use DAC_CHAN_0 and DAC_CHAN_1 instead (9bc2d15)
  • esp_etm: Support allocating ETM channels dynamically and extensions for GPIO, GPTimer (fefe6f3)
  • GPTimer: New example to capture HC-SR04 sensor by GPTimer and ETM channel (fefe6f3)
  • I2S: Supported 4-line PDM RX on ESP32-S3 (48b23b7)
  • LEDC: Supported LEDC gamma curve fade new feature on ESP32-C6 and ESP32-H2, and added a new relevant ledc_gamma_curve_fade example (3ec287e)
  • MMU: Added new component esp_mm for memory management, added memory mapping APIs in esp_mmu_map.h (1c69929)
  • Cache: Added an API to synchronize data between Cache and external memory, on Cache writable chips (ESP32S2, ESP32S3) (a9ce760)
  • Parlio: Added parallel IO TX driver for ESP32-C6 and ESP32-H2 (14555a1)
  • Parlio: Added a simple RGB LED Matrix example based on the Parallel IO TX driver (14555a1)
  • RGB_LCD: Support RGB-YUV data format conversion (e2634b5)
  • spi_flash: Octal flash and Quad flash mode can be detected automatically in run time. Enabling this feature reduces available internal RAM size by about 900 bytes (cb28fcf)
  • USB Host: Added support for UVC Host Class (see the UVC Host Class Driver component for more details) and accompanying example (#6493, f161184)
  • USB: Added Mass Storage Device example (a9e40f6)
  • Added a new chip version logic (major * 100 + minor) (c546de8)
  • Semihosting: VFS semihost additional syscalls implemented (38acc3f)
  • VFS: VFS semihost additional syscalls implemented. (38acc3f)
  • ESP Partition/Linux: Added support for non default file emulating flash memory (6987526)
  • sysview: Added FreeRTOS SMP port (1a006cb)
  • Tools: Added QEMU with xtensa chip support to the Docker image (ccc7846)

Major Bug Fixes

  • Flash MMAP: Fixed issue that only only limited vaddr ranges can be mapped to instructions/rodata on Flash on ESP32-S2, C3, S3, C2 (#10373, 1c69929)
  • MSPI: Fixed timing tuning issue for 80MHz Octal PSRAM on ESP32S3, which would lead to system stall at early stage (34e5a80)
  • MSPI: Fixed timing turning issue on high frequency lead to crash when entering sleep on ESP32-S3 (3b62bf5)
  • Fixed POWER ON reset when using RTC IO as input in deepsleep on ESP32-S2/ESP32-C3/ESP32-C2 (cfcb573)
  • Fixed RTC memory lost in high temperature in deepsleep on ESP32-S2/ESP32-C3 (cfcb573)
  • Support 8MD256 as RTC slow clock work properly ESP32-S2/ESP32-C3/ESP32-C2/ESP32 (cfcb573)
  • Fixed dangerous power parameters in sleep modes on ESP32-S2 (cfcb573)
  • PHY: Fix the iPhone disconnects immediately after connecting when BLE and wifi coexist on ESP32-C3 and ESP32-S3 (e8dba71)

Breaking Changes

  • bootloader_support: The API bootloader_common_get_partition_description has now been made private, the alternative function esp_ota_get_partition_description should be used (a2f028a)
  • SDMMC/SDSPI: SD cards accept custom frequencies, not only fixed values 20 MHz or 40 MHz. See Storage migration guide for details (7d28aba)
  • ESSL: The esp_serial_slave_link is removed from the esp-idf components. Now user should use the component manager to pull it in. See example examples/peripherals/sdio/host/main/idf_component.yml for more details (03d8059)
  • Sleep: esp_light_sleep_start now returns two error num when sleep fails: ESP_ERR_SLEEP_REJECT and ESP_ERR_SLEEP_TOO_SHORT_SLEEP_DURATION (f191b2f)
  • Storage: All the partition handling APIs and data-type definitions have been moved from the 'spi_flash' to the new component 'esp_partition'. See Storage 5.x migration guide for more details (b14116f)
  • esp_chip_info() returns the chip version in the format = 100 * major eFuse version + minor eFuse version. (c546de8)
  • Wi-Fi: Modified maximum SoftAP connection number and ESPNOW encrypted connection number. (d89a512)
  • Wi-Fi: Changed ESP-NOW receive callback function type (esp_now_recv_cb_t). This change is made to fix potential security issues mentioned in #8574. (8223a59)
  • ADC: No longer support ADC2 continuous (DMA) mode on ESP32-S3 and ESP32-C3, search for errata on Espressif website to know more details. Users can force use it by enabling ADC_CONTINUOUS_FORCE_USE_ADC2_ON_C3_S3 (6569be4)
  • ADC: No longer support ADC2 oneshot mode on ESP32-C3, search for errata on Espressif website to know more details. Users can force use it by enabling ADC_ONESHOT_FORCE_USE_ADC2_ON_C3 (6569be4)
  • I2S STD: Enabled left_align in the default slot configuration. For the default and most used case, data_bit_width equals to slot_bit_width, which means left_align does not matter in this case
    For the case that data_bit_width is shorter than slot_bit_width, enabling left_align is a quite typical usage for almost all the codecs. (190e9e7)
  • NimBLE: Updated return type for nimble_port_init / nimble_port_deinit functions. (9916eb6)
  • IDF: All dynamic memory allocated by FreeRTOS now defaults to internal memory. To allocate FreeRTOS objects in special memory (e.g., external memory), please use one of the CreateWithCaps() functions in #include "freertos/idf_additions.h" (daf4150)

Known Issues

  • In ESP32-C6, there is a small chance of core dump when it sends advertisement and scanning
  • In ESP32-C6, DUT might crash or disconnect with AP when light sleep is enabled
  • On ESP32-C6, sometimes chip can't wakeup under low temperature, RTC memory lost under high temperature, unexpected power on reset when GPIO wakeup enabled in Deep-sleep. Can't wakeup properly under high temperature from Light-sleep
  • When using the FPU from multiple tasks on the same core there is a change that the FPU state will be corrupted, causing invalid results. Issue affects ESP32 and ESP32-S3 (#11690)

Changelog

802.15.4

Added

  • Added support for ESP32-H2 MP chip (63d0494)
  • esp_phy: Added API esp_btbb_disable to be used by 802.15.4 and Bluetooth (e797a06)
  • Open source driver code (0be6802)

OpenThread

Added

  • Support NAT64 ICMP (5573d13)
  • Added some flash optimization options (45fb699)
  • Added support of Ethernet interface for Openthread BR (6ca5db1)
  • Added 802.15.4 and Thread support for ESP32-C6 (2ce330b)
  • Ad...
Read more

ESP-IDF Pre-release v5.1-rc2

21 Jun 12:31
v5.1-rc2
Compare
Choose a tag to compare
Pre-release

Documentation for IDF v5.1-rc2 is available at https://docs.espressif.com/projects/esp-idf/en/v5.1-rc2/

ESP-IDF v5.1-rc2 is a minor update for ESP-IDF v5.0. Release v5.1 is mostly compatible with apps written for ESP-IDF v5.0.

Obtaining v5.1-rc2

For full installation instructions, see the ESP-IDF Programming Guide.

The source files attached to this release will not work due to our use of git submodules. Use one of the following methods instead:

Using git

To get this release, use the following commands:

git clone -b v5.1-rc2 --recursive https://github.com/espressif/esp-idf.git esp-idf-v5.1-rc2
cd esp-idf-v5.1-rc2/

This is the recommended way of obtaining v5.1-rc2 of ESP-IDF.

Download an archive with submodules included

Attached to this release is an esp-idf-v5.1-rc2.zip archive. It includes .git directory and all the submodules, so can be used out of the box. This archive is provided for users who have connectivity issues preventing them from cloning from GitHub.

This archive can also be downloaded from Espressif's download server:
https://dl.espressif.com/github_assets/espressif/esp-idf/releases/download/v5.1-rc2/esp-idf-v5.1-rc2.zip

Major changes

This is the list of changes since release v5.0:

Major Features

  • ESP32-C6 support status
  • ESP32-H2 support status
  • Bluetooth: Bluetooth support use main XTAL in light sleep mode on ESP32-C3/ESP32-S3 (33f1747)
  • Bluetooth: Supported Bluetooth to release .bss and .data segment memory on ESP32-C3 and ESP32-S3 (d530630)
  • Bluetooth: Supported Bluetooth to release .bss and .data segment memory on ESP32-C2 (8ea3865)
  • NimBLE: Added stack support for LE Power Control (8facf6f)
  • NimBLE: Migrated to nimble-1.5 (07d8862)
  • Wi-Fi: Added WPS registrar support in SoftAP mode. (f27a95c)
  • Wi-Fi: Added support for SAE-PK (Public Key) authentication for station. (e44c7fb)
  • Wi-Fi: Added support of WPA3 Personal (SAE) in SoftAP. (146a5c4)
  • Wi-Fi: Added Wi-Fi Aware (NAN) support(currently only ESP32/ESP32S2 support)(d5f53fb)
  • Wi-Fi: Added support for WPA2/WPA3, mixed mode for SoftAP. (146a5c4)
  • OpenThread: Added support of Ethernet interface for Openthread br (6ca5db1)
  • OpenThraed: Supported CSL feature (bb9200a)
  • OpenThread: Supported Link Metrics feature (bb9200a)
  • OpenThread: Added SPI support in Radio Co-Processor (c0097c1)
  • Coexistence: Added external coexistence(leader mode) support on ESP32-S3 and ESP32-C2 (895d97d)
  • Coexistence: Added external coexistence(follower mode) support on ESP32-C2 (895d97d)
  • Coexistence: Added force RX mode in external coexistence on ESP32-C2 (895d97d)
  • ULP: Added support for RTC I2C to ULP RISC-V on ESP32-S2 and ESP32-S3. (867745a)
  • WDT: Support Interrupt WDT and Task WDT on ESP32-C2 (4f1a9e4)
  • GDB Stub: Added support for GDB Stub on ESP32-C2 (6020bb0)
  • pthreads: Added POSIX semaphore implementation (6382fc3)
  • espcoredump: Added ESP32-C2 target support (47fa643)
  • espcoredump: Added support for stacks in external RAM for all targets. (5eb8def)
  • Analog Comparator: Introduced the driver of the analog comparator on ESP32-H2 (2d14ba2)
  • DAC: Introduced new DAC driver, oneshot mode, continuous mode and cosine wave mode are supported on ESP32 and ESP32-S2. Legacy DAC driver in dac.h has been deprecated but still available. The legacy channel enums DAC_CHANNEL_1 and DAC_CHANNEL_2 are deprecated, please use DAC_CHAN_0 and DAC_CHAN_1 instead. (9bc2d15)
  • esp_etm: Support allocating ETM channels dynamically and extensions for GPIO, GPTimer (fefe6f3)
  • GPTimer: New example to capture HC-SR04 sensor by GPTimer and ETM channel (fefe6f3)
  • I2S: Supported 4-line PDM RX on ESP32-S3. (48b23b7)
  • LEDC: Supported LEDC gamma curve fade new feature on ESP32-C6 and ESP32-H2, and added a new relevant ledc_gamma_curve_fade example (3ec287e)
  • MMU: Added new component esp_mm for memory management, added memory mapping APIs in esp_mmu_map.h (1c69929)
  • Cache: Added an API to synchronize data between Cache and external memory, on Cache writable chips (ESP32S2, ESP32S3) (a9ce760)
  • Parlio: Added parallel IO TX driver for ESP32-C6 and ESP32-H2 (14555a1)
  • Parlio: Added a simple RGB LED Matrix example based on the Parallel IO TX driver (14555a1)
  • RGB_LCD: Support RGB-YUV data format conversion (e2634b5)
  • spi_flash: Octal flash and Quad flash mode can be detected automatically in run time. Enabling this feature reduces available internal RAM size by about 900 bytes. (cb28fcf)
  • USB Host: Added support for UVC Host Class (see the UVC Host Class Driver component for more details) and accompanying example (#6493, f161184)
  • USB: Added Mass Storage Device example (a9e40f6)
  • Added a new chip version logic (major * 100 + minor) (c546de8)
  • Semihosting: VFS semihost additional syscalls implemented. (38acc3f)
  • VFS: VFS semihost additional syscalls implemented. (38acc3f)
  • ESP Partition/Linux: Added support for non default file emulating flash memory (6987526)
  • sysview: Added FreeRTOS SMP port (1a006cb)
  • Tools: Added QEMU with xtensa chip support to the Docker image (ccc7846)

Major Bug Fixes

  • Flash MMAP: Fixed issue that only only limited vaddr ranges can be mapped to instructions/rodata on Flash on ESP32-S2, C3, S3, C2 (#10373, 1c69929)
  • MSPI: Fixed timing tuning issue for 80MHz Octal PSRAM on ESP32S3, which would lead to system stall at early stage. (34e5a80)
  • MSPI: Fixed timing turning issue on high frequency lead to crash when entering sleep on ESP32-S3 (3b62bf5)
  • Fixed POWER ON reset when using RTC IO as input in deepsleep on ESP32-S2/ESP32-C3/ESP32-C2 (cfcb573)
  • Fixed RTC memory lost in high temperature in deepsleep on ESP32-S2/ESP32-C3 (cfcb573)
  • Support 8MD256 as RTC slow clock work properly ESP32-S2/ESP32-C3/ESP32-C2/ESP32 (cfcb573)
  • Fixed dangerous power parameters in sleep modes on ESP32-S2 (cfcb573)
  • PHY: Fix the iPhone disconnects immediately after connecting when BLE and wifi coexist on ESP32-C3 and ESP32-S3 (e8dba71)

Breaking Changes

  • bootloader_support: The API bootloader_common_get_partition_description has now been made private, the alternative function esp_ota_get_partition_description should be used. (a2f028a)
  • SDMMC/SDSPI: SD cards accept custom frequencies, not only fixed values 20 MHz or 40 MHz. See Storage migration guide for details (7d28aba)
  • ESSL: The esp_serial_slave_link is removed from the esp-idf components. Now user should use the component manager to pull it in. See example examples/peripherals/sdio/host/main/idf_component.yml for more details (03d8059)
  • Sleep: esp_light_sleep_start now returns two error num when sleep fails: ESP_ERR_SLEEP_REJECT and ESP_ERR_SLEEP_TOO_SHORT_SLEEP_DURATION (f191b2f)
  • Storage: All the partition handling APIs and data-type definitions have been moved from the 'spi_flash' to the new component 'esp_partition'. See Storage 5.x migration guide for more details (b14116f)
  • esp_chip_info() returns the chip version in the format = 100 * major eFuse version + minor eFuse version. (c546de8)
  • Wi-Fi: Modified maximum SoftAP connection number and ESPNOW encrypted connection number. (d89a512)
  • Wi-Fi: Changed ESP-NOW receive callback function type (esp_now_recv_cb_t). This change is made to fix potential security issues mentioned in #8574. (8223a59)
  • ADC: No longer support ADC2 continuous (DMA) mode on ESP32-S3 and ESP32-C3, search for errata on Espressif website to know more details. Users can force use it by enabling ADC_CONTINUOUS_FORCE_USE_ADC2_ON_C3_S3 (6569be4)
  • ADC: No longer support ADC2 oneshot mode on ESP32-C3, search for errata on Espressif website to know more details. Users can force use it by enabling ADC_ONESHOT_FORCE_USE_ADC2_ON_C3 (6569be4)
  • I2S STD: Enabled left_align in the default slot configuration. For the default and most used case, data_bit_width equals to slot_bit_width, which means left_align does not matter in this case.
    For the case that data_bit_width is shorter than slot_bit_width, enabling left_align is a quite typical usage for almost all the codecs. (190e9e7)
  • NimBLE: Updated return type for nimble_port_init / nimble_port_deinit functions. (9916eb6)
  • IDF: All dynamic memory allocated by FreeRTOS now defaults to internal memory. To allocate FreeRTOS objects in special memory (e.g., external memory), please use one of the CreateWithCaps() functions in #include "freertos/idf_additions.h. (daf4150)

Known Issues

  • In ESP32-C6, there is a small chance of core dump when it sends advertisement and scanning.
  • In ESP32-C6, DUT might crash or disconnect with AP when light sleep is enabled.
  • On ESP32-C6, sometimes chip can't wakeup under low temperature, RTC memory lost under high temperature, unexpected power on reset when GPIO wakeup enabled in Deep-sleep. Can't wakeup properly under high temperature from Light-sleep.

Changelog

802.15.4

Added

  • Added support for ESP32-H2 MP chip (63d0494)
  • esp_phy: Added API esp_btbb_disable to be used by 802.15.4 and Bluetooth (e797a06)
  • Open source driver code. (0be6802)

OpenThread

Added

  • Support NAT64 ICMP (5573d13)
  • Added some flash optimization options (45fb699)
  • Added support of Ethernet interface for Openthread br. (6ca5db1)
  • Added 802.15.4 and Thread support for ESP32-C6 (2ce330b)
  • Added support for ESP32-C2 BR and ESP32-C6 BR (radio spinel uart). (46a1165)
  • Supported CSL feature (bb9200a)
  • Supported Link Metrics feature (bb9200a)
  • Add...
Read more

ESP-IDF Release v4.4.5

08 Jun 06:47
v4.4.5
Compare
Choose a tag to compare

Documentation for IDF v4.4.5 is available at https://docs.espressif.com/projects/esp-idf/en/v4.4.5/

ESP-IDF v4.4.5 is a bugfix update for ESP-IDF v4.4.

Obtaining v4.4.5

For full installation instructions, see the ESP-IDF Programming Guide.

The source files attached to this release will not work due to our use of git submodules. Use one of the following methods instead:

Using git

To get this release, use the following commands:

git clone -b v4.4.5 --recursive https://github.com/espressif/esp-idf.git esp-idf-v4.4.5
cd esp-idf-v4.4.5/

This is the recommended way of obtaining v4.4.5 of ESP-IDF.

Download an archive with submodules included

Attached to this release is an esp-idf-v4.4.5.zip archive. It includes .git directory and all the submodules, so can be used out of the box. This archive is provided for users who have connectivity issues preventing them from cloning from GitHub.

This archive can also be downloaded from Espressif's download server:
https://dl.espressif.com/github_assets/espressif/esp-idf/releases/download/v4.4.5/esp-idf-v4.4.5.zip

Major changes

This is the list of changes since release v4.4.4:

Major Changes

  • Bootloader: Added chip revision check based on the configured REV_MIN_FULL and the REV_MAX_FULL associated with IDF version (8232f23)

Major Bugfix

  • efuse: Prevent burning XTS_AES and ECDSA keys into BLOCK9 (BLOCK_KEY5) because HW bug, (related to ESP32-C3, ESP32-S3 chips)(62a9966)
  • PHY: Fixed iPhone disconnects immediately after connecting when BLE and wifi coexist on ESP32-C3 and ESP32-S3 (1071b13)

Breaking Changes

  • esp_chip_info() returns the chip version in the format = 100 * major eFuse version + minor eFuse version. (8232f23)
  • ADC: ADC2 continuous (DMA) mode on ESP32-S3 and ESP32-C3 is not supported by default, Search for errata on espressif website to know more details. Users can force use it by enabling ADC_CONTINUOUS_FORCE_USE_ADC2_ON_C3_S3 (028f483)
  • ADC: ADC2 oneshot mode on ESP32-C3 is not supported by default. Search for errata on espressif website to know more details. Users can force use it by enabling ADC_ONESHOT_FORCE_USE_ADC2_ON_C3 (028f483)

Changelog

Bluetooth

Controller

Bluetooth Low Energy

Added

  • Added config to set duplicate scan list refresh period on ESP32, ESP32-C3 and ESP32-S3 (3208949)
  • Support ESP32C3 and ESP32-S3 new BLE lib (c0efc25)

Changed

  • Changed default TX power to 9 dBm on ESP32 (3208949)
  • Optimized the coexist under BLE initiation on ESP32 (7eba5f8)
  • Improved scan performance when scan and sync coexist on ESP32-C3 and ESP32-S3 (fd5e03b)

Fixed

  • Fixed duplicate scan refresh cycle is not accurate after restarting scan on ESP32 (7eba5f8)
  • Set default instance value to 6 on ESP32-C3 and ESP32-S3 (c0efc25)
  • Merge ESP32C3 and ESP32S3 BLE bt.c, esp_bt.h and kconfig files to one (c0efc25)
  • Disable controller 5.0 feature bits if host 5.0 feature is not enabled ESP32-C3 and ESP32-S3 (c0efc25)
  • Fixed extend ADV parameters check for ADV_DIRECT_HI ESP32-C3 and ESP32-S3 (c0efc25)
  • Fixed BLE disconnect due to channel map update instant passed on ESP32 (17a0cda)
  • Overwrite the oldest device infor if the list is full on ESP32, ESP32-C3 and ESP32-S3 (3208949)
  • Fixed duplicate scan period is not accurate on ESP32, ESP32-C3 and ESP32-S3 (3208949)
  • Fixed some memory was not released after Bluetooth controller initialization failed on ESP32, ESP32-C3 and ESP32-S3 (3208949)
  • Fixed privacy error for directed advertising on ESP32-C3 and ESP32-S3 (3208949)
  • Fixed multiple periodic advertising sync failed in air on ESP32-C3 and ESP32-S3 (3208949)
  • Fixed disconnect reason 0x1f (unspecified error) on ESP32 (3208949)
  • Fixed connection timeout due to LL_TERMINATE_IND has not been acknowledged on ESP32 (3208949)
  • Fixed BLE connection terminated due to MIC failure during encryption procedure on ESP32-C3 and ESP32-S3 (fd5e03b)
  • Fixed BLE connection failed to be established when disabled 5.0 feature on ESP32-C3 and ESP32-S3 (fd5e03b)
  • Fixed non-connectable and non-scannable directed adv can't be scanned on ESP32-C3 and ESP32-S3 (fd5e03b)
  • Disabled controller 5.0 feature bits if host 5.0 feature is not enabled (fd5e03b)

Classic Bluetooth

Added

  • Optimized the wireless coexistence in the conditions of Bluetooth sniff, inquiry scan or page scan on ESP32 (7eba5f8)

Fixed

  • Fixed that functions "coex_enable" and "coex_disable" are not used in pairs on ESP32-C3 and ESP32-S3 (a60b89b)
  • Fixed BR/EDR connection failure in case of wireless coexistence on ESP32 (7eba5f8)
  • Fixed disconnection due to unhandled LMP_UNSNIFF_REQ during the specific state LC_WAIT_SNIFF_SUB_RSP on ESP32 (7eba5f8)
  • Fixed the crash on ESP32 when link supervision timeout is less than sniff subrating interval (7eba5f8)
  • Fixed the crash caused by processing the HCI_Read_Remote_Extented_Features command in the non-connected state on ESP32 (7eba5f8)
  • Fixed the crash after controller disable and re-enable resulted from incorrect hardware settings on esp32 (7eba5f8)

Bluedroid

Fixed

  • Fixed Bluedroid compile errors after setting CONFIG_ESP_SYSTEM_USE_EH_FRAME=y on RISC-V SoCs (778b806)

Classic Bluetooth

Added

  • Added report of response code for AVRCP passthrough command (11e20bb)
  • Added report of ACL link connected and disconnected event to upper layer for GAP (202e1c1)

Changed

  • Updated the API documentation of esp_bt_gap_set_cod (df8c0f2)

Fixed

  • Fixed the issue for HID Host in handling the two consecutive connection request (9f8f60d)
  • Fixed build errors when sniff subrating is enabled. (23ec5e1)
  • Fixed the issue for A2DP in the use of invalid configuration when the peer device configures the stream, resulting in an incorrect error code (f46b03f)
  • Fixed out-of-bound array access in HFP-AG (7894f03)
  • Fixed missing documents for Bluetooth HID Device API reference and fixed the typos for HID device exmaple (7cfc1a7)
  • Fixed LoadProhibited issue caused by invalid operation on list node in handling hci_hardware_error event (8e55945)

Bluetooth Low Energy

Added

  • Support BLE privacy by controller (17a0cda)
  • Added parameters for GATT connect event (17a0cda)
  • Added API to get the name of Bluetooth device. (f31b5c3)

Fixed

  • Examples: support BLE notify and write throughput test at the same time (!23234)
  • Examples: Fixed BLE address type of advertising and scan parameters (17a0cda)
  • Examples: Fixed BLE HID LED output report (b818abb)
  • Fixed bluedroid host ATT Ignore wrong response error sometimes (c0efc25)
  • Enable BT_BLE_RPA_SUPPORTED If target is not ESP32 (c0efc25)
  • Correct the length of ATT_READ_BY_TYPE_REQ PDU (b818abb)
  • Fixed encrypt keysize of GATT characteristic permission (b818abb)
  • Fixed BLE connection update with the same parameters (b818abb)
  • Fixed saving GATTC cache with the same device address. (f31b5c3)
  • Fixed state conflict between advertising and scanning. (f31b5c3)
  • Report status when clearing the BLE whitelist is complete. (f31b5c3)
  • Fixed battery profile wrong condition in bluedroid host (fd5e03b)
  • Fixed no error report when own address type is rpa_random and no random address setting (fd5e03b)
  • PHY: Fixed the iPhone disconnects immediately after connecting when BLE and wifi coexist on ESP32-C3 and ESP32-S3 (1071b13)

NimBLE

Added

  • Added debug related code under debug flag to improve throughput (188bb8d)
  • Added configurable option for resolving peer address in bleprph example (f67cb1d)
  • Added Encryption support (4ceb928)
  • Added GATT notify and subscribe support (4ceb928)

Changed

  • Update Mesh example documentation (bd54673)
  • Updated functions related to adding and clearing peer_dec_rec table (5360833)

Fixed

  • Fixed README of SPP server (712f6cb)

Blufi

Fixed

  • Fixed hdr getting freed twice while using blufi (f89eedd)
  • Fixed vulnerability attacks that could cause heap overflow in fragmented Blufi packet processing (c0efc25)
  • Fixed Blufi document description errors (fd5e03b)

ESP-BLE-Mesh

Fixed

  • Fixed filtering error when Provisioner receives heartbeat messages (424ddb3)
  • Fixed not transmit Transaction ACK before closing provisioning link by Provisioner (3c25ecb)
  • Fixed not send Link Close message before resetting provisioning link by Provisioner (3c25ecb)

Wi-Fi

Added

  • Stored some missed station config parameters into NVS (b7ddd82)
  • Added APIs to get Associate ID and negotiated phymode. (8df9bbd)
  • Added validations during Suite B Enterprise connections. (f3fc6f7)

Changed

  • Added changes to use SHA256 size ciphers for WPA2 enterprise for cert size > 2048 (cdb87a5)
  • Changed abnormal beacon log level to debug (4a4227a)
  • Improved ESP32 connection success rate at some coexistence scene (0e9c393)
  • Updated TX rate when phymode change from LR to 11N (7534dac)
  • Updated Wi-Fi AMSDU docs (bf4a710)
  • Updated esp_wifi_wps_start() API documentation (#10407, fa3c3a8).
  • SA Query and assoc comeback related improvements in STA (#9428, 0c8ec2a)

Fixed

Read more

ESP-IDF Pre-release v5.1-rc1

05 Jun 08:39
v5.1-rc1
Compare
Choose a tag to compare
Pre-release

Documentation for IDF v5.1-rc1 is available at https://docs.espressif.com/projects/esp-idf/en/v5.1-rc1/

ESP-IDF v5.1-rc1 is a minor update for ESP-IDF v5.0. Release v5.1 is mostly compatible with apps written for ESP-IDF v5.0.

Obtaining v5.1-rc1

For full installation instructions, see the ESP-IDF Programming Guide.

The source files attached to this release will not work due to our use of git submodules. Use one of the following methods instead:

Using git

To get this release, use the following commands:

git clone -b v5.1-rc1 --recursive https://github.com/espressif/esp-idf.git esp-idf-v5.1-rc1
cd esp-idf-v5.1-rc1/

This is the recommended way of obtaining v5.1-rc1 of ESP-IDF.

Download an archive with submodules included

Attached to this release is an esp-idf-v5.1-rc1.zip archive. It includes .git directory and all the submodules, so can be used out of the box. This archive is provided for users who have connectivity issues preventing them from cloning from GitHub.

This archive can also be downloaded from Espressif's download server:
https://dl.espressif.com/github_assets/espressif/esp-idf/releases/download/v5.1-rc1/esp-idf-v5.1-rc1.zip

Major changes

This is the list of changes since release v5.0:

Major Features

  • ESP32-C6 support status
  • ESP32-H2 support status
  • Bluetooth: Bluetooth support use main XTAL in light sleep mode on ESP32-C3/ESP32-S3 (33f1747)
  • Bluetooth: Supported Bluetooth to release .bss and .data segment memory on ESP32-C3 and ESP32-S3 (d530630)
  • Bluetooth: Supported Bluetooth to release .bss and .data segment memory on ESP32-C2 (8ea3865)
  • NimBLE: Added stack support for LE Power Control (8facf6f)
  • NimBLE: Migrated to nimble-1.5 (07d8862)
  • Wi-Fi: Added WPS registrar support in SoftAP mode. (f27a95c)
  • Wi-Fi: Added support for SAE-PK (Public Key) authentication for station. (e44c7fb)
  • Wi-Fi: Added support of WPA3 Personal (SAE) in SoftAP. (146a5c4)
  • Wi-Fi: Added Wi-Fi Aware (NAN) support(currently only ESP32/ESP32S2 support)(d5f53fb)
  • Wi-Fi: Added support for WPA2/WPA3, mixed mode for SoftAP. (146a5c4)
  • OpenThread: Added support of Ethernet interface for Openthread br (6ca5db1)
  • OpenThraed: Supported CSL feature (bb9200a)
  • OpenThread: Supported Link Metrics feature (bb9200a)
  • OpenThread: Added SPI support in Radio Co-Processor (c0097c1)
  • Coexistence: Added external coexistence(leader mode) support on ESP32-S3 and ESP32-C2 (895d97d)
  • Coexistence: Added external coexistence(follower mode) support on ESP32-C2 (895d97d)
  • Coexistence: Added force RX mode in external coexistence on ESP32-C2 (895d97d)
  • ULP: Added support for RTC I2C to ULP RISC-V on ESP32-S2 and ESP32-S3. (867745a)
  • WDT: Support Interrupt WDT and Task WDT on ESP32-C2 (4f1a9e4)
  • GDB Stub: Added support for GDB Stub on ESP32-C2 (6020bb0)
  • pthreads: Added POSIX semaphore implementation (6382fc3)
  • espcoredump: Added ESP32-C2 target support (47fa643)
  • espcoredump: Added support for stacks in external RAM for all targets. (5eb8def)
  • Analog Comparator: Introduced the driver of the analog comparator on ESP32-H2 (2d14ba2)
  • DAC: Introduced new DAC driver, oneshot mode, continuous mode and cosine wave mode are supported on ESP32 and ESP32-S2. Legacy DAC driver in dac.h has been deprecated but still available. The legacy channel enums DAC_CHANNEL_1 and DAC_CHANNEL_2 are deprecated, please use DAC_CHAN_0 and DAC_CHAN_1 instead. (9bc2d15)
  • esp_etm: Support allocating ETM channels dynamically and extensions for GPIO, GPTimer (fefe6f3)
  • GPTimer: New example to capture HC-SR04 sensor by GPTimer and ETM channel (fefe6f3)
  • I2S: Supported 4-line PDM RX on ESP32-S3. (48b23b7)
  • LEDC: Supported LEDC gamma curve fade new feature on ESP32-C6 and ESP32-H2, and added a new relevant ledc_gamma_curve_fade example (3ec287e)
  • MMU: Added new component esp_mm for memory management, added memory mapping APIs in esp_mmu_map.h (1c69929)
  • Cache: Added an API to synchronize data between Cache and external memory, on Cache writable chips (ESP32S2, ESP32S3) (a9ce760)
  • Parlio: Added parallel IO TX driver for ESP32-C6 and ESP32-H2 (14555a1)
  • Parlio: Added a simple RGB LED Matrix example based on the Parallel IO TX driver (14555a1)
  • RGB_LCD: Support RGB-YUV data format conversion (e2634b5)
  • spi_flash: Octal flash and Quad flash mode can be detected automatically in run time. Enabling this feature reduces available internal RAM size by about 900 bytes. (cb28fcf)
  • USB Host: Added support for UVC Host Class (see the UVC Host Class Driver component for more details) and accompanying example (#6493, f161184)
  • USB: Added Mass Storage Device example (a9e40f6)
  • Added a new chip version logic (major * 100 + minor) (c546de8)
  • Semihosting: VFS semihost additional syscalls implemented. (38acc3f)
  • VFS: VFS semihost additional syscalls implemented. (38acc3f)
  • ESP Partition/Linux: Added support for non default file emulating flash memory (6987526)
  • sysview: Added FreeRTOS SMP port (1a006cb)
  • Tools: Added QEMU with xtensa chip support to the Docker image (ccc7846)

Major Bug Fixes

  • Flash MMAP: Fixed issue that only only limited vaddr ranges can be mapped to instructions/rodata on Flash on ESP32-S2, C3, S3, C2 (#10373, 1c69929)
  • MSPI: Fixed timing tuning issue for 80MHz Octal PSRAM on ESP32S3, which would lead to system stall at early stage. (34e5a80)
  • MSPI: Fixed timing turning issue on high frequency lead to crash when entering sleep on ESP32-S3 (3b62bf5)
  • Fixed POWER ON reset when using RTC IO as input in deepsleep on ESP32-S2/ESP32-C3/ESP32-C2 (cfcb573)
  • Fixed RTC memory lost in high temperature in deepsleep on ESP32-S2/ESP32-C3 (cfcb573)
  • Support 8MD256 as RTC slow clock work properly ESP32-S2/ESP32-C3/ESP32-C2/ESP32 (cfcb573)
  • Fixed dangerous power parameters in sleep modes on ESP32-S2 (cfcb573)
  • PHY: Fix the iPhone disconnects immediately after connecting when BLE and wifi coexist on ESP32-C3 and ESP32-S3 (e8dba71)

Breaking Changes

  • bootloader_support: The API bootloader_common_get_partition_description has now been made private, the alternative function esp_ota_get_partition_description should be used. (a2f028a)
  • SDMMC/SDSPI: SD cards accept custom frequencies, not only fixed values 20 MHz or 40 MHz. See Storage migration guide for details (7d28aba)
  • ESSL: The esp_serial_slave_link is removed from the esp-idf components. Now user should use the component manager to pull it in. See example examples/peripherals/sdio/host/main/idf_component.yml for more details (03d8059)
  • Sleep: esp_light_sleep_start now returns two error num when sleep fails: ESP_ERR_SLEEP_REJECT and ESP_ERR_SLEEP_TOO_SHORT_SLEEP_DURATION (f191b2f)
  • Storage: All the partition handling APIs and data-type definitions have been moved from the 'spi_flash' to the new component 'esp_partition'. See Storage 5.x migration guide for more details (b14116f)
  • esp_chip_info() returns the chip version in the format = 100 * major eFuse version + minor eFuse version. (c546de8)
  • Wi-Fi: Modified maximum SoftAP connection number and ESPNOW encrypted connection number. (d89a512)
  • Wi-Fi: Changed ESP-NOW receive callback function type (esp_now_recv_cb_t). This change is made to fix potential security issues mentioned in #8574. (8223a59)
  • ADC: No longer support ADC2 continuous (DMA) mode on ESP32-S3 and ESP32-C3, search for errata on Espressif website to know more details. Users can force use it by enabling ADC_CONTINUOUS_FORCE_USE_ADC2_ON_C3_S3 (6569be4)
  • ADC: No longer support ADC2 oneshot mode on ESP32-C3, search for errata on Espressif website to know more details. Users can force use it by enabling ADC_ONESHOT_FORCE_USE_ADC2_ON_C3 (6569be4)
  • I2S STD: Enabled left_align in the default slot configuration. For the default and most used case, data_bit_width equals to slot_bit_width, which means left_align does not matter in this case.
    For the case that data_bit_width is shorter than slot_bit_width, enabling left_align is a quite typical usage for almost all the codecs. (190e9e7)
  • NimBLE: Updated return type for nimble_port_init / nimble_port_deinit functions. (9916eb6)
  • IDF: All dynamic memory allocated by FreeRTOS now defaults to internal memory. To allocate FreeRTOS objects in special memory (e.g., external memory), please use one of the CreateWithCaps() functions in #include "freertos/idf_additions.h. (daf4150)

Known Issues

  • In ESP32-H2, the low performance of Thread and BlueTooth are observed on some chips, and the fix is included in a later commit(b0e2f33).
  • In ESP32-C6, frequent start-stop wifi will make wifi unable to use.
  • In ESP32-C6, there is a small chance of core dump when it acts as SoftAP and transmits packets.
  • In ESP32-C6, there is a small chance of core dump when it sends advertisement and scanning.
  • In ESP32-C6, DUT might crash or disconnect with AP when light sleep enabled.
  • On all chips that support Bluetooth, there is a tiny chance of core dump when the BLE client accidentally disconnected from its server as the server is sending notifications.

Changelog

802.15.4

Added

  • Added support for ESP32-H2 MP chip (63d0494)
  • esp_phy: Added API esp_btbb_disable to be used by 802.15.4 and Bluetooth (e797a06)
  • Open source driver code. (0be6802)

OpenThread

Added

  • Support NAT64 ICMP (5573d13)
  • Added some flash optimization options (45fb699)
  • Added support of Ethernet interface for ...
Read more