Skip to content
Commit 480b728d authored by Paweł Zadrożniak's avatar Paweł Zadrożniak Committed by Carles Cufí
Browse files

drivers: usb: nordic: Fix IN transfer fragmentation



Currently, when usb_dc_ep_write is called, data is copied to the
internal buffer, hence the requirement for fragmentation, regardless
of low-level nrfx_usbd driver. This commit forces the fragmentation
and prevents potential internal buffer overflow. Adittional
fragmentation flag was added to prevent triggering status stage
(it is handled by hardware completely on nRF chips).

Fixes #12339

Signed-off-by: default avatarPaweł Zadrożniak <pawel.zadrozniak@nordicsemi.no>
parent 61ff1bda
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment