6935 Commits

Author SHA1 Message Date
Mengsk
7ff2f43bfd Add multi-rate audio test example for new ISO buffer allocation. 2022-12-30 15:09:50 +01:00
Mengsk
21bdafcfef Add ISO buffer allocation. 2022-12-30 01:08:04 +01:00
Mengsk
07ad64adfe Do not set USB_EP_RX_NAK for ISO EP. 2022-12-29 23:30:24 +01:00
Mengsk
db65759b1e Use weak for dcd_edpt_iso_alloc/dcd_edpt_iso_activate 2022-12-29 23:29:50 +01:00
Mengsk
0bd41d5354 Fix CI. 2022-12-29 21:37:44 +01:00
Mengsk
e4f07206f8 UAC : Enable fifo based transfer on stm32_fsdev 2022-12-29 19:34:12 +01:00
Mengsk
fe8c170c98 Add dcd_edpt_iso_alloc() / dcd_edpt_iso_activate() for ISO EP buffer management. 2022-12-29 19:19:27 +01:00
Mengsk
8a1184e7b3 Minor audio_test example fix.
Fix CFG_TUD_AUDIO_EP_SZ_IN size.
2022-12-29 14:34:37 +01:00
Mengsk
cece59df22 Generally enable ISO xfer. 2022-12-29 12:33:44 +01:00
Mengsk
ef2f17a514 Add hardware endpoint allocator. 2022-12-29 12:33:43 +01:00
Mengsk
b156a8b78c dcd_stm32_fsdev : Implement FIFO transfer correctly. 2022-12-29 12:33:43 +01:00
Mengsk
17990025bb dcd_stm32_fsdev : Fix index out of bound in dcd_write_packet_memory()
If src is odd then src[wNBytes] is accessed.
2022-12-29 12:33:43 +01:00
Simon Kueppers
1d37f5ef9b Added improvements with regards to SOF timing jitter 2022-12-29 12:33:16 +01:00
Simon Kueppers
76413a95d4 Added TU_ATTR_ALWAYS_INLINE to all static inline functions 2022-12-29 12:29:47 +01:00
Simon Kueppers
9ec21248d7 Fixed various small problems and inaccuracies regarding ISOCHRONOUS endpoint 2022-12-29 12:29:47 +01:00
Mengsk
b4b619abd6 SHA-1: 5cb3ed518301e2237ee4e468e97e51ece0ba3838
* Correct handling of SOF interrupt
2022-12-29 12:29:28 +01:00
Mengsk
8327090171 Merge branch 'master' of https://github.com/hathach/tinyusb into stm32_fsdev 2022-12-29 12:14:52 +01:00
Simon Kueppers
d584b07e2c Fixed problem where the transmit byte count was written into the wrong register on ISOCHRONOUS endpoints 2022-12-29 12:13:56 +01:00
Simon Kueppers
510720b396 Renamed pcd_set_ep_rx_cnt because it actually sets the maximum buffer size 2022-12-29 12:13:56 +01:00
Simon Kueppers
9a84390878 Changed comments, added define to fail if ISOCHRONOUS endpoint is not available but requested 2022-12-29 12:13:56 +01:00
Simon Kueppers
ec826732fc Fixed non-aligned allocated memory sizes 2022-12-29 12:13:56 +01:00
Simon Kueppers
abf53f9270 Changed indirection from actual endpoint address to hardware endpoint through lookup table. Allocation of endpoint is now only performed in dcd_edpt_open 2022-12-29 12:13:56 +01:00
Simon Kueppers
8c0388f477 Fixed wrongly enabling RX and TX status simultaneously on ISOCHRONOUS endpoints 2022-12-29 12:13:56 +01:00
Simon Kueppers
d9b2c9934a Implemented an optional callback function that is used instead of tu_edpt_number in the stm32 device driver as a crude tool to control mapping of the endpoint address to actual endpoint register 2022-12-29 12:13:56 +01:00
Simon Kueppers
6d65eaf7a1 Implemented very rudimentary support for isochronous transfer buffer handling 2022-12-29 12:13:55 +01:00
Nathaniel Brough
1dcffc655d fix(fuzz): Make sanitizer flags optional
Currently OSS fuzz expects to have complete control over the
sanitizer flags. As we currently have these set it's causing
problems with the OSS fuzz build. Instead we should use the
provided variables from the OSS fuzz build environment. For
local testing we'll create a set a well defined defaults.
2022-12-28 21:07:29 +00:00
Staacks
95ba158a10 Fix UVC probe and commit on MacOS 2022-12-27 23:02:33 +01:00
Ha Thach
549bee94ad
Merge pull request #1819 from hathach/fix-ncm-warning
fix ncm warning
2022-12-27 19:02:57 +07:00
hathach
d0ca6ca8f7
fix ncm warning 2022-12-27 18:21:56 +07:00
Ha Thach
301b6af6c6
Merge pull request #1801 from tyustli/tyustli_sem_reset
[add] semaphore reset support for rt-thread
2022-12-26 13:09:47 +07:00
Ha Thach
4b5880671c
Merge pull request #1814 from hathach/more-host-cdc
add tuh_cdc_peek()
2022-12-25 00:50:18 +07:00
hathach
48d4a67ec5
add tuh_cdc_peek() 2022-12-24 01:11:13 +07:00
Ha Thach
48f4d8b7f7
Merge pull request #1810 from hathach/fix-cdc-buf
fix incorrect rx buf in cdc
2022-12-22 22:34:20 +07:00
hathach
15a02d04df
fix incorrect rx buf in cdc 2022-12-22 21:35:55 +07:00
Ha Thach
2777df411f
Merge pull request #1809 from hathach/host-cdc
Support Host CDC
2022-12-22 21:29:00 +07:00
hathach
396716cc2c
clean up 2022-12-22 20:26:32 +07:00
hathach
f33883c308
add tuh_cdc_get_local_line_coding() 2022-12-22 19:41:39 +07:00
hathach
14d45b580e
correct host cdc enum 2022-12-22 19:17:09 +07:00
hathach
05c119ce97
cdc host, add set line coding API 2022-12-22 18:28:06 +07:00
hathach
11233e4d3e
minor clean up 2022-12-22 11:43:57 +07:00
hathach
c99af908f1
fix typo 2022-12-22 11:41:27 +07:00
hathach
2d536123c8
finish moving edpt stream to tusb.c 2022-12-22 11:31:37 +07:00
hathach
e3c9d94500
fix stream read count computation 2022-12-22 11:16:39 +07:00
hathach
8323e4b79a
moving edpt_stream API into common tusb.c 2022-12-22 08:52:01 +07:00
hathach
9e8ea44925 add tuh_cdc_write_clear, rename read_flush() to read_clear() 2022-12-21 17:49:50 +07:00
hathach
cd9008e5a9 add tuh_cdc_tx_complete_cb() callback 2022-12-21 13:05:45 +07:00
hathach
84a483f5ea add more host cdc API
tuh_cdc_write_available(), tuh_cdc_read_flush(), tuh_cdc_rx_cb()
callback
2022-12-21 12:47:00 +07:00
hathach
edc559cb4d fix ci 2022-12-21 12:29:51 +07:00
hathach
badb30a6c3 correct cdc host app 2022-12-21 12:25:13 +07:00
hathach
22b62f8712 add tu_edpt_stream_write_zlp_if_needed() 2022-12-21 12:07:12 +07:00