Skip to content

ws281x: Use static inline function through inline namespace#88

Merged
chrysn merged 1 commit intomainfrom
fix-ws281x
Apr 15, 2024
Merged

ws281x: Use static inline function through inline namespace#88
chrysn merged 1 commit intomainfrom
fix-ws281x

Conversation

@chrysn
Copy link
Copy Markdown
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
@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