v5.0.7
版本发布时间: 2024-08-15 02:56:29
espressif/esp-idf最新发布版本:v5.3.1(2024-09-04 11:05:57)
Documentation for IDF v5.0.7 is available at https://docs.espressif.com/projects/esp-idf/en/v5.0.7/
ESP-IDF v5.0.7 is a bugfix update for ESP-IDF v5.0.
Obtaining v5.0.7
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.7 --recursive https://github.com/espressif/esp-idf.git esp-idf-v5.0.7
cd esp-idf-v5.0.7/
This is the recommended way of obtaining v5.0.7 of ESP-IDF.
Download an archive with submodules included
Attached to this release is an esp-idf-v5.0.7.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.7/esp-idf-v5.0.7.zip
Major changes
Major Bug Fixes
- SPI Flash: Fixed stuck during spi_flash operation when a task was not pinned to a certain CPU. (f0c2da6d)
Changelog
This is the list of changes since release v5.0.6:
App Update
Added
- Updated
esp_ota_revoke_secure_boot_public_key
to validate the new app and the bootloader before key revocation. (68c450df)
App Utils
Changed
- Updated cJSON version to v1.7.18 (d962b767)
Fixed
- Added check for
LWIP_NETIF_LOOPBACK
in the HTTP server control socket API (https://github.com/espressif/esp-idf/issues/13659) (3043a836) - Fixed allocating
if_name
in client context multiple times (https://github.com/espressif/esp-idf/pull/13945) (6a284148) - Fixed esp_http_client to reset redirect_counter after completion of a request (https://github.com/espressif/esp-idf/issues/13633) (3043a836)
- Fixed incorrect processing of HTTP header (https://github.com/espressif/esp-idf/issues/13497) (9d1abd72)
- Fixed esp_http_client digest auth without qop (5af8e889)
- Esp Prov: Fixed incorrect input decoding when using console transport (bf87512d)
Bluetooth Low Energy (BLE)
Fixed
- Example: Use correct struct type in discover service complete event in examples/bluetooth/bluedroid/ble/gatt_client. (d388c85f)
- Example: Fixed UART HCI when flow control is off in examples/bluetooth/hci/controller_hci_uart_esp32c3_and_esp32s3. (7a649e80)
Bluetooth Low Energy Controller
Added
- Supported ESP32-C2 light sleep using an external 32.768 kHz oscillator at pin0 as a slow clock source. (2796f016)
- Added CCA-related config option on ESP32-C2 (2796f016)
- Added API to get low power clock source on ESP32-C3 and ESP32-S3 (3b6ee156)
- Added config for channel assessment and ping procedure on ESP32-C3 and ESP32-S3 (dd61b7ed)
- Added BLE scan backoff config in menuconfig on ESP32 (dd61b7ed)
- Removed error print when disconnection again if the disconnection procedure is ongoing on ESP32 (dd61b7ed)
- Added support for configurable default TX power on ESP32-C2. (4a46dce7)
Changed
- Expanded the scan period to the maximum of 0xffff on ESP32-C2. (2796f016)
- Optimized BLE notify and write throughput performance on ESP32. (d156502b)
- Optimized BLE event reporting time for connection failures (9a0c562b)
- Changed the level of BLE interrupt to avoid allocation failure on ESP32S3. (13033ac5)
Fixed
- Fixed HCI command status event sent when LLCP is busy on ESP32 (d388c85f)
- Fixed HCI command status event sending for disconnection command on ESP32 (d388c85f)
- Fixed LE transmitter test command parameters check on ESP32 (d388c85f)
- Fixed an occasional assertion issue when enabling multiple periodic adv on ESP32-C2. (b1992f1b)
- Fixed adv interval range limit error issue on ESP32-C2. (b1992f1b)
- Fixed an occasional assertion issue when disabling the Controller on ESP32-C2. (b1992f1b)
- Fixed scheduling when modem sleep wakeup is delayed on ESP32-C3 and ESP32-S3. (0c555c9f)
- Fixed BLE IRQ FIFO overflow when entering critical on ESP32-C3 and ESP32-S3. (0c555c9f)
- Fixed clock sync timeout when exiting modem sleep on ESP32-C3 and ESP32-S3. (0c555c9f)
- Fixed directed adv with RPA when privacy was disabled on ESP32-C3 and ESP32-S3. (0c555c9f)
- Fixed instant passed when connection updating or PHY updating on ESP32-C3 and ESP32-S3. (0c555c9f)
- Fixed BLE TX count in direct test mode on ESP32-C3 and ESP32-S3. (0c555c9f)
- Fixed BLE modem sleep enter failed sometimes on ESP32-C3 and ESP32-S3. (0c555c9f)
- Fixed an occasional assertion issue during slave connection in WiFi coexistence scenarios on ESP32-C2. (38aef776)
- Fixed an issue of occasional ACL data loss under multiple BLE connections on ESP32-C2. (2796f016)
- Clear random address for extended advertising on ESP32-C3 and ESP32-S3 (dd61b7ed)
- Fixed periodic advertising data setting with zero length on ESP32-C3 and ESP32-S3 (dd61b7ed)
- Fixed BLE scan assert on ESP32 (https://github.com/espressif/esp-idf/issues/8532) (dd61b7ed)
- Fixed BLE assert when receiving packets on ESP32 (dd61b7ed)
- Fixed extended uncoded and coded scan scheduling on ESP32-C3 and ESP32-S3 (dd61b7ed)
- Fixed memory leak issue when BLE SCAN and other BLE events coexist on ESP32. (https://github.com/espressif/esp-idf/issues/13747) (d156502b)
- Fixed BLE connection timeout issue after using DTM on ESP32. (d156502b)
- Fixed assert issue caused by DPORT access on ESP32. (d156502b)
- Fixed event_type parameter error in LE Extended Advertising Report event when using Extended scan to receive SCAN_RSP PDU on ESP32-C2. (b6f83401)
- Fixed the issue where the HCI_LE_Set_Extended_Scan_Parameters command returned an invalid parameter error status when setting the scan interval and scan window parameters to values that are greater than 0x4000 or less than 0xFFFF on ESP32C2. (b6f83401)
- Fixed assert when starting advertising due to preemption on ESP32-C3 and ESP32-S3. (bb71e792)
- Fixed the issue where RPA did not re-generage after each reboot on ESP32-C3 and ESP32-S3. (bb71e792)
- Fixed BLE scan backoff on ESP32 (d4f35fcb)
- Fixed BLE coexistence assert on ESP32 (961ca4f9)
- Fixed BLE DTM status and TX count error on ESP32 (961ca4f9)
- Reduced the usage of flash and RAM when only legacy adv and peripheral are enabled on ESP32-C2. (fb12a680)
- Use embedded assembly to get access to DPORT registers on ESP32 (dd61b7ed)
- Fixed a memory leak in advertising data after restarting advertising on ESP32-C3 and ESP32-S3. (ef922dd3)
- Fixed BLE interrupt allocation using system API on ESP32-C3 and ESP32-S3. (ef922dd3)
- Fixed BT BB interrupt allocation on ESP32-C3 and ESP32-S3. (ef922dd3)
- Fixed controller task blocking issue when using UART HCI on ESP32-C2. (8d86ea02)
- Prevent BLE interrupt from being preempted on ESP32-C3 and ESP32-S3. (7109734d)
- Fixed the issue where RSSI is incorrect when the peripheral latency for the connection is not zero (7109734d)
- Fixed HCI not returning 0x45 when adv interval and data length mismatch on ESP32-C2. (8599e25c)
- Fixed occasional cache error crash in the DTM process on ESP32-C2. (8599e25c)
ESP Bluedroid Host
Added
- Added bluerooth HCI layer data stream record (6d63daac)
- Added APIs for BLE direct test mode (6d63daac)
- Added API to send vendor HCI command (6d63daac)
- Added API to add BLE devices to the resolving list (2233d548)
- Support creating BLE static random address and NRPA (2233d548)
- Support API to set resolvable private address timeout (2233d548)
- Added support for setting BLE privacy mode for peer devices. (6d288efe)
- Added definitions for BLE authentication failure reasons. (ef922dd3)
- Added support for BLE 5.0 instances in related events (a8f8936b)
- Added the check for setting BLE advertising parameters when deleting GATTS services (a8f8936b)
Changed
- Updated maximum BLE reconnection attempts configuration (597a7d10)
- Optimized BLE SPP example for improved compatibility (2233d548)
Fixed
- Fixed the issue where advertising does not restart due to disconnection reason 0x3e (6d63daac)
- Fixed crash when calculating GATTS database hash (d388c85f)
- Fixed BLE crash when repeatedly initializing and deinitializing host (ffdd5dc2)
- Fixed BLE periodic advertising to create sync parameter check error (ffdd5dc2)
- Fixed xQueueSemaphoreTask assert when deinitializing host during scan (d253654f)
- Fixed BLE appearance category ranges (https://github.com/espressif/esp-idf/issues/13626) (4ae73b7f)
- Fixed BLE GATT max length of an attribute value (2233d548)
- Fixed the issue where the BLE data length change event was not triggered when the packet length was modified on the other connected device. (9e49bf80)
- Fixed BLE security vulnerability when using fixed local IRK. (ef922dd3)
Removed
- Removed error print when failing to remove a device from the resolving list. (ef922dd3)
ESP BLE Mesh
Changed
- Improved BLE mesh deinitialization procedure when using NimBLE Host (48570f54)
Fixed
- Fixed an issue that could cause incorrect transmission resources to be released (6ed28025)
- Fixed potential deadlock may happened during initialization when using Bluedroid Host (432f1ff7)
- Fixed issue where the mesh deinit complete event may not be reported when using NimBLE Host (15052327)
- Fixed the struct initialization to meet C++ requirements for BLE Mesh stack (55adcbf9)
- Fixed the struct initialization to meet C++ requirements for BLE Mesh examples (55adcbf9)
- Fixed using wrong type value for ADV_NONCONN_IND in NimBLE Host adapter (1cc35f0b)
ESP NimBLE Host
Added
- Added support for periodic ADV feature updates in BLE 5.3 (4780f809)
- Added periodic_adv_enh SOC capabilities for ESP32-C2 (4780f809)
- Added support of encrypted advertising data (a1ce7ed9)
- Added test API to show current stack operations status (f60c9f16)
- Added APIs to support BLE DTM functions. (6977aa05)
- Added check to validate adv interval min /max range (ae0beef8)
- Added usage of esp_timer_get_expiry_time to get current remaining ticks (39a07ff4)
- Added the check to prevent address resolution in case of identity addr for esp32 (b6b820fd)
- Added ble_host_rpa_enabled flag for address resolution for ESP32 (20792606)
- Added support for deleting the oldest bonded device across reboot (300d4bfe)
- Added VSC and VSE framework (d859008a)
- Added API to get resolve ADV data (c5515d72)
- Added API to get the local used address. (e746d29f)
- Create separate API to only extract cb info (4e5e8aa1)
- Added support for data length change event (79b48fe8)
- Added return code in ble_gap_unpair error logs (dfe5f62c)
Changed
- Increase range of reattempt connection count (17de2594)
- Updated help sections for BLE_RPA_TIMEOUT menuconfig. (2365dd16)
- Simplify GAP reconnection code (6da25475)
- Added change to start readvertising for disconnect with 0x3E code in slave mode (7a4adba7)
- Update menuconfig options to consider BLE 5.0 support options. (1b89cfc4)
Fixed
- Change 'move_count' to uint8_t type to fix compilation issue in nimble for -O2 flag. (ee8edad5)
- Fixed out of order message causing DOS during SMP procedure. (0e56e20e)
- Added support to authorize or deauthorize a BLE device for a connection (d39db5ed)
- Handle memory leak in callout deinit (9aaa048d)
- Fixed type in blehr/README (https://github.com/espressif/esp-idf/pull/13034) (2769144e)
- Free controller memory if stack init fails (https://github.com/espressif/esp-nimble/pull/68) (dca16785)
- Deselect MBEDTLS_ECP_RESTARTABLE when mbedTLS is used (https://github.com/espressif/esp-idf/issues/13645) (c603b012)
- Expose API to set RPA timeout in stack. (0ed5284e)
- Fixed compilation issues when CCCD is set to 0 (94b7b509)
- Fixed for CVE-2024-24746 vulnerability (a1097119)
- Fixed the size of number packets in dtm event (5b861dff)
- Set correct peer_addr during reattempt connection (0ef284eb)
- Fixed memory leak during reattempt adv data usage (7a4adba7)
- Handle a missing free in ble spp example (46976bdc)
- Explicitly NULL assign adv data pointer after free. (c46dc8c6)
- Fixed crash issue by copying data correctly into reattempt buffer (9b7a80a5)
- Fixed issue where cb information passed in connect request was getting corrupted. (dc13544d)
- Clear resources before re-starting advertising (0877ec2a)
- Reserve space for one extra ext adv packet (f262a271)
Removed
- Removed double free of l2cap packet in example (f6be8841)
BluFi
Fixed
- Fixed BluFi module link error (C++ hybrid compilation) (d388c85f)
- Corrected host deinit API (6992b536)
Classic Bluetooth
Classic Bluetooth Bluedroid Host
Added
- Added description of use limitations of security masks in SPP API document (66d71efb)
Changed
- Unify the conversion of error code between HCI status and esp_bt_status_t constants (ad811125)
Fixed
- Fixed the issue of using the wrong handle to handle the BTA_JV_L2CAP_READ_EVT event (https://github.com/espressif/esp-idf/issues/13847) (f864a09c)
- Fixed the HID Host inner error state caused by repeat connection of the same device (e8641f62)
- Fixed inconsistency of connection initiator state for HID Host open event (e8641f62)
- Fixed the HID Device inner error state caused by the failed connection (e8641f62)
- Allocate memory for control block of HFP Audio Gateway in its initialization when dynamic memory is enabled (e1dfcbc5)
- Fixed the crash caused by using illegal pointers during SDP deinit (d4350597)
- Fixed missing of callback event when removing an invalid SDP record (d4350597)
- Fixed SPP crash due to the connection not being disconnected before
esp_spp_deinit
was called (3fdc794f) - Fixed the dangling pointer in processing the list of bonded bluetooth device (646658a5)
- Fixed connection failure due to out-of-sync status of application layer and BTU layer (153b81b5)
Classic Bluetooth Controller
Fixed
- Added integrity check for
HCI_Link_Key_Selection
command on ESP32 (fdc230e1) - Fixed returning incorrect link key with hci command rd_stored_link_key on ESP32 (bc93b77f)
- Fixed the assert triggered during APB TX on ESP32 (bc93b77f)
- Fixed role switch LMP collision bug on ESP32 (bc93b77f)
- Fixed assert 1024 issue when Classic Blueooth TX and Wifi coexist on ESP32 (d4f35fcb)
- Fixed the error in parsing packet_type argument for HCI_Enhanced_Setup_Synchronous_Connection, which causes acception of eSCO EDR packet types when they are configured not to be used (d4f35fcb)
- Fixed the incorrect timing in reporting HCI_Link_Key_Type_Changed event on ESP32 (3cf0a49d)
- Fixed the incorrect initialization vector during resuming encryption on ESP32 (3cf0a49d)
- Fixed incorrect link key returned from HCI command HCI_READ_STORED_LINK_KEY on ESP32 (3cf0a49d)
- Fixed crash issue when doing Bluetooth deinit in coexistence scenario on ESP32 (75873b4a)
- Fixed invalid transmission of LMP_MAX_POWER PDU in case that peer device is expected peer to increase TX power to maximum on ESP32. (75873b4a)
- Fixed the loss of coexistence request event during sniff transition process due to insufficient of message queue length, which causes Bluetooth link disconnection in case of wireless coexistence on ESP32 (d388c85f)
- Clear sniff state in coexistence scheme when no connections exist on ESP32 (d388c85f)
- Fixed fail to establish eSCO when connected to two devices on ESP32 (https://github.com/espressif/esp-idf/issues/11172) (a808db00)
- Fixed uninitialized random number before pausing AES encryption on ESP32 (a808db00)
- Fixed not report HCI_Disconnection_Complete event after the controller has initiated a disconnection procedure on ESP32 (a808db00)
- Removed an improper assertion in ACL link driver which can be triggered on peripheral SNIFF mode when RX window is adjusted on ESP32. (88ee1f5c)
Bluetooth Common
Added
- Added an option to make alarm number configurable (76492708)
Fixed
- Fixed missing linker generated symbols in using esp_bt_mem_release when
ESP_ALLOW_BSS_SEG_EXTERNAL_MEMORY
is enabled (https://github.com/espressif/esp-idf/issues/10427, https://github.com/espressif/esp-idf/issues/11377) (6a17b9c1)
Bluedroid
Changed
- Make the maximum number of bond devices to be configurable. (7a649e80)
Fixed
- Fixed controller using null pointer after bluedroid deinit (7c9bacb6)
Controller
Added
- Added compile options
-ffunction-sections
and-fdata-sections
when building libbtdm_app.a, to allow to reduce code and data from executable on ESP32 (462dfaf4)
Fixed
- Apply only necessary patches for Bluetooth controller ROM code according to Bluetooth mode on ESP32 in order to reduce IRAM consumption and binary size (462dfaf4)
- Register coexist functions into Bluetooth controller on ESP32-C3/ESP32-S3 (dd61b7ed)
Coexistence
Fixed
- Fixed LoadProhibited issue in coexistence scenario on ESP32C3 and ESP32S3 (ce8dd399)
- Fixed the issue that BLE do not update SCAN status correctly for coexistence module on ESP32C3 and ESP32S3. (bb71e792)
- Fixed circular dependency issue on ESP32 (https://github.com/espressif/esp-idf/issues/13113) (2ed1e79d)
PHY
Added
- Added PHY calibration data check when mode is not none calibration (4db9de02)
Changed
- Updated ESP32-S2 PHY version to 2500, 8368a9b, Mar 21 2024 (5f71b65f)
- Updated ESP32-C3 PHY version to 1170, f4aea9b, Apr 30 2024 (1f8b9b04)
- Updated ESP32-S3 PHY version to 670, b7bc9b9, Apr 30 2024 (1f8b9b04)
Fixed
- Fixed BLE coded PHY s8 packet TX issue in coexistence scenarios on ESP32-C3, ESP32-S3 and ESP32-C2. (14e34446)
Wi-Fi
Changed
- Updated the LMK description in ESP-NOW documentation (https://github.com/espressif/esp-idf/issues/12976) (3b1ec55e)
- Updated scan AP number when clear scan AP records (a1dad7ef)
Fixed
- Fixed issue in changing operation mode when WPS is enabled. (4c6b043d)
- Fixed sniffer dump FCS error packets fail (https://github.com/espressif/esp-idf/issues/10777) (85fdb69e)
- Fixed ESP-NOW get private parameter error (https://github.com/espressif/esp-idf/issues/13693) (85fdb69e)
- Added fix for memory leak in WPA3-SAE. (394a3f59)
- Docs: Format AP basic configuration tables (026f3ed9)
- Fixed the issue of TBTT interrupt miss caused by beacon monitor (a2434a84)
- Avoid internal retries for off channel FTM Requests (6d79a72d)
Removed
- Smart Config: Removed rogue semicolon in
SMARTCONFIG_START_CONFIG_DEFAULT()
which was causing some build errors when used in C++ (https://github.com/espressif/esp-idf/pull/12867) (d409df4b)
Wi-Fi MAC
Added
- Supported Wi-Fi power save at coexist mode (a2434a84)
Changed
- Updated FTM PHY Compensation values (289e886d)
- Treated it as WPA2/WPA3-PSK when AP advertising WPA/WPA2/WPA3-PSK (https://github.com/espressif/esp-idf/issues/12517) (cb4d647d)
- Refactor FTM code and add calibration for FTM in 40MHz Bandwidth (94747915)
- Limited the number of sub AMSDU frame (b0173a10)
- Improved Wi-Fi connecting success rate at coexist scenary (987752fc)
Fixed
- Fixed Wi-Fi connect issue after software CPU reset with BLE scan. (a2434a84)
- Fixed GCMP encryption for management packets. (a6e89b46)
- Fixed decryption of deauth/disassoc packets when Management Frame Protection enabled (a6e89b46)
- Fixed ESP32 unrecoverable "m f" issue (55ca8a8b)
- Fixed issue in decryption of ESP-NOW packets for esp32 and esp32s2 when station disconnects from PMF AP (b2fb9e3f)
- Fixed FTM failures with external AP while connected in 40MHz (289e886d)
- Fixed bug in
esp_wifi_deauthenticate_internal
and other improvements (eaef5261) - Fixed issue that
esp_wifi_set_mode
not returning error for invalid argument (b0173a10) - Fixed AMPDU compatibility issue for some AP (b0173a10)
- Fixed sporadic crash arising out of concurrency issues in functioning of DPP module (2fcd97dd)
- Station should ignore FT, Enterprise AP for connection when their capabilities are disabled in Kconfig (01ac18f4)
- Fixed association refused temporarily issue (17bdbedc)
- Fixed the issue of DNS failure caused by continuously initiating connections to the same router (https://github.com/espressif/esp-idf/issues/12315) (17bdbedc)
- Fixed issue of STA may join bad RSSI AP when sort by signal (https://github.com/espressif/esp-idf/issues/13958) (17bdbedc)
- Fixed ESP32 wrong period for
ESP_WIFI_SLP_BEACON_LOST_OPT
feature. (a2434a84) - Fixed ESP32-C3/ESP32-C2/ESP32-S2 inaccurate period for
ESP_WIFI_SLP_BEACON_LOST_OPT
feature. (a2434a84) - Fixed the loop beacon timeout issue when STA connected to AP do Wi-Fi scan (97bac418)
- Fixed the issue that SOC_WIFI_GCMP_SUPPORT with GCMP disabled try to connect AP with both CCMP and GCMP enabled (d0ff5e62)
- Used low rate to send DHCP offer and DHCP ack to avoid get IP fail (b0173a10)
- Used QoS Data to encapsulated EAPOL frame (b0173a10)
- Fixed crash issue during WiFi connect when AMSDU TX enabled (b0173a10)
- Fixed multicast address QoS frames issue (b0173a10)
- Fixed task watchdog got triggered by
esp_wifi_stop
issue (b0173a10) - Fixed scan get AP number issue (b0173a10)
- Fixed beacon timeout after restart (987752fc)
- Fixed Wi-Fi stop cost too much time at coexist scenario (987752fc)
- Fixed
esp_wifi_scan_start
memory leakage issue (https://github.com/espressif/esp-idf/issues/10693) (c286a416)
ESP-WIFI-MESH
Changed
- Updated the documentation for the use of mesh APIs (85fdb69e)
Fixed
- Fixed the issue that XON request timeout constantly when root reboot (https://github.com/espressif/esp-idf/issues/13212) (98d3c821)
- Do not send NULL data when scan start/done for mesh (https://github.com/espressif/esp-idf/issues/13786) (9cceca59)
- Fixed the TX issue when mesh lifetime remain equal to zero (8b6811ef)
- Wait for child disconnect event when mesh deinit (a1dad7ef)
Wi-Fi Supplicant
Added
- Added parameter to configure reason code of deauth frame (eaef5261)
- Added support for WPA3-Enterprise and OWE transition disable indication (a7e404d0)
- Added low heap Kconfig option for EAP enterprise (702853c0)
- Added change to allow calling esp_mbo_* APIs only when MBO config flag is enabled. (1e8aa6c8)
- Added support to move supplicant BSS to external memory (91ed63ef)
Fixed
- Fixed for setting WPS status fail when connection fails. (517ca1b9)
- Fixed a memory leak that occurs when the SAE connection is interrupted. (509015cf)
- Fixed dereferencing a dangling function pointer in WPS (397c1d99)
- CVE-2023-52160 Updated phase2 requirement for WiFi PEAP authentication to required when client cert/private key is not used. (94d2ac6a)
ESP Vendor Feature
Changed
- example: Changed the magic variable from int to uint32_t on the receiving side (https://github.com/espressif/esp-idf/issues/10912) (26af71d0)
- Updated the documentation for the use of sniffer APIs (https://github.com/espressif/esp-idf/issues/10740) (26af71d0)
Fixed
- example: Fixed smartconfig BSSID set issue (edaff79b)
Ethernet
Added
- Added functions to access MDIO Managed Devices (MMD) PHY registers (1a482595)
Fixed
- Fixed link detection for DP83848 to use BMSR (https://github.com/espressif/esp-idf/pull/13560) (9751ab51)
- Fixed reset timing of IP101 to align with datasheet. (13959f25)
- Fixed issue when Ethernet MAC didn't start after the second start/stop sequence when auto-negotiation disabled. (f7463995)
- Fixed SPI Ethernet _alloc_recv_buf error handling (5952e6cc)
- Fixed W5500 flush received frame function (5952e6cc)
Security
Fixed
- Fixed incorrect results for GCM operations that used non-AES ciphers using software fallback (4a7eab3d)
- Fixed build failure and incorrect GCM hardware usage when
CONFIG_MBEDTLS_HARDWARE_GCM
is disabled (f01e9be6) - Additional protection for secure version check in anti-rollback case to avoid security bypass with physical access to flash (534e3ad1)
- Updated method for disabling HMAC to avoid unnecessary peripheral reset during disabling (82239951)
Peripheral Drivers
Added
- SPI Flash: Add check for safe write address in encrypted flash write API (d80aa9f5)
- RMT: Added help function to allocate the memory used by the encoder (https://github.com/espressif/esp-idf/issues/13032) (1ddc3564)
- RMT: Support update bytes encoder configurations at runtime (https://github.com/espressif/esp-idf/issues/12775) (7146c557)
Changed
- SPI Flash: Moved config options that depends special flash models into
Main Flash configuration
menu (50fc2bf6) - SPI Flash: Now HPM (Quad Flash > 80MHz), that rely on special flash model, needs users' manual confirmation by selecting
SPI_FLASH_HPM_ENA
(Read Programming guideSPI Flash API > Optional Features for Flash > High Performance Mode
First!) (50fc2bf6)
Fixed
- ADC: Fixed wrong results after ADC continuous mode stops and starts again on ESP32-C6/ESP32-H2/ESP32-S3/ESP32-S2/ESP32-C2 on leagcy driver (1cb07eb2)
- GPIO: Fixed mismatching real drive capability with the configured value for some IOs on ESP32-C3 and ESP32-S3 (6371dcbc)
- I2C: Fixed timeout being overwritten when starting an I2C transfer (https://github.com/espressif/esp-idf/issues/4999) (2691bbac)
- I2S: Fixed incorrect reg base name on C3 (https://github.com/espressif/esp-idf/issues/12643) (b721f9cd)
- LCD: Fixed build errors in cxx project when using the deprecated
esp_lcd_color_space_t
type (https://github.com/espressif/esp-idf/issues/14029) (7a81ba24) - Rgb Lcd: Flush the PSRAM frame buffer after allocation (https://github.com/espressif/esp-idf/pull/13294) (f9340227)
- Rgb Lcd: Fixed the issue that the restart transmission can't work with RGB332 pixel format (https://github.com/espressif/esp-idf/pull/13020) (fcc7bcbf)
- Mcpwm: Reset the generator GPIO after deleting (https://github.com/espressif/esp-idf/issues/12980) (e9fa7a9f)
- Modbus: Fixed possible incorrect event processing in modbus slave examples (67e446d6)
- RMT: Fixed the issue that RX filter can't work properly when using REF_TICK as the clock source on ESP32/S2 (https://github.com/espressif/esp-idf/issues/13510) (5faf0a6c)
- Sdmmc: Fixed initialization process for certain cards in SPI mode (https://github.com/espressif/esp-idf/issues/6686, https://github.com/espressif/esp-idf/issues/10542) (0b71bfa1)
- SPI Flash: Fixed stuck during spi_flash operation when a task was not pinned to a certain CPU. (f0c2da6d)
- SPI Flash: Fixed document issue of
Auto suspend enabled by default
(fbc4dfb3) - SPI Flash: Fixed issue that flash encryption failed while ROM_IMPL config is enabled, increases 1.2KB IRAM usage. (09d7bb4f)
- UART: Shortened uart_read_bytes blocking period when the RX ring buffer is already full (6f72d019)
- UART: Fixed the maximum baud rate value (UART_BITRATE_MAX) on ESP32-C2 that ensures the data sampling correctness. (3087b280)
- UART: Fixed inconsistent number of UART wakeup rising edges required with the threshold value configured on ESP32-S2 and later chips (https://github.com/espressif/esp-idf/issues/12586) (cf4825be)
- USB: Fixed ISOC channels abort on error (2dc5e290)
- Usb Host: Fixed a bug in the USBH layer where multiple concurrent events on the same device would result in some of those events being dropped. (76ea0115)
Removed
- Rgb Lcd: Removed the validation of pins for RGB_LCD output (https://github.com/espressif/esp-idf/pull/13103) (fcc7bcbf)
System Hardware
Fixed
- Solve CLK calibration timeout problem caused by the wrong range of RTC_CLK_CAL_CYCLES. (1bd6dffb)
- Fixed bbpll calibration fail bug for s3 to avoid TG0WDT_SYS_RESET. (343560e1)
Core System
Added
- IPC: Added non-blocking IPC call (f0c2da6d)
Fixed
- Console: Fixed a bug in linenoise console where a negative prompt length can lock up the console, making it unresponsive and leading to a task watchdog timeout. (https://github.com/espressif/esp-idf/issues/4924) (422bb729)
- Esp_Ringbuffer: Fixed a bug that resulted in a function in flash being called from an ISR in RAM (https://github.com/espressif/esp-idf/issues/13378) (170cfde5)
- Heap: Fixed size propagated to allocation failed hook in heap_caps_calloc() (19304c57)
- Interrupts: Fixed esp_intr_free when task has no core affinity (https://github.com/espressif/esp-idf/issues/12608) (5ff53bf7)
- Log: Fixed wrap-around of cache generation counter (https://github.com/espressif/esp-idf/issues/6516) (c73e7c6c)
- Log: Fixed incorrect argument type in hexdump log functions (https://github.com/espressif/esp-idf/issues/13347) (de5efa53)
- Fixed the problem that when the external 32k clock source is selected as the slow clock source on the 26MHz version ESP32-C2, the RTC_WDT will be triggered during the startup when the clock source is missing. (3b448491)
Debugging
Changed
- Core Dump: Moved the log strings from RAM to flash (3bb82f7c)
Toolchain
Changed
- Upgraded OpenOCD version to v0.12.0-esp32-20240318 (98d17f23)
Low Power Features
Fixed
- Fixed Fast Memory and Slow Memory may lost in sleep modes on ESP32-C3/ESP32-S3 (155eb116)
Power Management
Fixed
- Fixed a bug where using XTAL as the clock source for the watch dog timers would trigger a watchdog timeout immediately after waking up from light sleep. (50ce5e94)
- Fixed the problem that CPU frequency is not updated immediately after pm_config updated. (https://github.com/espressif/esp-idf/issues/13492) (ff4dba8e)
- Fixed the issue of modem hang caused by incorrect configuration of power and isolate signals in modem domain (55fc8e6a)
ULP
Fixed
- Ulp-Risc-V: Fixed a bug where an incorrect register was being written to for setting RTC IO output mode for the ULP RISC-V (https://github.com/espressif/esp-idf/pull/14010) (52fa8406)
LWIP
Added
- Added fall back dns config in menuconfig (a1dad7ef)
Fixed
- Fixed compilation error in lwIP debug print formatting. (a1dad7ef)
- Fixed DNS initialization to work correctly with FALLBACK_DNS_SERVER_ADDRESS() in IPv4 only mode (https://github.com/espressif/esp-lwip/pull/62) (a1dad7ef)
- Esp Netif: Fixed setting missing IPv6 auto-configuration flag for PPP interfaces if enabled in menuconfig (https://github.com/espressif/esp-idf/issues/13713) (a783022f)
- Esp Netif: Fixed memory leak caused by mdlv6 report timer creation (2c4f0cd4)
- Fixed compilation error in lwIP undefined reference to `if_nametoindex'. (https://github.com/espressif/esp-idf/issues/13577) (f378e769)
- Esp Netif: Fixed wrong event post when IPv6 address state changes between two valid states (2c4f0cd4)
- DHCPS: Fixed the issue of can't clear oldest DHCP pool sometimes (76d2ac03)
HTTP Client
Added
- Added support for OTA updates over TLS 1.3 (1bec4902)
mbedTLS
Changed
- Updated mbedTLS to v3.6.0 (8a25d14e)
Bootloader
Added
- Added legacy retained memory CRC calculation as an option (https://github.com/espressif/esp-idf/issues/12849) (2486b6b3)
- Added API to verify bootloader/app image before revoking the secure boot key. (68c450df)
- Added a config to encrypt only the app image instead of the whole partition when flash encryption is enabled (#12576) (14ddc194)
Changed
- Flash: Moved SPI Flash config options that depends on bootloader into bootloader submenu to make them more obvious (50fc2bf6)
Fixed
- Fixed the value of the
image_length
field of the image metadata populated byesp_image_verfiy()
to include the size of the signature sector when Secure Boot V1 is enabled. (14ddc194)
ESP-TLS
Added
- Added support for TLS 1.3 connection in client mode (1bec4902)
Fixed
- Initialize mbedtls RNG context prior to setting client config in ESP-TLS, this fixes ECC key parsing issue for specific cases (fddb503d)
Storage
Added
- Littlefs: LittleFS demo example is added (8c7a8283)
Changed
- NVS: Improved NVS initialisation by extending consistency check of multi page BLOBs (05a45e9c)
Fixed
- Fatfs: Fixed wrong Wear Levelling mode for FatFS generation (wl_fatfsgen.py) (9daa8eff)
- Fatfs: Fixed issue where FatFs tried to trim on sd cards that did not support it (f2d351d7)
- NVS: Fixed race condition during Lock class initialisation (05a45e9c)
- NVS: Fixed buffer overrun in nvs_get_blob when reading from NVS partition containing inconsistent multi page BLOBs (05a45e9c)
Tools
Changed
- The ESP-IDF version is acquired only from the version or the header file (https://github.com/espressif/esp-idf/issues/13385) (2c0efb84)
- Set GDB timeout to 10 seconds for waiting for the remote target's response (ae1195f0)
Fixed
- idf.py: Avoided crashing when trying to use Git to acquire the ESP-IDF version (https://github.com/espressif/esp-idf/issues/13345) (cbb90dee)
- Fixed Access Violation Error on Windows with Python 3.12 (https://github.com/espressif/esp-idf/issues/13232) (914d893c)
- Fixed return codes in BAT scripts (e334aa0c)
1、 esp-idf-v5.0.7.zip 1.48GB