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

Eliminate the rt and vectored features from the esp-hal package #1380

Merged
merged 4 commits into from
Apr 2, 2024

Conversation

jessebraham
Copy link
Member

As discussed with the team earlier, since these two features cannot be disabled, and are generally useful, we will simply eliminate the features and this functionality will always be enabled.

We can revisit this in the future if there is a need for it.

Closes #1371.

@jessebraham jessebraham requested review from bjoernQ and MabezDev April 2, 2024 18:38
@burrbull
Copy link
Contributor

burrbull commented Apr 2, 2024

maybe enable them by default in pac crates?

@MabezDev
Copy link
Member

MabezDev commented Apr 2, 2024

maybe enable them by default in pac crates?

I thought about that too, but I think its best leave it opt-in for PAC crates. For instance, if we want to use the PACs directly in a probe-rs flasher stub, we won't have a runtime there.

Copy link
Member

@MabezDev MabezDev left a comment

Choose a reason for hiding this comment

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

LGTM, one small typo I found but that's about it!

esp-hal/src/interrupt/riscv.rs Outdated Show resolved Hide resolved
@jessebraham jessebraham enabled auto-merge April 2, 2024 23:16
@jessebraham jessebraham added this pull request to the merge queue Apr 2, 2024
Merged via the queue into esp-rs:main with commit e4c985e Apr 2, 2024
21 checks passed
@jessebraham jessebraham deleted the fixes/remove-features branch April 2, 2024 23:54
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.

Thanks!

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.

It is not possible to build the esp-hal package without the rt and vectored features enabled
4 participants