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

This commit is contained in:
Tan Yan Quan
2025-12-04 19:56:01 +08:00
parent 871ec2c1ef
commit b23f516526
14 changed files with 89 additions and 12 deletions
@@ -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