-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
drivers/kw2xrf: add support for IEEE 802.15.4 Radio HAL #18383
Conversation
This already needs a rebase |
a2b33ac
to
dc15c18
Compare
done! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code looks good, I don't have the hardware but I trust your testing.
Great to see that this now allows to use the radio HAL with SPI based radios too!
KW2XRF_MAC_PRIO, "kw2xrf", | ||
&kw2xrf_devs[i].netdev.netdev); | ||
&kw2xrf_netdev[i].dev.netdev); | ||
|
||
} | ||
} | ||
/** @} */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does LWIP also need an update?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
there's not yet support for this radio there :(. I can provide a port in a follow up
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would be good to make sure the new bottom-half processing works with either stack
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Probably a middle layer could do the trick
With the last commits I consistently get:
For 1 kB ping packets |
I think I addresses all comments |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please squash if everything still works.
It does:
|
b9363d5
to
679342a
Compare
d3f4d80
to
b123abe
Compare
squashed and still everything seems to work. |
b123abe
to
022c757
Compare
022c757
to
3fdc669
Compare
Co-authored-by: Michel Rottleuthner <michel.rottleuthner@haw-hamburg.de>
Co-authored-by: Michel Rottleuthner <michel.rottleuthner@haw-hamburg.de>
Co-authored-by: Michel Rottleuthner <michel.rottleuthner@haw-hamburg.de>
3fdc669
to
8eb17c8
Compare
unrelated murdock error... |
thanks for the review!! |
Though... Other PRs are passing now. One would assume they would be failing if this was a real problem. We really need to sort this stuff out. |
Is it possible that the CI no longer autorebases? |
ping @kaspar030 could this be? Should I try to test it by opening an PR with an old base using a new feature to show it? I assumed that when the CI build label is set it would rebase to master. |
Not that I know of. |
Sorry for the noise. This test/board combo is just not tested on the PRs and only the nightlies. This is why other PRs don't see this problem. We can either add it to the list in the Good to see things are at least behaving as expected! Something like
Would have found it as well. |
Contribution description
This PR is a take over of original work by @MichelRottleuthner to port KW2XRF radios to the IEEE 802.15.4 Radio HAL.
The port should be complete and it already improves PRR a lot:
Strictly speaking this PR changes the API of
kw2xrf_init
, but IMO adding a deprecation at this level does not make sense.It also removes the old
netdev
implementation.Testing procedure
Try
tests/ieee802154_*
tests andexamples/gnrc_networking
for any of the compatible kw2xrf boards.Issues/PRs references
Depends on #18382