USB stack did leak memory on every SET ADDRESS request. UDC control allocator could cope with up to 13 leaked allocations. Therefore, issuing bus reset 13 times in a row (in addition to automatic reset after connecting the USB cable) was enough to exhaust memory and thus drive USB stack inoperable. Signed-off-by: Tomasz Moń <tomasz.mon@nordicsemi.no> |
||
|---|---|---|
| .. | ||
| class | ||
| CMakeLists.txt | ||
| Kconfig | ||
| usbd_ch9.c | ||
| usbd_ch9.h | ||
| usbd_class_api.h | ||
| usbd_class.c | ||
| usbd_class.h | ||
| usbd_config.c | ||
| usbd_config.h | ||
| usbd_core.c | ||
| usbd_data.ld | ||
| usbd_desc.c | ||
| usbd_desc.h | ||
| usbd_device.c | ||
| usbd_device.h | ||
| usbd_endpoint.c | ||
| usbd_endpoint.h | ||
| usbd_init.c | ||
| usbd_init.h | ||
| usbd_interface.c | ||
| usbd_interface.h | ||
| usbd_shell.c | ||