# Vault 7: Projects

This publication series is about specific projects related to the Vault 7 main publication.

### Protego

# MLA -- USB Library

20 December, 2013

- 1
- 2
…
- 18
- 19
- 20
- 21
- 22
…
- 311
- 312

Cleaning up unused variables in the stack
• stack files affected: usb_device_cdc.c, usb_device_audio.c
Fixed build issue on Mac/Linux systems for printer host demo
• stack files affected: usb_host_printer_primitives.c
Modifications to enable EP0 only driver
• stack files affected: usb_host.h, usb_host.c, usb_host_local.h
Modifications to allow wildcards on TPL table entries
• stack files affected: usb_host.h, usb_host.c
Fixed issue where a device reporting 0 configurations available would cause the host stack to crash.
• stack files affected: usb_host.c
Added support for Microsoft OS Descriptors
• stack files affected: usb_device.c, usb_generic.c, usb_generic.h
Fixed issue with interrupt enable for PIC32MX2 family devices
• stack files affected: usb_hal_pic32.h
Write attempts to a drive that is write protected does not report the status correct.
• Stack files affected: usb_function_msd_multi_sector.c
1.3.1.6 v2.9f
XC16 and XC32 support added.
• stack files affected: usb_hal.h, usb_ch9.h, usb_hal_*.h, usb_host_printer.h, usb_host_printer_esc_pos.h,
usb_function_msd.c, usb_function_msd_multi_sector.c, usb_function_phdc_com_model.c, usb_host_printer_esc_pos.c,
usb_host_printer_pcl_5.c, usb_host_printer_postscript.c, usb_device.c, usb_device_local.h, usb_hal_local.h,
usb_hal_pic24.c, usb_hal_pic24f.c, usb_host_local.h, usb_otg.c
Fixed issue with PIC32 access to USB registers not being atomic.
• stack files affected: usb_hal_pic32.h
Support for PIC16F1459 family devices.
• stack files affected: usb_hal.h, usb_device.c, usb_hal_pic16f1.h, usb_device_local.h
Removed hid_report_in[] and hid_report_out[] buffers from stack files. All HID demos responsible for allocating their own
data buffers.
• stack files affected: usb_function_hid.h, usb_device.c
Moved part specific mapping of BDT to HAL files.
• stack files affected: usb_hal_dspic33e.h, usb_hal_pic16f1.h, usb_hal_pic18.h, usb_hal_pic24.h, usb_hal_pic24e.h,
usb_hal_pic24f.h, usb_hal_pic32.h
1.3.1.7 v2.9e
1. Read-modify-write race condition in the way the USB interrupt flag was getting cleared on the PIC32 devices.
• Stack files affected: usb_hal_pic32.h
2. Added option to disable NAK timeouts for CDC host transfers (USB_HOST_CDC_NAK_TIMEOUT)
• Stack files affected: usb_host_cdc.c
3. The ALLOW_GLOBAL_VID_AND_PID option does not issue the EVENT_OVERRIDE_CLIENT_DRIVER_SELECTION
event.
1.3 Release Notes MLA - USB Library Help Revision History
20

- 1
- 2
…
- 18
- 19
- 20
- 21
- 22
…
- 311
- 312