{"push_id":3125889449,"size":1,"distinct_size":1,"ref":"refs/heads/dfu_download_threaded","head":"27a8f8145358dabf98c333250bb422ead963f05a","before":"4f139ade72c95fff118cd971e425a2342e8c6b0e","commits":[{"sha":"27a8f8145358dabf98c333250bb422ead963f05a","author":{"name":"Savinay Dharmappa","email":"b9bdbfc60b49ae384b99e3313b3f20d055baeacb@intel.com"},"message":"usb: class: dfu: Add a worker thread to flash data from usb to flash\n\nThe bulk of implementation in the current DFU arch is done in the ISR.\nThis works well when the Flash device is memory mapped as these writes\nget done comparatively quickly. However, in case of platforms where\nthe flash device is sitting on the SPI Bus, this was observed to\ncause an exception. This exception may be because there are multiple\nfunction calls consuming larger processing time inside the ISR. The\nISR stack may also end up going deeper and risk stack corruption on\ndevices with low RAM. To resolve this, we deferred flash write to a\nworker thread. Also, some handshaking was added to have synchronization\nwith the host in accordance with the Host-Device DFU protocol.\n\nSigned-off-by: Savinay Dharmappa <savinay.dharmappa@intel.com>","distinct":true,"url":"https://api.github.com/repos/SavinayDharmappa/zephyr/commits/27a8f8145358dabf98c333250bb422ead963f05a"}]}
{"actor":{"display_login":"SavinayDharmappa"}}