add support for stm32wb offload#68
Conversation
|
Interesting... I must admit that the Help me understand:
|
Specifically, when calling an open thread function, the core could block for ~500us (I have not measured it, but that is a hypothetical estimate) when, if implemented with async fns the core could run other tasks in the interim. Solving this would require potentially a huge amount of work that would have no benefit for other platforms and save at most 500us per ot function call. This is speculative because the blocking time could be even less.
I do not have a working example yet.
|
|
Would you be alright if I made a new |
The fake/noop Radio trait impl can just be a part of With that said, Or (more likely) is the OpenThread variant you are running an RCP (or - hm - NCP): https://openthread.io/platforms/co-processor (sorry - STM is not really something I've ever played with). If yes, perhaps we have to enable support for these in Last but not least - you can ping me in |
| @@ -0,0 +1,66 @@ | |||
| [package] | |||
| name = "nrf-openthread-examples" | |||
|
@ivmarkov I believe this is ready. |
This allows support for thread offload to be implemented in embassy-stm32-wpan. Ideally, async rust would be propagated further down the call chain but that would involve far more refactoring that would only benefit stm32wb users (a small userbase) and therefore this is the approach I have taken.