Skip to content
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/cc2538_rf: remove cc2538_rf_netdev_legacy #16628

Merged
merged 1 commit into from
Jul 8, 2021

Conversation

jia200x
Copy link
Member

@jia200x jia200x commented Jul 8, 2021

Contribution description

This PR removes the legacy netdev implementation of CC2538.

From now on, only the Radio HAL variant is available, but users can still use this radio as a netdev interface using netdev_ieee802154_submac. Therefore this shouldn't be consider as an API change. Although it's true that some NETOPTs are not (yet) exposed by netdev_ieee802154_submac, the legacy version doesn't implement retransmissions nor CSMA-CA, which makes it hard to use it in real scenarios.

Testing procedure

examples/gnrc_networking should still work with any cc2538 based board (e.g remote-revb)

Issues/PRs references

#13943

@jia200x jia200x requested review from fjmolinas and smlng as code owners July 8, 2021 13:39
@github-actions github-actions bot added Area: build system Area: Build system Area: cpu Area: CPU/MCU ports Platform: ARM Platform: This PR/issue effects ARM-based platforms labels Jul 8, 2021
@benpicco benpicco added CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR Type: cleanup The issue proposes a clean-up / The PR cleans-up parts of the codebase / documentation labels Jul 8, 2021
Copy link
Member

@maribu maribu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

High level ACK. (I didn't do full review, but trust @benpicco review instead. I agree on a conceptional level that we shouldn't maintain legacy drivers when new drivers are ready, unless we really have strong reasons to burden us with the duplicated effort. So if someone thinks this formally needs a second ACK, here it is.)

@jia200x
Copy link
Member Author

jia200x commented Jul 8, 2021

thanks for the review!

@jia200x jia200x merged commit 2500d15 into RIOT-OS:master Jul 8, 2021
@benpicco benpicco added this to the Release 2021.10 milestone Oct 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: build system Area: Build system Area: cpu Area: CPU/MCU ports CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR Platform: ARM Platform: This PR/issue effects ARM-based platforms Type: cleanup The issue proposes a clean-up / The PR cleans-up parts of the codebase / documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants