Skip to content

Conversation

@wiktorwieclaw
Copy link
Contributor

@wiktorwieclaw wiktorwieclaw commented Jun 8, 2023

I updated rtic-macros to a allow init and idle to be externally defined.

Design notes

  • Updated extern_binds example to include external #[init] and #[idle] functions.
  • Added docs to Local and Shared structs. The extern_binds example has a #![deny(missing_docs)] which caused some issues.

Testing

Apart from building the example, I also used this feature in one of my projects and ran it on a MCU here

Related issues

Related PRs

Copy link
Collaborator

@korken89 korken89 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks solid, thanks for fixing this long standing request!

bors merge

@bors
Copy link
Contributor

bors bot commented Jun 14, 2023

Build succeeded!

The publicly hosted instance of bors-ng is deprecated and will go away soon.

If you want to self-host your own instance, instructions are here.
For more help, visit the forum.

If you want to switch to GitHub's built-in merge queue, visit their help page.

@bors bors bot merged commit 08c0065 into rtic-rs:master Jun 14, 2023
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