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 CRC and MD5 HIL tests #1417

Merged
merged 1 commit into from
Apr 10, 2024
Merged

Conversation

SergioGasquez
Copy link
Member

Thank you for your contribution!

We appreciate the time and effort you've put into this pull request.
To help us review it efficiently, please ensure you've gone through the following checklist:

Submission Checklist 📝

  • I have updated existing examples or added new ones (if applicable).
  • My changes were added to the CHANGELOG.md in the proper section.

Extra:

Pull Request Details 📖

Description

Adds an HIL test for CRC and MD5. Not sure how useful are this tests since they are mostly calling ROM functions, but I thought it might be good to have them.

Testing

Tested locally on C3,C6 and H2. Also, I manually triggered the HIL CI to run in my fork/branch of this PR: https://github.com/esp-rs/esp-hal/actions/runs/8629177503

@SergioGasquez SergioGasquez added the skip-changelog No changelog modification needed label Apr 10, 2024
Copy link
Contributor

@JurajSadel JurajSadel left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

use super::*;

#[init]
fn init() {}
Copy link
Member

Choose a reason for hiding this comment

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

Just out of curiosity, does embedded_test require an init function, or are we just including it to be consistent with the other tests? It's not a problem at all as-is, of course.

Copy link
Member Author

Choose a reason for hiding this comment

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

Its not required afaik. I left it to match the other tests, but I can remove it. No hard opinion tbh.

Copy link
Member

@jessebraham jessebraham left a comment

Choose a reason for hiding this comment

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

Thanks!

@jessebraham jessebraham added this pull request to the merge queue Apr 10, 2024
Merged via the queue into esp-rs:main with commit 86f4f50 Apr 10, 2024
21 of 22 checks passed
@SergioGasquez SergioGasquez deleted the feat/hil-crc branch April 10, 2024 15:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
skip-changelog No changelog modification needed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants