zephyr/subsys/usb/device_next
Tomasz Moń 7608f54433 usb: device_next: Do not leak memory on set address
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>
2023-01-24 09:43:00 +01:00
..
class usb: device_next: remove workaround for the UDC enqueue bug 2023-01-11 17:44:50 +01:00
CMakeLists.txt
Kconfig
usbd_ch9.c usb: device_next: Do not leak memory on set address 2023-01-24 09:43:00 +01:00
usbd_ch9.h
usbd_class_api.h
usbd_class.c all: Fix "#if IS_ENABLED(CONFIG_FOO)" occurrences 2022-12-21 10:09:23 +01:00
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