-
Notifications
You must be signed in to change notification settings - Fork 0
chore(firmware): drop esp-radio coex feature (BLE/Wi-Fi never co-run) #583
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
Merged
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -37,10 +37,10 @@ | |||||||||
| //! LCD. Bonds are persisted to the SD card via [`bonds`] so a | ||||||||||
| //! re-paired peer skips the passkey dance. | ||||||||||
| //! | ||||||||||
| //! Coexistence: BLE rides the same radio as Wi-Fi via esp-radio's | ||||||||||
| //! `coex` feature. Expect a single-digit-percent Wi-Fi throughput | ||||||||||
| //! cost — invisible for the dashboard / SSE / settings round-trips | ||||||||||
| //! the firmware does today. | ||||||||||
| //! Mutually exclusive with Wi-Fi: BLE is brought up only when no Wi-Fi | ||||||||||
| //! SSID is configured (see `main.rs`). The two never share the radio, so | ||||||||||
| //! esp-radio's `coex` feature is left off — enabling it would only reserve | ||||||||||
| //! internal RAM the Wi-Fi MAC needs to start. | ||||||||||
|
Comment on lines
+42
to
+43
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
Prompt To Fix With AIThis is a comment left during a code review.
Path: crates/stackchan-firmware/src/ble/mod.rs
Line: 42-43
Comment:
Same comment inaccuracy as in `Cargo.toml`: coex's measured runtime RAM cost was negligible (heap unchanged at Wi-Fi start per the PR description); the real benefit is binary size and removed complexity.
```suggestion
//! esp-radio's `coex` feature is left off — enabling it adds binary size
//! (links the `coexist` lib) with no runtime scheduling benefit.
```
How can I resolve this? If you propose a fix, please make it concise. |
||||||||||
| //! | ||||||||||
| //! Sync-version note: trouble-host 0.5.x pulls | ||||||||||
| //! `embassy-sync = 0.6` while the rest of the firmware uses 0.7. | ||||||||||
|
|
||||||||||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
coexfreed Wi-Fi MAC RAM. The same inaccuracy appears in the parallel sentence inble/mod.rs(line 42–43).Prompt To Fix With AI