Skip to content

feat: add Ariel OS support #56

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

Merged
merged 5 commits into from
Feb 13, 2025
Merged

Conversation

kaspar030
Copy link
Contributor

This PR adds Ariel OS integration to embedded-test.

Ariel is a bit different from regular bare-metal targets:

  1. It takes care of a lot of system setup (logging, network, panic handler...)
  2. It provides threads alongside async tasks

This is reflected in the integration, e.g., non-async tests are run in a thread.

We have an example on how to use this, and a book chapter with more info.

I've tried to find generic solutions here instead of a blanket "ariel-os" feature, but it became messy. So this is what we're using now.

Copy link
Contributor

@t-moe t-moe left a comment

Choose a reason for hiding this comment

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

Hey @kaspar030,

Thanks for your contribution! I wasn't familiar with Ariel OS before, but it looks quite interesting.

I've left a few minor suggestions. Could you also update the feature documentation in README.md and add an entry to the changelog (under "Unreleased")? I'll handle the crate version bumps.

Appreciate it!

@t-moe t-moe merged commit 95a1636 into probe-rs:master Feb 13, 2025
11 checks passed
@kaspar030 kaspar030 deleted the v0.6.0+ariel-os branch February 13, 2025 13:12
@kaspar030
Copy link
Contributor Author

Thanks!

@ROMemories ROMemories restored the v0.6.0+ariel-os branch February 13, 2025 13:46
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