diff --git a/docs/en/migration-guides/release-5.x/5.0/system.rst b/docs/en/migration-guides/release-5.x/5.0/system.rst index da81c8eef2..5016aad88a 100644 --- a/docs/en/migration-guides/release-5.x/5.0/system.rst +++ b/docs/en/migration-guides/release-5.x/5.0/system.rst @@ -169,4 +169,4 @@ Chip Revision The bootloader checks the chip revision at the beginning of the application loading. The application can only be loaded if the version is ``>=`` :ref:`CONFIG_{IDF_TARGET_CFG_PREFIX}_REV_MIN` and `<` ``CONFIG_{IDF_TARGET_CFG_PREFIX}_REV_MAX_FULL``. -The application checks the chip revision in the OTA update. The application can only be updated if the version is ``>=`` :ref:`CONFIG_{IDF_TARGET_CFG_PREFIX}_REV_MIN` and `<` ``CONFIG_{IDF_TARGET_CFG_PREFIX}_REV_MAX_FULL``. +During the OTA upgrade, the version requirements and chip revision in the application header are checked for compatibility. The application can only be updated if the version is ``>=`` :ref:`CONFIG_{IDF_TARGET_CFG_PREFIX}_REV_MIN` and `<` ``CONFIG_{IDF_TARGET_CFG_PREFIX}_REV_MAX_FULL``. diff --git a/docs/zh_CN/migration-guides/release-5.x/5.0/system.rst b/docs/zh_CN/migration-guides/release-5.x/5.0/system.rst index 3d3feebff0..6be22956a6 100644 --- a/docs/zh_CN/migration-guides/release-5.x/5.0/system.rst +++ b/docs/zh_CN/migration-guides/release-5.x/5.0/system.rst @@ -163,3 +163,10 @@ FreeRTOS 移植相关的宏 - :cpp:type:`esp_app_desc_t` 结构体此前在 :component_file:`esp_app_format.h ` 中声明,现在在 :component_file:`esp_app_desc.h ` 中声明。 - 函数 :cpp:func:`bootloader_common_get_partition_description` 已更新为私有函数,请使用代替函数 :cpp:func:`esp_ota_get_partition_description`。注意,此函数的第一个参数为 :cpp:type:`esp_partition_t`,而非 :cpp:type:`esp_partition_pos_t`。 + +芯片版本 +^^^^^^^^^^^^^ + +在应用程序开始加载时,引导加载程序会检查芯片版本。只有当版本为 ``>=`` :ref:`CONFIG_{IDF_TARGET_CFG_PREFIX}_REV_MIN` 和 `<` ``CONFIG_{IDF_TARGET_CFG_PREFIX}_REV_MAX_FULL`` 时,应用程序才能成功加载。 + +在 OTA 升级时,会检查应用程序头部中的版本需求和芯片版本是否符合条件。只有当版本为 ``>=`` :ref:`CONFIG_{IDF_TARGET_CFG_PREFIX}_REV_MIN` 和 `<` ``CONFIG_{IDF_TARGET_CFG_PREFIX}_REV_MAX_FULL`` 时,应用程序才能成功更新。