Skip to content

Add auto_init_utils.h#18

Merged
chrysn merged 1 commit intomainfrom
auto-init
Feb 20, 2023
Merged

Add auto_init_utils.h#18
chrysn merged 1 commit intomainfrom
auto-init

Conversation

@chrysn
Copy link
Copy Markdown
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 enabled auto-merge February 20, 2023 07:14
@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