espressif_tinyusb/src/portable
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
..
dialog/da146xx enable pull-up in dcd_init() instead of usbd 2020-08-01 20:14:58 +07:00
espressif/esp32s2 enable pull-up in dcd_init() instead of usbd 2020-08-01 20:14:58 +07:00
microchip add OPT_MCU_SAMD11 2020-08-22 18:46:19 +07:00
nordic/nrf5x manually submit unplugged event for nrf dcd_disconnect() 2020-08-04 14:18:12 +07:00
nuvoton update link speed detection for nuc505 2020-07-16 20:44:06 +07:00
nxp enable pull-up in dcd_init() instead of usbd 2020-08-01 20:14:58 +07:00
sony/cxd56 update actual link speed for spresense 2020-07-17 18:28:19 +07:00
st synopsys: Fix fifo allocation schema 2020-09-28 08:41:17 +02:00
template complete remove dcd_set_config(), fix unit test 2020-04-17 13:52:34 +07:00
ti/msp430x5xx Merge pull request #478 from hathach/move-dcdconnect-to-dcdinit 2020-08-04 14:11:32 +07:00
valentyusb/eptri complete remove dcd_set_config(), fix unit test 2020-04-17 13:52:34 +07:00