1328 Commits

Author SHA1 Message Date
Ha Thach
ed4b1a9b68
Merge pull request #2656 from lijunru-hub/feat/uvc_support_frame_based
feat(uvc): support format frame based
2024-12-06 16:25:32 +07:00
hathach
c514a8c879
Merge branch 'master' into fork/pschatzmann/rp2040-iso 2024-11-28 11:02:23 +07:00
Ha Thach
dbc2c8d972
Fix missing protoype warning, change TUD_EPBUF_TYPE_DEF order (#2889)
* change TUD_EPBUF_TYPE_DEF order
* add and fix -Wmissing-prototypes warnings  for   cmake (skip  make)
2024-11-27 18:28:12 +07:00
hathach
9e4b855e53
minor clean up 2024-11-27 11:35:21 +07:00
hathach
453d69517b
fix multiple flag on compiling 2024-11-27 11:10:06 +07:00
hathach
67e92e6688
add TUH_EPBUF_DEF for cdc host 2024-11-26 22:07:28 +07:00
hathach
f7efcf3c47
msc host, use usbh_get_enum_buf() for set_config() process 2024-11-26 18:02:59 +07:00
hathach
e9a3f88894
add buffer note for host msc api 2024-11-26 17:28:27 +07:00
hathach
d9f3e7dd25
add TUH_EPBUF_DEF for hid host 2024-11-26 16:32:19 +07:00
hathach
a5f9947a20
msc host work ok with p4 dma 2024-11-26 13:38:03 +07:00
hathach
c09eedaf24
try to fix circleci with kinetis 2024-11-25 17:45:54 +07:00
hathach
07d47ba487
fix ncm incorrect length for notify connection 2024-11-22 20:21:12 +07:00
hathach
5c18a32aaa
add TUD_EPBUF_DEF for ecm rndis, also separate notify and control buffer, use edpt_claim() to prevent race condition 2024-11-22 20:09:29 +07:00
hathach
1eb72af433
TUD_EPBUF_TYPE_DEF video_device.c 2024-11-22 18:33:48 +07:00
hathach
7831af3ccf
update epnotif endpoint for ncm_device.c 2024-11-22 16:46:26 +07:00
hathach
8a5c118a66
TUD_EPBUF_TYPE_DEF usbtmc_device.c and vendor_device.c 2024-11-22 16:22:10 +07:00
hathach
1533e693ee
TUD_EPBUF_TYPE_DEF ncm_device 2024-11-22 15:45:08 +07:00
hathach
090964cd1b
apply TUD_EPBUF_DEF for device: bth, dfu, hid, msc 2024-11-22 12:25:37 +07:00
hathach
f148670753
msc_device.c declare and separate epbuf from interface struct, make cbw and csw as normal variable. Also reformat code 2024-11-22 11:22:41 +07:00
hathach
85e54b0fc3
use TUD_EPBUF_DEF to declare buffer memory for midi 2024-11-21 19:36:15 +07:00
hathach
dbdc5a239c
- move freertos_hooks to board.c
- add device/midi_test_freertos example
- update bth/dfu/midi device for cache line size
2024-11-21 17:49:38 +07:00
hathach
fa523a5682
make sure usb buffer occupies whole cache line when DCACHE is enabled for msc,cdc,hid
HIL enable device DMA for p4
2024-11-21 10:22:09 +07:00
Ha Thach
fee5ee6f0a
Merge pull request #2866 from HiFiPhile/uac_fix
Fix 2 UAC issue
2024-11-18 13:02:23 +07:00
HiFiPhile
cdc98e12c1 Improve EP IN flow control.
Signed-off-by: HiFiPhile <admin@hifiphile.com>
2024-11-02 17:09:51 +01:00
HiFiPhile
ed8d2c9594 Fix align issue of _audiod_fct.alt_setting.
Signed-off-by: HiFiPhile <admin@hifiphile.com>
2024-11-02 17:07:44 +01:00
HiFiPhile
038be21e4d
Merge pull request #2713 from rgrr/ncm-fix-in-tud_network_recv_renew
NCM: avoid recursions in tud_network_recv_renew()
2024-11-01 22:22:31 +01:00
Bollen Nico
5d74fb43b3
Extend callback information 2024-10-29 20:41:13 +01:00
Phil Schatzmann
970a03e398
Merge branch 'hathach:master' into rp2040-iso 2024-10-16 03:52:46 +02:00
pschatzmann
87a35c5734 RP2040 Compile Errors 2024-10-15 23:38:16 +02:00
pschatzmann
1b17bc04f9 RP2040 New ISO API 2024-10-15 23:09:05 +02:00
hathach
1f18be93db
change the tusb_rhport_init_t struct, exclude the rhport to make API more consistent 2024-10-14 18:27:52 +07:00
Ha Thach
65242fd11f
Merge pull request #2720 from YixingShen/master
fixed video_device.c _find_desc_format
2024-10-07 11:12:53 +07:00
HiFiPhile
53989a99f6
Fix vendor class reset. 2024-10-01 00:03:01 +07:00
Ha Thach
4b107a2b9e
Merge pull request #2450 from HiFiPhile/vendor_fifo
Allow vendor class to be used without FIFO.
2024-09-11 10:10:06 +07:00
hathach
3ab63fbc65
remove vendor ep_addr, use stream api instead 2024-09-10 18:27:22 +07:00
hathach
bbeae09259
update vendor device to use edpt stream which also support non-buffereed (no fifo) mode 2024-09-10 17:45:03 +07:00
hathach
cc816dc9c0
change edpt stream api to take hwid from API to reduce memory footprint 2024-09-10 17:41:20 +07:00
hathach
867f17acea
change vendor device to use edpt stream API 2024-09-10 10:44:22 +07:00
Donatien Garnier
cef4c466b3 Bluetooth Device: Issue ZLP on ACL IN ep when transfer is multiple of endpoint max packet size 2024-08-30 07:53:49 +00:00
Mengsk
cefee1a743 Merge remote-tracking branch 'tinyusb/master' into vendor_fifo 2024-08-27 12:13:29 +02:00
Hjalmar
b786d6f4e6 Marked the keycode parameter of the keyboard_report functions as const since the functions don't modifies the value 2024-08-09 21:08:32 +02:00
HiFiPhile
95cb319bde
Merge branch 'master' into vendor_fifo 2024-08-02 11:52:35 +02:00
HiFiPhile
4a48544aeb audiod_function_t clean up. 2024-07-28 12:04:25 +02:00
HiFiPhile
f48a4567a6 Merge branch 'master' of https://github.com/hathach/tinyusb into rx_fb 2024-07-28 11:59:52 +02:00
Ha Thach
e9f9d43d67
Merge pull request #2723 from liamfraser/rp2040_tweaks
RP2040 tweaks
2024-07-19 21:33:50 +07:00
hathach
6fb6602a09
- add tud_cdc_n_ready() though not used
- usbd now change _usbd_dev.cfg_num before calling driver's open()
2024-07-19 18:08:04 +07:00
hathach
be18af8235
revert changes to usbds configuration_reset() (deal with it in separated PR) 2024-07-19 17:10:53 +07:00
HiFiPhile
60b3d14d19
Check tud ready check for OUT xfer. 2024-07-19 17:02:53 +07:00
HiFiPhile
ffe1d0664b UAC2: Fix memclr on driver reset. 2024-07-18 20:02:57 +02:00
graham sanderson
31a979a6cc fix some clang compiler warnings 2024-07-18 11:11:06 +01:00