netdev_default: migrate to netif_dev_default#19052
netdev_default: migrate to netif_dev_default#19052jia200x wants to merge 3 commits intoRIOT-OS:masterfrom
Conversation
|
no idea why it was marked as a draft. This is ready for review |
06170ac to
66515b9
Compare
66515b9 to
c52c8e6
Compare
sys/net/gnrc/Makefile.dep
Outdated
| endif | ||
|
|
||
| ifneq (,$(filter gnrc_netdev_default,$(USEMODULE))) | ||
| ifneq (,$(filter gnrc_netif_dev_default,$(USEMODULE))) |
There was a problem hiding this comment.
This should probably remain gnrc_netdev_default
There was a problem hiding this comment.
uh, that's a result of sed. I will revert it.
|
Is there no fallback to include Do I understand it correctly that (Although those would also work on |
Yes, it was there, but it got replaced by
Exactly.
That would make sense. But since there are too many link layers, I just wanted to start with the baseline + IEEE 802.15.4. We could then migrate apps and tests as needed. |
|
done! |
|
ping. It seems this will be required for #19015 |
26a679b to
3bdab84
Compare
|
Kconfig is not happy still |
|
This needs a rebase and Kconfig needs to be fixed. |
Good idea. I can add that while rebase |
Contribution description
This PR renames
netdev_defaulttonetif_dev_defaultdue to the following reasons:netdev_defaultis misleading.At the same time, this PR allows to define granularity for the kind of network interfaces (e.g select only IEEE 802.15.4 devices/interfaces). This is specially useful for test applications such as
ieee802154_hal, which still require any IEEE 802.15.4 device but does not require other embedded network devices (e.g WiFi, Ethernet).So far, this PR only defines the
MODULE_NETIF_DEV_IEEE802154_DEFAULTgranularity, but we should add more on demand.Testing procedure
Compile tests should be enough. Make sure TEST_KCONFIG=1 and TEST_KCONFIG=0 builds converge.
Issues/PRs references
It will simplify merging #18472.