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 a switch to enable unstable esp-hal features #104

Merged
merged 4 commits into from
Feb 12, 2025
Merged

Add a switch to enable unstable esp-hal features #104

merged 4 commits into from
Feb 12, 2025

Conversation

bugadani
Copy link
Contributor

@bugadani bugadani commented Feb 10, 2025

Probably closes #84

@bugadani
Copy link
Contributor Author

Cargo.toml will be a hot mess to write and get right. We should probably allow at least placing comments on ENDIF to know what it closes.

@bugadani bugadani force-pushed the unstable branch 3 times, most recently from 6a82959 to a788161 Compare February 11, 2025 14:53
@bugadani bugadani marked this pull request as ready for review February 12, 2025 08:27
name: unstable-hal
display_name: Enable unstable HAL features.
help: esp-hal contains many unstable features that are not yet ready for general use. This configuration enables using them.

- !Option
name: alloc
Copy link
Collaborator

Choose a reason for hiding this comment

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

should esp-alloc require unstable? (I guess yes)

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 tests passed, so why?

I think the separate "unstable-dependencies" we had is unnecessary noise, people can decide if they want a dependency or not.

Copy link
Collaborator

Choose a reason for hiding this comment

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

I think the separate "unstable-dependencies" we had is unnecessary noise

I agree just the linked issue still says otherwise

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Do you want me to call out for each 0.x dependency that they are unstable?

Copy link
Collaborator

Choose a reason for hiding this comment

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

I personally don't want that at all- but

Crates like esp-println, esp-backtrace whilst powerful, I don't think are ready for stabilization yet and should be opt in.

reads to me like that was the idea

Copy link
Contributor Author

@bugadani bugadani Feb 12, 2025

Choose a reason for hiding this comment

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

Ah, right, I planned to make them opt-in in an upcoming PR. Updated the description to not close that issue yet.

template/template.yaml Outdated Show resolved Hide resolved
template/template.yaml Outdated Show resolved Hide resolved
@bugadani bugadani changed the title Unstable Add a switch to enable unstable esp-hal features Feb 12, 2025
Copy link
Collaborator

@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 - if @MabezDev is fine with it, too I guess it's ready to merge

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.

Thank you!

@MabezDev MabezDev added this pull request to the merge queue Feb 12, 2025
Merged via the queue into main with commit 45c350e Feb 12, 2025
10 checks passed
@bugadani bugadani deleted the unstable branch February 12, 2025 09:32
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.

Update the TUI to also explain unstable
3 participants