mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-02 03:00:34 +03:00
feat(openthread/ota): support esp32h2 for ota examples over thread
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user