zephyr/subsys/usb/class
Savinay Dharmappa 0fb1a8a836 usb: class: dfu: Add a worker thread to flash data from usb to flash
The bulk of implementation in the current DFU arch is done in the ISR.
This works well when the Flash device is memory mapped as these writes
get done comparatively quickly. However, in case of platforms where
the flash device is sitting on the SPI Bus, this was observed to
cause an exception. This exception may be because there are multiple
function calls consuming larger processing time inside the ISR. The
ISR stack may also end up going deeper and risk stack corruption on
devices with low RAM. To resolve this, we deferred flash write to a
worker thread. Also, some handshaking was added to have synchronization
with the host in accordance with the Host-Device DFU protocol.

Signed-off-by: Savinay Dharmappa <savinay.dharmappa@intel.com>
2018-12-30 16:24:33 -05:00
..
hid usb: hid: boot protocol 2018-12-19 07:36:18 -06:00
netusb net/pkt: Remove parameters to "reserve" some headroom 2018-12-14 14:16:37 +01:00
bluetooth.c usb: add SoF event 2018-11-23 09:18:41 -05:00
cdc_acm.c usb: fix CDC ACM breakage with CONFIG_USB_DEVICE_SOF 2018-12-17 08:16:49 -06:00
CMakeLists.txt
Kconfig usb: cdc_acm: select SERIAL_HAS_DRIVER and SERIAL_SUPPORT_INTERRUPT 2018-12-05 08:53:15 -05:00
loopback.c logging: Fix errors in log usage 2018-11-10 12:38:29 -05:00
mass_storage.c misra-c: Add 'U' to unsigned variable assignments in subsys/ 2018-12-04 22:51:56 -05:00
usb_dfu.c usb: class: dfu: Add a worker thread to flash data from usb to flash 2018-12-30 16:24:33 -05:00