speeduino / SpeedyLoader

Speeduino universal firmware loader
GNU General Public License v3.0
43 stars 25 forks source link

[Feature Request] - Ability to select & load custom/other firmware file #17

Open diy-efi opened 3 years ago

diy-efi commented 3 years ago

It would be nice for a user to be able to select and then load a custom .hex file. This is ideal for non standard boards which require modified firmwares.

rerpha commented 3 years ago

i'm gonna have a go at this when I have time, some ideas in case i get hit by a bus:

How does that sound? I think it should be straightforward-ish, will find out i guess lol

karniv00l commented 3 years ago

Maybe official resellers could have their own tab with a list of firmware? So it will be: Official firmwares and something like 3rd party firmwares? Could be hosted and pulled from dedicated GitHub repo.

A convenient way for vendors to provide and for users to load custom firmware could be the usage of the custom protocol.

Basically a link on the web with firmware URL as a parameter, e.g.

speedy-loader://firmware/diy-efi.co.uk/downloads/firmware/custom-board/202108

let say that the connected board is mega256 so the app will try pulling file from: https://diy-efi.co.uk/downloads/firmware/custom-board/202108-mega256.hex

Note: this can be exploited, users may be loading some malicious firmware without realizing it (adding a white list for domains should do the trick).