refactor(bootloader): lower down the log level to reduce the bootloader size

This commit is contained in:
laokaiyao 2024-08-20 19:04:52 +08:00
parent e5393c6e2e
commit bff6fb518e
3 changed files with 3 additions and 3 deletions

View File

@ -57,7 +57,7 @@ config ESP_REV_MAX_FULL
config ESP_EFUSE_BLOCK_REV_MIN_FULL config ESP_EFUSE_BLOCK_REV_MIN_FULL
int "Minimum Supported ESP32-C3 eFuse Block Revision" int "Minimum Supported ESP32-C3 eFuse Block Revision"
default 100 default 0
help help
Required minimum eFuse Block revision. ESP-IDF will check it at the 2nd bootloader stage Required minimum eFuse Block revision. ESP-IDF will check it at the 2nd bootloader stage
whether the current image can work correctly for this eFuse Block revision. whether the current image can work correctly for this eFuse Block revision.

View File

@ -45,7 +45,7 @@ config ESP_REV_MAX_FULL
config ESP_EFUSE_BLOCK_REV_MIN_FULL config ESP_EFUSE_BLOCK_REV_MIN_FULL
int "Minimum Supported ESP32-S2 eFuse Block Revision" int "Minimum Supported ESP32-S2 eFuse Block Revision"
default 2 default 0
help help
Required minimum eFuse Block revision. ESP-IDF will check it at the 2nd bootloader stage Required minimum eFuse Block revision. ESP-IDF will check it at the 2nd bootloader stage
whether the current image can work correctly for this eFuse Block revision. whether the current image can work correctly for this eFuse Block revision.

View File

@ -132,7 +132,7 @@ EFuse 块版本号与芯片版本号类似,但是它主要影响在 eFuse 中
二进制镜像的常见版本需求 二进制镜像的常见版本需求
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
芯片版本号检查主要根据二级引导程序和应用程序二进制镜像中包含的 :cpp:type:`esp_image_header_t`文件,其中记录了可以运行该软件的芯片版本号。这一头文件有 3 个与版本相关的字段: 芯片版本号检查主要根据二级引导程序和应用程序二进制镜像中包含的 :cpp:type:`esp_image_header_t` 头,其中记录了可以运行该软件的芯片版本号。这一头有 3 个与版本相关的字段:
- ``min_chip_rev`` - 镜像所需芯片的最小主版本号(但对于 ESP32-C3该字段指次版本号。其值由 :ref:`CONFIG_{IDF_TARGET_CFG_PREFIX}_REV_MIN` 确定。 - ``min_chip_rev`` - 镜像所需芯片的最小主版本号(但对于 ESP32-C3该字段指次版本号。其值由 :ref:`CONFIG_{IDF_TARGET_CFG_PREFIX}_REV_MIN` 确定。
- ``min_chip_rev_full`` - 镜像所需芯片的最小版本号,格式为 ``major * 100 + minor``。其值由 :ref:`CONFIG_{IDF_TARGET_CFG_PREFIX}_REV_MIN` 确定。 - ``min_chip_rev_full`` - 镜像所需芯片的最小版本号,格式为 ``major * 100 + minor``。其值由 :ref:`CONFIG_{IDF_TARGET_CFG_PREFIX}_REV_MIN` 确定。