-
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: adapt to netdev2 #6453
Conversation
08e9f40
to
5ada426
Compare
|
@jfischer-phytec-iot its based on your PR, so we could close yours and merge this one instead, if you're okay with this procedure?! Your commits would stay as they are, so no work and effort lost. |
@jfischer-phytec-iot , we still have to wait for the SPI rework PR #4780, and this has to be adapted to it before final merge. @PeterKietzmann will help with that |
I agree, thank you |
BTW I've tested some stress pinging with small payloads (un-fragmented 6Lo) between a samr21 and a phytec board with success. |
@PeterKietzmann could to know that basic test succeeded. Regarding #4822: I'll try to do extend tests soon, but I won't make it for the release. Still, as suggested that should not block this PR in general. |
@smlng, care to update the PR title to something more speaking? ;-) |
#4780 has been merged. Please rebase! |
@PeterKietzmann its not that simple, but I'll try |
adapted to new SPI interface and rebased, needs testing |
@PeterKietzmann ping, 🍒 |
Fragmentation does not work as reported in #4822 I guess. Small packet hardcore pinging on different channels works between samr21-xpro and the phytec board. Let me have a look at the code again |
Please review #1 |
I don't think we need all commits. Please squash. IMO one commit should be fine. Maybe two. For example one commit containing the netdev2 adoption and the other containing SPI rework. I trust you to find a reasonable decision to squash your commits. |
47f3b24
to
d1842d2
Compare
Adapt the kw2xrf driver for the netdev2 interface. This patch also adds overwrites.h, the header provides overwrite values for the kw2xrf PHY.
- add docu for structs, defines and functions - exclude drivers/kw2xrf/include/overwrites.h (vendor header) - add missing header guards
- use generic short and long address generator - defines in main header file - refine debug output - correct signed/unsigned warnings
squashed as much as I found reasonable, and so that everyone involved gets his share 😄 |
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.
Even though I'm a bit scared I give my tested ACK.
Thanks @jfischer-phytec-iot for your initial work and @smlng for shepherding. |
finally! |
tries to fix remaining issues in #5469