diff --git a/modules/openthread/platform/openthread-core-zephyr-config.h b/modules/openthread/platform/openthread-core-zephyr-config.h index f4f414fa96b..901e08cf841 100644 --- a/modules/openthread/platform/openthread-core-zephyr-config.h +++ b/modules/openthread/platform/openthread-core-zephyr-config.h @@ -211,8 +211,9 @@ * */ #define OPENTHREAD_CONFIG_PLATFORM_USEC_TIMER_ENABLE \ - (CONFIG_OPENTHREAD_CSL_RECEIVER && \ - (OPENTHREAD_CONFIG_THREAD_VERSION >= OT_THREAD_VERSION_1_2)) + ((CONFIG_OPENTHREAD_CSL_RECEIVER && \ + (OPENTHREAD_CONFIG_THREAD_VERSION >= OT_THREAD_VERSION_1_2)) || \ + CONFIG_OPENTHREAD_WAKEUP_END_DEVICE) /* Zephyr does not use OpenThread's heap. mbedTLS will use heap memory allocated * by Zephyr. Here, we use some dummy values to prevent OpenThread warnings. diff --git a/modules/openthread/platform/radio.c b/modules/openthread/platform/radio.c index 34725f70dba..72f25eedc1d 100644 --- a/modules/openthread/platform/radio.c +++ b/modules/openthread/platform/radio.c @@ -802,7 +802,7 @@ otError otPlatRadioReceive(otInstance *aInstance, uint8_t aChannel) return OT_ERROR_NONE; } -#if defined(CONFIG_OPENTHREAD_CSL_RECEIVER) +#if defined(CONFIG_OPENTHREAD_CSL_RECEIVER) || defined(CONFIG_OPENTHREAD_WAKEUP_END_DEVICE) otError otPlatRadioReceiveAt(otInstance *aInstance, uint8_t aChannel, uint32_t aStart, uint32_t aDuration) {