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

cpu/samd21: avoid the use of bitfield #20713

Merged

Conversation

dylad
Copy link
Member

@dylad dylad commented May 30, 2024

Contribution description

This PR replaces all calls of foo->bar.bit.xyz = ABCD to foo->bar.reg &= ABCD for all SAMDxx MCUs
This should not have much impact on the code.

Testing procedure

A careful review.
CI should catch most of the failure but feel free to run some tests on hardware.

Issues/PRs references

see #20457

Signed-off-by: Dylan Laduranty <dylan.laduranty@mesotic.com>
@dylad dylad added CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR CI: run tests If set, CI server will run tests on hardware for the labeled PR labels May 30, 2024
@dylad dylad requested a review from benpicco May 30, 2024 10:03
@dylad dylad requested a review from biboc as a code owner May 30, 2024 10:03
@github-actions github-actions bot added Platform: ARM Platform: This PR/issue effects ARM-based platforms Area: cpu Area: CPU/MCU ports labels May 30, 2024
@riot-ci
Copy link

riot-ci commented May 30, 2024

Murdock results

✔️ PASSED

16f6a4b cpu/samd21: avoid the use of bitfield

Success Failures Total Runtime
10160 0 10161 17m:01s

Artifacts

@benpicco benpicco added CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR and removed CI: run tests If set, CI server will run tests on hardware for the labeled PR CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR labels May 30, 2024
@Teufelchen1 Teufelchen1 added this pull request to the merge queue Jun 1, 2024
Merged via the queue into RIOT-OS:master with commit 893fab9 Jun 1, 2024
31 checks passed
@dylad dylad deleted the pr/cpu/samd21/avoid_bitfields_reg branch June 2, 2024 19:02
@mguetschow mguetschow added this to the Release 2024.07 milestone Jun 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants