-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
enhancementNew feature or requestNew feature or request
Description
How can we better our software?
There is code in the current webbased codebase to flash micropython firmware onto a device using a webassembly version of dfu-util. The upload itself works, but there were issues when doing this automatically. We disabled it for now but it would greatly enhance user experience if this would work. The issues are:
- The uploader would detect if firmware was already present, and only upload if that was not the case. However, this detection was unreliable (it checked for a REPL prompt) and caused frequent uploads when they were not needed. Uploading wipes the storage, so this was a big problem.
- It would only upload one fixed version/type of the firmware, made for the RP2040 chip (the nano connect variant). Other chips, such as the ESP32, would not work. The uploader should detect the type of board (by USB vendor/device id) and upload the correct firmware. Or if that's not possible, let the user choose from a list.
Autodetection would be really cool to have working, but it might not be reliable enough. If it proves impossible, we could ofcourse create a separate 'Upload Firmware' menu item and let the user start the upload manually.
What area is your feature improving?
Micropython Environment
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request