mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-02 03:00:34 +03:00
feat: remove some deprecated APIs from 6.0 release
This commit is contained in:
@@ -1,8 +1,24 @@
|
||||
ESP-Modbus
|
||||
==========
|
||||
Protocols
|
||||
=========
|
||||
|
||||
:link_to_translation:`zh_CN:[中文]`
|
||||
|
||||
|
||||
ESP-TLS
|
||||
-------
|
||||
|
||||
**Removed Deprecated API**
|
||||
|
||||
The deprecated :cpp:func:`esp_tls_conn_http_new` function has been removed. Use either:
|
||||
|
||||
- :cpp:func:`esp_tls_conn_http_new_sync` for blocking connections
|
||||
- :cpp:func:`esp_tls_conn_http_new_async` for non-blocking connections
|
||||
|
||||
The new API requires you to create the :cpp:type:`esp_tls_t` structure using :cpp:func:`esp_tls_init` and provides better control over the connection process.
|
||||
|
||||
ESP-Modbus
|
||||
----------
|
||||
|
||||
The Espressif ESP-Modbus Library (esp-modbus) supports Modbus communication in the networks based on RS485, Wi-Fi, and Ethernet interfaces.
|
||||
|
||||
The component ``esp-modbus v2 (v2.x.x)`` is the current supported component version:
|
||||
|
||||
@@ -6,8 +6,27 @@ Security
|
||||
Mbed TLS
|
||||
--------
|
||||
|
||||
Starting from **ESP-IDF v6.0**, some already deprecated mbedtls header files like ``esp32/aes.h``, ``esp32/sha.h``, ``esp32s2/aes.h``, ``esp32s2/sha.h`` and ``esp32s2/gcm.h`` have been removed, instead, you should include ``aes/esp_aes.h``, ``sha/sha_core.h`` and ``aes/esp_aes_gcm.h`` respectively.
|
||||
Starting from **ESP-IDF v6.0**, some already deprecated mbedtls header files like ``esp32/aes.h``, ``esp32/sha.h``, ``esp32s2/aes.h``, ``esp32s2/sha.h`` and ``esp32s2/gcm.h`` have been removed, instead, you should include ``aes/esp_aes.h``, ``sha/sha_core.h`` and ``aes/esp_aes_gcm.h`` respectively.
|
||||
|
||||
.. only:: SOC_SHA_SUPPORTED
|
||||
.. only:: SOC_SHA_SUPPORTED
|
||||
|
||||
The SHA module headers ``sha/sha_dma.h`` and ``sha/sha_block.h`` are also deprecated and removed. You should include ``sha/sha_core.h`` instead.
|
||||
The SHA module headers ``sha/sha_dma.h`` and ``sha/sha_block.h`` are also deprecated and removed. You should include ``sha/sha_core.h`` instead.
|
||||
|
||||
**Removed Deprecated APIs**
|
||||
|
||||
The following deprecated functions have been removed:
|
||||
|
||||
- :cpp:func:`esp_aes_encrypt` – Use :cpp:func:`esp_internal_aes_encrypt` instead.
|
||||
- :cpp:func:`esp_aes_decrypt` – Use :cpp:func:`esp_internal_aes_decrypt` instead.
|
||||
- :cpp:func:`esp_crypto_shared_gdma_start` – Use :cpp:func:`esp_crypto_shared_gdma_start_axi_ahb` instead.
|
||||
|
||||
Note that the new AES functions return error codes for better error handling, unlike the old void functions.
|
||||
|
||||
Bootloader Support
|
||||
------------------
|
||||
|
||||
**Removed Deprecated APIs**
|
||||
|
||||
The following deprecated functions have been removed:
|
||||
|
||||
- :cpp:func:`esp_secure_boot_verify_signature_block` – Use :cpp:func:`esp_secure_boot_verify_ecdsa_signature_block` instead.
|
||||
|
||||
@@ -148,6 +148,15 @@ The partial download functionality in ESP HTTPS OTA has been moved under a confi
|
||||
|
||||
To use partial download features in your OTA applications, you need to enable the component-level configuration :ref:`CONFIG_ESP_HTTPS_OTA_ENABLE_PARTIAL_DOWNLOAD` in menuconfig (``Component config`` → ``ESP HTTPS OTA`` → ``Enable partial HTTP download for OTA``).
|
||||
|
||||
**Removed Deprecated APIs**
|
||||
|
||||
The following deprecated functions have been removed from the ``app_update`` component:
|
||||
|
||||
- :cpp:func:`esp_ota_get_app_description` – Use :cpp:func:`esp_app_get_description` instead.
|
||||
- :cpp:func:`esp_ota_get_app_elf_sha256` – Use :cpp:func:`esp_app_get_elf_sha256` instead.
|
||||
|
||||
These functions have moved to the ``esp_app_format`` component. Update your include from ``esp_ota_ops.h`` to ``esp_app_desc.h`` and add ``esp_app_format`` to your component dependencies if needed.
|
||||
|
||||
Gcov
|
||||
----
|
||||
|
||||
|
||||
Reference in New Issue
Block a user