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

Can we find a way to apply new firmware over the air #241

Open
sjefferson99 opened this issue Oct 9, 2024 · 5 comments
Open

Can we find a way to apply new firmware over the air #241

sjefferson99 opened this issue Oct 9, 2024 · 5 comments
Assignees
Labels
🔮 enhancement New feature or request 👁 smib-hid SMIBHID related code

Comments

@sjefferson99
Copy link
Member

Is it possible to load new files into littlefs over an API/web page and save them and reset or are they locked?

@sjefferson99 sjefferson99 added the 🔮 enhancement New feature or request label Oct 9, 2024
@sjefferson99 sjefferson99 self-assigned this Oct 9, 2024
@sam57719
Copy link
Collaborator

sam57719 commented Oct 9, 2024

@sam57719
Copy link
Collaborator

sam57719 commented Oct 9, 2024

@sjefferson99
Copy link
Member Author

Basically urequest the raw github content and write to file, rename to main file and reboot. Actually as simple as we hoped, shouldn't be hard to write a module that works in smibhid (uses our wifi module and async requests etc). Also have something iterate through all the files in the smibhid lib folder + main.py. Should be very achievable.

@sam57719
Copy link
Collaborator

Would we also want a way to manually push a file(s) to the picos remotley?

or use the web UI allow you to specify a branch and/or tag/revision to pull files from

@sjefferson99
Copy link
Member Author

Yes I have a number of ideas in my head still crystalising around identifying files changed, updating to a branch, pushing an individual file or files, checking config, recovering from a failed update etc. I will list them out here as I start writing components. Probably have some smaller enhancement records for each piece.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🔮 enhancement New feature or request 👁 smib-hid SMIBHID related code
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

2 participants