esp32-s2_dfu/src
Jerzy Kasenberg 6f3d0af1e6 synopsys: Fix fifo allocation schema
Recommended FIFO allocation schema includes 2 maximum endpoint sizes.
Comment suggested that this is the case while it would work according
to this description only in checked endpoints were ascending sizes.
Also two same size endpoints would be counted as one.
That is fixed by way sz is filled.

Calculation used too much modulo operation while single division was enough
to account for odd FIFO sizes.

Extra space that is evenly distributed between Bulk and control endpoints
was incorrectly calculated it could prevent allocation of ISO endpoint FIFO
when bulk endpoints existed with smaller endpoint numbers.

Minimum endpoint FIFO size is 16 32bit words, FIFO space requirement is
now observed.
2020-09-28 08:41:17 +02:00
..
class Start of sampling works. 2020-09-06 11:37:59 +02:00
common correct isr context for nrf DCD_EVENT_UNPLUGGED 2020-08-01 12:02:59 +07:00
device Merge remote-tracking branch 'upstream/master' into uac2 2020-09-04 16:23:39 +02:00
host more hid host work 2020-09-03 23:57:51 +07:00
osal add more logging to host stack 2020-09-01 19:16:50 +07:00
portable synopsys: Fix fifo allocation schema 2020-09-28 08:41:17 +02:00
tusb.c add usbd edpt open 2020-04-26 14:51:44 +07:00
tusb.h Merge remote-tracking branch 'upstream/master' into uac2 2020-07-25 14:26:24 +02:00
tusb_option.h Merge remote-tracking branch 'upstream/master' into uac2 2020-09-04 16:23:39 +02:00