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

Enable C2 HIL #1680

Merged
merged 6 commits into from
Jun 26, 2024
Merged

Enable C2 HIL #1680

merged 6 commits into from
Jun 26, 2024

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).
  • I have used cargo xtask fmt-packages command to ensure that all changed code is formatted correctly.
  • My changes were added to the CHANGELOG.md in the proper section.
  • My changes are in accordance to the esp-rs API guidelines

Extra:

Pull Request Details 📖

Description

  • Enables C2 HIL test suite
  • Changes the wiring of all the current tests/targets, instead of connecting GPIO2 and GPIO4, we should now use GPIO2 and `GPIO3
    • This means that we should sync whenever we update the lab targets and when we merge this PR.
  • Test that rely on delays are failing, added the error to HIL testing issues on different targets #1524 and disabled them for C2

Important

Once merged we need to add the HIL Test | esp32c2 test to the required checks

Testing

Locally run the test suite, modifying the connected pins, without errors for C2, C3, C6, H2, S2 and S3.

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

@bjoernQ bjoernQ left a comment

Choose a reason for hiding this comment

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

LGTM

@SergioGasquez
Copy link
Member Author

CI failing due to #1682, once #1681 is merged, a rebase should fix the errors.

@MabezDev
Copy link
Member

What's the order of operations here? I guess we need to physically move the wires before we can merge this?

@SergioGasquez
Copy link
Member Author

What's the order of operations here? I guess we need to physically move the wires before we can merge this?

Yes, we would need to update the wiring and merge this asap after the wires are updated (otherwise HIL workflows will fail)

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! I can do the wiring changes.

@MabezDev
Copy link
Member

@JurajSadel please go ahead and change the wires, then merge this once that's complete. Thank you 🥰

@SergioGasquez SergioGasquez marked this pull request as draft June 17, 2024 09:58
@jessebraham
Copy link
Member

@JurajSadel any updates here?

@SergioGasquez
Copy link
Member Author

Tomas just updated the wiring! Ill proceed with the merging

@SergioGasquez SergioGasquez marked this pull request as ready for review June 26, 2024 11:18
@SergioGasquez SergioGasquez added this pull request to the merge queue Jun 26, 2024
github-merge-queue bot pushed a commit that referenced this pull request Jun 26, 2024
* ci: Enable c2 hil

* docs: Update pins and add C2

* feat: Update C2 probe-rs args

* test: Update pins and disable failing tests

* docs: Update S3 wires
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jun 26, 2024
@SergioGasquez SergioGasquez added this pull request to the merge queue Jun 26, 2024
github-merge-queue bot pushed a commit that referenced this pull request Jun 26, 2024
* ci: Enable c2 hil

* docs: Update pins and add C2

* feat: Update C2 probe-rs args

* test: Update pins and disable failing tests

* docs: Update S3 wires

* ci: Enable C2 hil tests
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jun 26, 2024
@SergioGasquez SergioGasquez added this pull request to the merge queue Jun 26, 2024
Merged via the queue into esp-rs:main with commit e46e80b Jun 26, 2024
30 checks passed
@SergioGasquez SergioGasquez deleted the feat/hil-c2 branch June 26, 2024 14:33
@SergioGasquez
Copy link
Member Author

Currently, C2 HIL is not added as a required check as probe-rs cant detect the chip in our self-hosted runner. Ill try to fix this asap

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.

5 participants