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

Add auto_init_utils.h #18

Merged
merged 1 commit into from
Feb 20, 2023
Merged

Add auto_init_utils.h #18

merged 1 commit into from
Feb 20, 2023

Conversation

chrysn
Copy link
Member

@chrysn chrysn commented Feb 20, 2023

This will enable Rust applications to insert themselves into the auto init sequence without the need to go through C files.

@chrysn chrysn merged commit 81d7917 into main Feb 20, 2023
@chrysn chrysn deleted the auto-init branch February 20, 2023 08:03
bors bot added a commit to RIOT-OS/RIOT that referenced this pull request Feb 20, 2023
19288: rust: Update riot-sys and riot-wrappers r=kaspar030 a=chrysn

### Contribution description

rust: Update riot-sys and riot-wrappers

* riot-wrappers:
  * Fix infinite loop when using a Mutex
  * Make ValueInThread Copy/Clone
* riot-sys:
  * Export xxx_DEV (eg. I2C_DEV) C macros as functions
  * Add auto_init_utils.h

### Testing procedure

CI checks should suffice.

### Issues/PRs references

This pulls in fixes from

* RIOT-OS/rust-riot-sys#18
* RIOT-OS/rust-riot-sys#17 / RIOT-OS/rust-riot-wrappers#37
* RIOT-OS/rust-riot-wrappers#42 / RIOT-OS/rust-riot-wrappers#41


Co-authored-by: chrysn <[email protected]>
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.

1 participant