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

Refactoring application to share a singular settings structure #872

Merged
merged 11 commits into from
Apr 5, 2024

Conversation

ryan-summers
Copy link
Member

This PR refactors the Stabilizer application to share a singular settings structure among the USB and MQTT interfaces. This means that configuration can be modified via both MQTT and USB concurrently. Saving settings will save the active settings to device flash memory for persistence.

src/bin/dual-iir.rs Outdated Show resolved Hide resolved
src/bin/dual-iir.rs Outdated Show resolved Hide resolved
src/bin/dual-iir.rs Outdated Show resolved Hide resolved
book/src/usage.md Outdated Show resolved Hide resolved
jordens
jordens previously approved these changes Apr 5, 2024
book/src/usage.md Show resolved Hide resolved
@ryan-summers
Copy link
Member Author

@jordens How do we want to manage this PR w.r.t rust-embedded-community/menu#18? I can lock us to a specific commit now, and once we get menu updated/re-released, we can follow-up with a PR to solidify the dependencies?

Co-authored-by: Robert Jördens <[email protected]>
@jordens
Copy link
Member

jordens commented Apr 5, 2024

I'd run with the current menu git commit and adapt when that changes or lands.

@ryan-summers ryan-summers marked this pull request as ready for review April 5, 2024 11:08
@jordens jordens added this pull request to the merge queue Apr 5, 2024
Merged via the queue into main with commit 0a43f56 Apr 5, 2024
8 of 9 checks passed
@jordens jordens deleted the feature/shared-settings branch April 5, 2024 11:43
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.

Add borrowed-settings to serial-settings Add ability to save active settings to flash
2 participants