whimsicalraps / bowering

bowery, for norns
12 stars 3 forks source link

firmware update #4

Closed trentgill closed 1 year ago

trentgill commented 3 years ago

make a separate script that comes as part of the bowering project that does firmware updates. should be able to:

for the dfu bootloader, it could be dfu-util like we've been using, but it seems kinda clunky & sometimes has a hard time releasing the device. there are native python implementations we could pull in (norns has 2.7.13 and 3.5.3 by the looks of it).


this could be expanded in future (and split off into it's own project) which manages firmware uploads for many devices. Specifically thinking other devices with the stm32 usb dfu like crow (but with different binaries & git queries), but also audio-uploads like the WR modules.

if it were built as a set of modular tools, the goal would be to have each supported device have it's own file lib/<device>.lua so that it is totally modular. this would be great as it would be relatively simple to add many different manufacturers bootloader details in here if there is interest.

eg. would be helpful to have the audio-level set to the optimal level for each device in question. could be defined in the module.

dndrks commented 1 year ago

kinda addressed by the introduction of https://github.com/monome/fledge -- @trentgill , want this to remain open for the audio-uploader spec?

trentgill commented 1 year ago

@dndrks yeah i'm closing it. honestly this script is no longer in development, but happy for someone to fork it & take it somewhere new