zephyr/subsys/usb/class/dfu
Michael Rosen 1c89837e79 usb: dfu: add separate pid for dfu mode
Refactor the file structure for USB DFU class to facilitate
separate PID for USB DFU when in DFU mode. As required by USB DFU
1.1 Section 2, the PID in the USB device descriptor must be
different between the Run-time and DFU mode device descriptor to
avoid problems caused by the host OS caching the remaining
descriptors when switching to DFU mode, thus hiding the new
interface descriptors from applications on the host and reporting
the Run-time descriptors when the device is in DFU mode.

To avoid adding too much clutter to the root USB class Kconfig and
CMakeLists files, move the DFU class files into their own directory
with dedicated Kconfig and CMakeLists.txt.

Signed-off-by: Michael Rosen <michael.r.rosen@intel.com>
2020-12-20 13:04:45 -05:00
..
CMakeLists.txt usb: dfu: add separate pid for dfu mode 2020-12-20 13:04:45 -05:00
Kconfig usb: dfu: add separate pid for dfu mode 2020-12-20 13:04:45 -05:00
usb_dfu.c usb: dfu: add separate pid for dfu mode 2020-12-20 13:04:45 -05:00