Merge branch 'fix/ot_trel_build' into 'master'

fix(openthread): Fix CI failure of ot_trel example build

Closes IDFCI-2589

See merge request espressif/esp-idf!35687
This commit is contained in:
Shu Chen 2024-12-17 18:34:59 +08:00
commit 54b0d8774e
4 changed files with 18 additions and 0 deletions

View File

@ -66,6 +66,11 @@
.intr_pin = CONFIG_EXAMPLE_THREAD_SPI_INTR_PIN, \
}, \
}
#else
#define ESP_OPENTHREAD_DEFAULT_RADIO_CONFIG() \
{ \
.radio_mode = RADIO_MODE_TREL, \
}
#endif
#if CONFIG_OPENTHREAD_CONSOLE_TYPE_UART
@ -95,6 +100,11 @@
.host_connection_mode = HOST_CONNECTION_MODE_CLI_USB, \
.host_usb_config = USB_SERIAL_JTAG_DRIVER_CONFIG_DEFAULT(), \
}
#else
#define ESP_OPENTHREAD_DEFAULT_HOST_CONFIG() \
{ \
.host_connection_mode = HOST_CONNECTION_MODE_NONE, \
}
#endif
#define ESP_OPENTHREAD_DEFAULT_PORT_CONFIG() \

View File

@ -11,6 +11,8 @@
- lwip
- openthread
depends_filepatterns:
- examples/common_components/protocol_examples_common/*
- examples/common_components/protocol_examples_common/**/*
- examples/openthread/*
- examples/openthread/**/*

View File

@ -47,6 +47,9 @@ CONFIG_LWIP_IPV6_AUTOCONFIG=y
CONFIG_MDNS_MULTIPLE_INSTANCE=y
# end of mDNS
# Example connect
CONFIG_EXAMPLE_CONNECT_THREAD=n
#
# ESP System Settings
#

View File

@ -41,3 +41,6 @@ CONFIG_LWIP_IPV6_AUTOCONFIG=y
# Configurations for optimizing the size of firmware
#
CONFIG_COMPILER_OPTIMIZATION_SIZE=y
# Example connect
CONFIG_EXAMPLE_CONNECT_THREAD=n