Support streaming data to flash partition
- Dominant language
- JavaScript
- Stars
- 19
- Forks
- 10
- PR merge metrics
- No merged PRs in 30d
Description
`qdlDevice#flashBlob` and `firehose#cmdProgram` currently expect a blob with the entire image to flash upfront
- ~~Use WebUSB from worker? https://chromestatus.com/feature/5928209916887040~~ that would be in flash
- Modify `sparse.js` to handle splitting up a `ReadableStream` into chunks for `firehose.js`
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by tracing qdlDevice#flashBlob into firehose#cmdProgram and read sparse.js and firehose.js to understand how image data is currently passed and split. Implement support for consuming a ReadableStream in chunks so the complete image is not held upfront, and verify that streamed data can still be programmed to the flash partition.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- embedded-iot
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100