libhal / web-tools

A tools to help with calculations for embedded software development, robotics, electrical engineering with the goal of being easy to use, interactive, and sharable,
Apache License 2.0
0 stars 1 forks source link

[ Web Can ] Provide CanOpener flash/update firmware button #23

Closed kammce closed 3 months ago

kammce commented 3 months ago

This button would be next to the "save" button. When pressed it will prompt the user to select the version of the CanOpener firmware to flash. The firmware prompt can be hard coded to what is available on the https://github.com/libhal/can-opener. The goal would be to have the website check the releases for the project and provide a button for each so long as the app.elf.bin file exists in the release assets.

The flashing support can be managed by utilizing the code found here: https://github.com/Gamadril/stm-serial-flasher. License is MIT and compatible with our Apache 2.0 license. We should make sure to give proper attribution to the original project. We will need to modify what is provided in that repo to suit our needs for web tools in general.