Skip to content

Commit da4a7f7

Browse files
committed
refactor(bootloader): lower down the log level to reduce the bootloader size
1 parent 1c2f8b8 commit da4a7f7

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

components/esp_hw_support/port/esp32c3/Kconfig.hw_support

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ config ESP_REV_MAX_FULL
5757

5858
config ESP_EFUSE_BLOCK_REV_MIN_FULL
5959
int "Minimum Supported ESP32-C3 eFuse Block Revision"
60-
default 100
60+
default 0
6161
help
6262
Required minimum eFuse Block revision. ESP-IDF will check it at the 2nd bootloader stage
6363
whether the current image can work correctly for this eFuse Block revision.

components/esp_hw_support/port/esp32s2/Kconfig.hw_support

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ config ESP_REV_MAX_FULL
4545

4646
config ESP_EFUSE_BLOCK_REV_MIN_FULL
4747
int "Minimum Supported ESP32-S2 eFuse Block Revision"
48-
default 2
48+
default 0
4949
help
5050
Required minimum eFuse Block revision. ESP-IDF will check it at the 2nd bootloader stage
5151
whether the current image can work correctly for this eFuse Block revision.

docs/zh_CN/api-reference/system/chip_revision.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ EFuse 块版本号与芯片版本号类似,但是它主要影响在 eFuse 中
132132
二进制镜像的常见版本需求
133133
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
134134

135-
芯片版本号检查主要根据二级引导程序和应用程序二进制镜像中包含的 :cpp:type:`esp_image_header_t` 头文件,其中记录了可以运行该软件的芯片版本号。这一头文件有 3 个与版本相关的字段:
135+
芯片版本号检查主要根据二级引导程序和应用程序二进制镜像中包含的 :cpp:type:`esp_image_header_t` 标头,其中记录了可以运行该软件的芯片版本号。这一标头有 3 个与版本相关的字段:
136136

137137
- ``min_chip_rev`` - 镜像所需芯片的最小主版本号(但对于 ESP32-C3,该字段指次版本号)。其值由 :ref:`CONFIG_{IDF_TARGET_CFG_PREFIX}_REV_MIN` 确定。
138138
- ``min_chip_rev_full`` - 镜像所需芯片的最小版本号,格式为 ``major * 100 + minor``。其值由 :ref:`CONFIG_{IDF_TARGET_CFG_PREFIX}_REV_MIN` 确定。

0 commit comments

Comments
 (0)