feat(openthread/ota): support esp32h2 for ota examples over thread

This commit is contained in:
Tan Yan Quan
2025-12-04 12:20:57 +08:00
parent ddade74de5
commit b259326b33
14 changed files with 77 additions and 12 deletions
@@ -1,5 +1,5 @@
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C5 | ESP32-C6 | ESP32-C61 | ESP32-P4 | ESP32-S2 | ESP32-S3 |
| ----------------- | ----- | -------- | -------- | -------- | -------- | --------- | -------- | -------- | -------- |
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C5 | ESP32-C6 | ESP32-C61 | ESP32-H2 | ESP32-P4 | ESP32-S2 | ESP32-S3 |
| ----------------- | ----- | -------- | -------- | -------- | -------- | --------- | -------- | -------- | -------- | -------- |
# Simple OTA example
@@ -50,6 +50,12 @@ menu "Example Configuration"
depends on EXAMPLE_CONNECT_ETHERNET
help
Select ethernet interface to pass the OTA data.
config EXAMPLE_FIRMWARE_UPGRADE_BIND_IF_THREAD
bool "Bind thread interface"
depends on EXAMPLE_CONNECT_THREAD
help
Select Thread interface to pass the OTA data.
endchoice
config EXAMPLE_TLS_DYN_BUF_RX_STATIC
@@ -36,6 +36,8 @@
static const char *bind_interface_name = EXAMPLE_NETIF_DESC_ETH;
#elif CONFIG_EXAMPLE_FIRMWARE_UPGRADE_BIND_IF_STA
static const char *bind_interface_name = EXAMPLE_NETIF_DESC_STA;
#elif CONFIG_EXAMPLE_FIRMWARE_UPGRADE_BIND_IF_THREAD
static const char *bind_interface_name = EXAMPLE_NETIF_DESC_THREAD;
#endif
#endif
@@ -0,0 +1 @@
CONFIG_OPENTHREAD_ENABLED=y