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

Slight cleanup throughout #2575

Merged
merged 2 commits into from
Nov 21, 2024
Merged

Slight cleanup throughout #2575

merged 2 commits into from
Nov 21, 2024

Conversation

bugadani
Copy link
Contributor

Split out of #2357 as these don't really belong there - most of the changes were done because of PAC updates, which landed separately.

@bugadani bugadani added the skip-changelog No changelog modification needed label Nov 20, 2024
@@ -601,10 +601,6 @@ impl<'a> I2cFuture<'a> {

w.arbitration_lost().set_bit();
w.time_out().set_bit();

#[cfg(esp32)]
Copy link
Contributor Author

Choose a reason for hiding this comment

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

These are part of I2cFuture which we don't even implement for esp32


| Feature | Supported CPUs |
| --------- | ---------------- |
| `esp32` | ESP32 (_LX6_) |
Copy link
Contributor Author

Choose a reason for hiding this comment

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

The features don't exist

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.

I guess having to update the version of critical-section in two places is fine given they appear very close together (and it would be fine even if not)

I wonder if we should have direct dependencies on xtensa-lx and riscv given they are re-exported from the rt crates? But upsteam riscv-rt doesn't so maybe just keep it

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, LGTM

@jessebraham jessebraham added this pull request to the merge queue Nov 21, 2024
Merged via the queue into esp-rs:main with commit 457ed44 Nov 21, 2024
28 checks passed
@bugadani bugadani deleted the cleanup branch November 21, 2024 09:33
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