Skip to content

Commit 6fffc1b

Browse files
committed
feat: add esp32s3 support on bootloader plus
1 parent 35d2cc0 commit 6fffc1b

File tree

6 files changed

+35
-21
lines changed

6 files changed

+35
-21
lines changed

components/bootloader_support_plus/CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
### Improve:
66

7-
- Add ESP32-C61 support.
7+
- Add ESP32-C61 and ESP32-S3 support.
88

99
## v0.3.9 - 2025-06-17
1010

components/bootloader_support_plus/README.md

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,16 @@
77
## Overview
88
The `bootloader support plus` is an enhanced bootloader based on [custom_bootloader](https://github.com/espressif/esp-idf/tree/master/examples/custom_bootloader) . The firmware update function is supported in the bootloader stage by decompressing the compressed firmware. In this solution, you can directly use the original OTA APIs (such as [esp_ota](https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-reference/system/ota.html#api-reference)[esp_https_ota](https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-reference/system/esp_https_ota.html#api-reference)). The following table shows the Espressif SoCs that are compatible with `bootloader support plus` and their corresponding ESP-IDF versions.
99

10-
| Chip | ESP-IDF Release/v5.0 | ESP-IDF Release/v5.1 | ESP-IDF Release/v5.4+ |
11-
| -------- | ------------------------------------------------------------ | ------------------------------------------------------------ |------------------------------ |
12-
| ESP32 | Supported | Supported | Supported |
13-
| ESP32-C2 | Supported | Supported | Supported |
14-
| ESP32-C3 | Supported | Supported | Supported |
15-
| ESP32-C5 | N/A | N/A | Supported |
16-
| ESP32-C6 | N/A | Supported | Supported |
17-
| ESP32-H2 | N/A | Supported | Supported |
18-
| ESP32-C61 | N/A | N/A | Supported |
10+
| Chip | ESP-IDF Release/v5.0 | ESP-IDF Release/v5.1 | ESP-IDF Release/v5.4+ | ESP-IDF Release/v5.5+ |
11+
| -------- | ------------------------------------------------------------ | ------------------------------------------------------------ |------------------------------ |------------------------------ |
12+
| ESP32 | Supported | Supported | Supported | Supported |
13+
| ESP32-S3 | N/A | Supported | Supported | Supported |
14+
| ESP32-C2 | Supported | Supported | Supported | Supported |
15+
| ESP32-C3 | Supported | Supported | Supported | Supported |
16+
| ESP32-C5 | N/A | N/A | Supported | Supported |
17+
| ESP32-C6 | N/A | Supported | Supported | Supported |
18+
| ESP32-H2 | N/A | Supported | Supported | Supported |
19+
| ESP32-C61 | N/A | N/A | N/A | Supported |
1920

2021
## Compression ratio
2122

components/bootloader_support_plus/README_CN.md

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,16 @@
77
## 概述
88
bootloader support plus 是乐鑫基于 [ESP-IDF](https://github.com/espressif/esp-idf)[custom_bootloader](https://github.com/espressif/esp-idf/tree/master/examples/custom_bootloader) 推出的增强版 bootloader,支持在 bootloader 阶段对`压缩`的固件进行 `解压缩`,来升级原有固件。在该方案中,您可以直接使用 ESP-IDF 中原生的 OTA 接口(比如 [esp_ota](https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-reference/system/ota.html#api-reference)[esp_https_ota](https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-reference/system/esp_https_ota.html#api-reference))。下表总结了适配 `bootloader support plus` 的乐鑫芯片以及其对应的 ESP-IDF 版本:
99

10-
| Chip | ESP-IDF Release/v5.0 | ESP-IDF Release/v5.1 | ESP-IDF Release/v5.4+ |
11-
| -------- | ------------------------------------------------------------ | ------------------------------------------------------------ |------------------------------ |
12-
| ESP32 | Supported | Supported | Supported |
13-
| ESP32-C2 | Supported | Supported | Supported |
14-
| ESP32-C3 | Supported | Supported | Supported |
15-
| ESP32-C5 | N/A | N/A | Supported |
16-
| ESP32-C6 | N/A | Supported | Supported |
17-
| ESP32-H2 | N/A | Supported | Supported |
18-
| ESP32-C61 | N/A | N/A | Supported |
10+
| Chip | ESP-IDF Release/v5.0 | ESP-IDF Release/v5.1 | ESP-IDF Release/v5.4+ | ESP-IDF Release/v5.5+ |
11+
| -------- | ------------------------------------------------------------ | ------------------------------------------------------------ |------------------------------ |----------------------------- |
12+
| ESP32 | Supported | Supported | Supported | Supported |
13+
| ESP32-S3 | N/A | Supported | Supported | Supported |
14+
| ESP32-C2 | Supported | Supported | Supported | Supported |
15+
| ESP32-C3 | Supported | Supported | Supported | Supported |
16+
| ESP32-C5 | N/A | N/A | Supported | Supported |
17+
| ESP32-C6 | N/A | Supported | Supported | Supported |
18+
| ESP32-H2 | N/A | Supported | Supported | Supported |
19+
| ESP32-C61 | N/A | N/A | N/A | Supported |
1920

2021
## 压缩率
2122

components/bootloader_support_plus/idf_component.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ targets:
66
- esp32c6
77
- esp32c61
88
- esp32
9+
- esp32s3
910
- esp32h2
1011
description: Provide extra bootloader support, now support upgrading the firmware by decompressing the OTA firmware in the bootloader stage.
1112
url: https://github.com/espressif/esp-iot-solution/tree/master/components/bootloader_support_plus
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
SECTIONS
2+
{
3+
.xz :
4+
{
5+
. = ALIGN(4);
6+
*libbootloader_support_plus.a:(.literal .text .literal.* .text.*)
7+
*libespressif__bootloader_support_plus.a:(.literal .text .literal.* .text.*)
8+
*libespressif__xz.a:(.literal .text .literal.* .text.*)
9+
*libxz.a:(.literal .text .literal.* .text.*)
10+
} > iram_loader_seg
11+
}

examples/ota/simple_ota_example/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
| Supported Targets | ESP32-C2 | ESP32-C3 |
2-
| ----------------- | ----- | -------- |
1+
| Supported Targets | ESP32-C2 | ESP32-C3 | ESP32-C5 | ESP32-C6 | ESP32-C61 | ESP32 | ESP32-S3 | ESP32-H2 |
2+
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- |-------- | -------- |
33

44
# Simple OTA example
55
## Overview

0 commit comments

Comments
 (0)