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

ws281x: Use static inline function through inline namespace #88

Merged
merged 1 commit into from
Apr 15, 2024

Conversation

chrysn
Copy link
Member

@chrysn chrysn commented Apr 15, 2024

Unblocks: RIOT-OS/RIOT#20562

The module probably got broken when the inline functions were not automatically exported to the main namespace any more. Now that 20562 enables it on default boards, it is built the first time since 2021, and can now be built again.

There is no standalone test for this yet; it can be tested from RIOT by bending .cargo/config.toml to this branch, and running USEMODULE+=ws281x make -C examples/rust-gcoap BOARD=microbit-v2 (which failed to build before, and now builds).

@chrysn chrysn enabled auto-merge April 15, 2024 14:16
@chrysn chrysn merged commit ea8d7fa into main Apr 15, 2024
59 checks passed
@chrysn chrysn deleted the fix-ws281x branch April 15, 2024 14:26
chrysn added a commit to MrKevinWeiss/RIOT that referenced this pull request Apr 15, 2024
This pulls in [88], and thus fixes building of Rust modules when the
wS281x module is enabled.

[88]: RIOT-OS/rust-riot-wrappers#88
ant9000 pushed a commit to ant9000/RIOT that referenced this pull request Aug 23, 2024
This pulls in [88], and thus fixes building of Rust modules when the
wS281x module is enabled.

[88]: RIOT-OS/rust-riot-wrappers#88
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants