-
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
ieee802154/at86rf2xx: port to Radio HAL #19015
Open
jia200x
wants to merge
11
commits into
RIOT-OS:master
Choose a base branch
from
jia200x:pr/at86rf2xx_radio_hal_v3
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 1 commit
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
ea59bf2
ieee802154/nrf802154: fix missing ieee802154 dependency
jia200x ed94bb8
ieee802154/radio: add support for cipher_ops
jia200x c55f242
ieee802154/at86rf2xx: add initial Radio HAL support
jia200x 64b482a
tests/ieee802154_hal: add support for AT86RF2XX
jia200x 3a9ab03
tests/ieee802154_submac: add support for AT86RF2XX radios
jia200x f854a1c
tests/driver_at86rf2xx/Makefile.ci: add board to blacklist
jia200x ef40268
fixup! ieee802154/radio: add support for cipher_ops
jia200x 3ddbc6d
fixup! ieee802154/at86rf2xx: add initial Radio HAL support
jia200x 844fd5f
fixup! ieee802154/at86rf2xx: add initial Radio HAL support
jia200x c718568
fixup! ieee802154/at86rf2xx: add initial Radio HAL support
jia200x a8990e5
fixup! tests/ieee802154_hal: add support for AT86RF2XX
jia200x File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
tests/ieee802154_submac: add support for AT86RF2XX radios
- Loading branch information
commit 3a9ab03a99edc3d41001f0271e40cf293e1f9d68
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
I tried to run the test with
CONTINUE_ON_EXPECTED_ERRORS=1 USEMODULE+=at86rf233 BOARD=nucleo-f767zi
.I get linking errors:
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.
that board pulls an
netdev_eth
, which selectsnetdev
. As a result, the build system pullsnetdev_ieee802154_submac
, which shouldn't be there...The proper fix for this is #19052. I will try to come up with a workaround
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.
This is hard to fix as it is now :/. How should we proceed? Should we try to get #19052?
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.
any opinions? @benpicco @fabian18
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.
Is this a blocker for this PR?
It only happens when manually adding the module to the test, right?
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.
yes, just because we cannot provide netdev and the radio HAL at the same time for IEEE 802.15.4 devices
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.
How is the border router going to work then?
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.
hmmm wait, it's definitely possible to run the nrf52840 with a border router... I think it hast to do with the way this driver is modeled.
It's still not possible to run the HAL and
netdev_ieee802154
variants at the same time, but it shouldn't affect the BR. I will give it a look.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.
ok, the reason is because the submac callbacks are just C functions that should be defined somewhere. This would only happen with this test application (as
netdev_ieee802154_submac
already implements these callbacks and therefore there won't be duplicated symbols).So yes, this only occurs in
tests/ieee802154_submac
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.
Not sure if it is a real solution but at least it links fine with
DISABLE_MODULE += netdev_ieee802154_submac
intests/ieee802154_submac/Makefile