feat(openthread): allow enabling trel before getting interface

This commit is contained in:
Xu Si Yu
2024-09-11 22:00:59 +08:00
committed by BOT
parent 88077e0b16
commit b59b0e0926
14 changed files with 120 additions and 102 deletions

View File

@@ -231,7 +231,7 @@
* Set to 1 to enable support for IEEE802.15.4 radio link.
*
*/
#if CONFIG_OPENTHREAD_RADIO_NATIVE || CONFIG_OPENTHREAD_RADIO_SPINEL_UART || CONFIG_OPENTHREAD_RADIO_SPINEL_SPI
#if !CONFIG_OPENTHREAD_RADIO_154_NONE
#define OPENTHREAD_CONFIG_RADIO_LINK_IEEE_802_15_4_ENABLE 1
#else
#define OPENTHREAD_CONFIG_RADIO_LINK_IEEE_802_15_4_ENABLE 0