mirror of
https://github.com/espressif/esp-idf.git
synced 2025-11-02 08:01:43 +01:00
docs: Update cn translation about ota
This commit is contained in:
@@ -13,10 +13,10 @@ Log
|
||||
|
||||
**Log V2** is introduced in this ESP-IDF version as an enhanced and optional logging implementation. It is fully compatible with **Log V1**, allowing projects to continue using **Log V1** without changes. Developers can enable **Log V2** via the Kconfig option :ref:`CONFIG_LOG_VERSION`. In future ESP-IDF versions, **Log V2** may become the default.
|
||||
|
||||
**Key Points:**
|
||||
**Key Points**
|
||||
|
||||
- Centralized log handling, dynamic formatting, and greater flexibility.
|
||||
- Slightly higher stack and IRAM usage, with a reduced binary size (refer to measurements in the log document).
|
||||
- Slightly higher stack and IRAM usage, with a reduced binary size (refer to measurements in the `Logging Library <../../../system/log.rst>`_ document).
|
||||
- **Log V2**-specific features (e.g., dynamic formatting, detecting the execution context) are not backward-compatible with **Log V1**.
|
||||
|
||||
If you use the ``esp_log_write`` (or ``esp_log_writev``) function, replace it with ``esp_log`` (or ``esp_log_va``) to reduce one nested call.
|
||||
@@ -38,4 +38,4 @@ The log handler (``esp_log``) supports internal formatting, so there is no need
|
||||
Pre-Encrypted OTA
|
||||
-----------------
|
||||
|
||||
The 'pre_encrypted_ota' example has been moved to `idf-extra-components <https://github.com/espressif/idf-extra-components/tree/master/esp_encrypted_img/examples/pre_encrypted_ota>`__ repository.
|
||||
The ``pre_encrypted_ota`` example has been moved to the `idf-extra-components <https://github.com/espressif/idf-extra-components/tree/master/esp_encrypted_img/examples/pre_encrypted_ota>`__ repository.
|
||||
|
||||
Reference in New Issue
Block a user