Skip to content

Commit db80188

Browse files
committed
Binaries 2.4.10
1 parent fec99fb commit db80188

22 files changed

Lines changed: 33 additions & 15 deletions

components/cmd_system/cmd_system.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ static const char* get_chip_model_name(esp_chip_model_t model)
9191
case CHIP_ESP32S3: return "ESP32-S3";
9292
case CHIP_ESP32C3: return "ESP32-C3";
9393
case CHIP_ESP32C2: return "ESP32-C2";
94+
case CHIP_ESP32C5: return "ESP32-C5";
9495
case CHIP_ESP32C6: return "ESP32-C6";
9596
case CHIP_ESP32H2: return "ESP32-H2";
9697
default: return "Unknown";

components/http_server/http_server.c

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@
4444
#include "esp_ota_ops.h"
4545
#include "esp_app_format.h"
4646
#include "esp_app_desc.h"
47+
#include "esp_chip_info.h"
4748
#include "mbedtls/pkcs5.h"
4849
#include "mbedtls/md.h"
4950
#include "mbedtls/base64.h"
@@ -1990,17 +1991,33 @@ static esp_err_t config_get_handler(httpd_req_t *req)
19901991
/* Chunk 9: Device management heading */
19911992
httpd_resp_send_chunk(req, CONFIG_CHUNK_TAIL, HTTPD_RESP_USE_STRLEN);
19921993

1993-
/* Chunk 9a: Dynamic OTA info (running partition, version) */
1994+
/* Chunk 9a: Dynamic OTA info (running partition, version, chip) */
19941995
{
1996+
esp_chip_info_t chip_info;
1997+
esp_chip_info(&chip_info);
1998+
const char *chip_model;
1999+
switch (chip_info.model) {
2000+
case CHIP_ESP32: chip_model = "ESP32"; break;
2001+
case CHIP_ESP32S2: chip_model = "ESP32-S2"; break;
2002+
case CHIP_ESP32S3: chip_model = "ESP32-S3"; break;
2003+
case CHIP_ESP32C3: chip_model = "ESP32-C3"; break;
2004+
case CHIP_ESP32C2: chip_model = "ESP32-C2"; break;
2005+
case CHIP_ESP32C5: chip_model = "ESP32-C5"; break;
2006+
case CHIP_ESP32C6: chip_model = "ESP32-C6"; break;
2007+
case CHIP_ESP32H2: chip_model = "ESP32-H2"; break;
2008+
default: chip_model = "Unknown"; break;
2009+
}
19952010
const esp_partition_t *running = esp_ota_get_running_partition();
19962011
const esp_app_desc_t *app_desc = esp_app_get_description();
19972012
snprintf(section, sizeof(section),
19982013
"<table>"
19992014
"<tr><td>Running</td><td>%s</td></tr>"
2015+
"<tr><td>Chip</td><td>%s</td></tr>"
20002016
"<tr><td>Version</td><td>%s</td></tr>"
20012017
"<tr><td>Built</td><td>%s %s</td></tr>"
20022018
"</table>",
20032019
running ? running->label : "unknown",
2020+
chip_model,
20042021
app_desc ? app_desc->version : "unknown",
20052022
app_desc ? app_desc->date : "", app_desc ? app_desc->time : "");
20062023
httpd_resp_send_chunk(req, section, HTTPD_RESP_USE_STRLEN);

firmware_esp32/bootloader.bin

0 Bytes
Binary file not shown.

firmware_esp32/build_info.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
ESP32 NAT Router Build Information
22
=================================
33
Target: ESP32 (Original) (esp32)
4-
Build Time: 2026-04-30 18:00:42
5-
Git Hash: eea554d
4+
Build Time: 2026-05-06 11:52:43
5+
Git Hash: fec99fb
66
Binary Files: 4
77
Build Directory: build
192 Bytes
Binary file not shown.

firmware_esp32c3/bootloader.bin

0 Bytes
Binary file not shown.

firmware_esp32c3/build_info.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
ESP32 NAT Router Build Information
22
=================================
33
Target: ESP32-C3 (esp32c3)
4-
Build Time: 2026-04-30 18:21:29
5-
Git Hash: eea554d
4+
Build Time: 2026-05-06 12:08:58
5+
Git Hash: fec99fb
66
Binary Files: 4
77
Build Directory: build
224 Bytes
Binary file not shown.

firmware_esp32c5/bootloader.bin

0 Bytes
Binary file not shown.

firmware_esp32c5/build_info.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
ESP32 NAT Router Build Information
22
=================================
33
Target: ESP32-C5 (esp32c5)
4-
Build Time: 2026-04-30 18:13:23
5-
Git Hash: eea554d
4+
Build Time: 2026-05-06 12:02:28
5+
Git Hash: fec99fb
66
Binary Files: 4
77
Build Directory: build

0 commit comments

Comments
 (0)