openthread: add support for radios compatible with SubMAC#14979
Conversation
|
Needs a rebase now 😃 |
Yes, you are right. It was just because it was the only radio available at that time |
47d97e0 to
4ce7a84
Compare
|
Done. I also updated the title to reflect the changes. |
benpicco
left a comment
There was a problem hiding this comment.
looks like a simple addition now - please rebase
4ce7a84 to
2b04a14
Compare
|
done! |
|
openthread will only work on boards that use uart as stdio. Some nrf52840 based boards (adafruit-clue at least) uses USB CDC ACM as stdio. Is it possible to use |
|
For example, it's not possible to build Details |
Yes! That should be possible. I will check |
Would it be OK if I remove those boards and then adapt OpenThread for such changes? Since it involves stuff with the contrib files |
Just make a separate PR for it, we could probably merge that quick. |
No need for a separate PR, the boards are whitelisted by this one so they should just be removed from the white list here. |
|
done! |
|
But it would be nice to have a follow-up PR that improves the situation with openthread + stdio on USB CDC ACM and enables them. |
|
Feel free to squash. |
|
done! |
fdb49e9 to
6f70934
Compare
|
done! |
6f70934 to
8b689d6
Compare
|
Murdock is not happy |
8b689d6 to
e8489a3
Compare
|
I added an extra commit to add |
Why in the application and not in the package ? Since OpenThread is network stack that lives directly on top of interfaces, that would make more sense and simplify the application Makefile. |
|
That's how |
e8489a3 to
383e1b1
Compare
Contribution description
This PR adds OpenThread support for the radios compatible with the SubMAC
This work requires the
netdev_ieee802154_submac_tinterface of IEEE 802.15.4 SubMAC (#14950 ) to work.This acts as a showcase for the IEEE 802.15.4 Radio HAL and SubMAC, since all APIs are hardware independent now. Thus, it's possible to transparently integrate OpenThread with any radio that implements the IEEE 802.15.4 Radio HAL.
In the future, we could drop the
netdev_ieee802154_submac_tinterface and implement the platform abstraction directly on top of the Radio HAL or SubMAC.Testing procedure
Run
make -C examples/openthreadwith any CC2538 based board (e.g remote-revb).Issues/PRs references
Now this depends on #15237
#10045
#13376