Commit Graph

1339 Commits

Author SHA1 Message Date
Hardy Griech
ea55537fb2 minor changes due to CR with HiFiPhile 2024-05-05 20:33:01 +02:00
HiFiPhile
327e3ec4bd Stall unsupported class request. 2024-04-28 21:59:54 +02:00
HiFiPhile
a29852320a Merge remote-tracking branch 'upstream/master' into pr/2227 2024-04-28 19:46:00 +02:00
HiFiPhile
1c04d5992a Merge pull request #2494 from tommie/usbtmcnotif
Add notification support for device class USBTMC
2024-04-28 12:36:41 +02:00
HiFiPhile
bd033a2d53 Fix CI. 2024-04-27 17:24:19 +02:00
HiFiPhile
fdb431b5c7 Buffer int msg to ensure alignment and placement correctness. 2024-04-27 17:12:00 +02:00
HiFiPhile
98e85a296d bulk_in: copy buffer to ensure alignment correctness. 2024-04-27 17:09:05 +02:00
HiFiPhile
02e129a38e Guard ep_fb with usbd_edpt_claim(). 2024-04-26 20:06:20 +02:00
HiFiPhile
187c379331 Add tu_static to global variables. 2024-04-26 20:06:19 +02:00
HiFiPhile
1b66c148cc UAC2: Implement feedback by fifo counting. 2024-04-26 20:06:19 +02:00
HiFiPhile
24339dbcce Code format. 2024-04-26 18:01:02 +02:00
HiFiPhile
268cc19f44 Merge remote-tracking branch 'remotes/tinyusb/master' into pr/2253 2024-04-26 17:57:53 +02:00
HiFiPhile
4af67dd007 Simplify transfer failure cb. 2024-04-26 17:45:14 +02:00
HiFiPhile
1661acf82f Add missing alignment. 2024-04-26 13:42:20 +02:00
HiFiPhile
7fb8d3341c use separate buffer for ctrl transfer. 2024-04-26 13:40:13 +02:00
HiFiPhile
9ef3755f03 Merge branch 'master' of https://github.com/hathach/tinyusb into pr/2283 2024-04-26 13:12:56 +02:00
HiFiPhile
13bde7af40 uac2: return on clear_feature. 2024-04-25 11:51:05 +07:00
hathach
c097c85dcf fix print lu format warnings with clang 2024-04-22 16:17:22 +07:00
hathach
62331f0207 fix nrfx v3 spim freq when init
fix clang build with nrf
2024-04-22 15:55:50 +07:00
Luke A
804a73a454 Adding tuh_hid_get_report(...) to hid_host.h
This allows USB host functionality to call HID_REQ_CONTROL_GET_REPORT on the IN Endpoint, and read the report buffer in the callback.
2024-04-10 15:46:57 +07:00
HiFiPhile
b0568e32a5 Fix tud_video_n_streaming check 2024-04-09 11:11:06 +02:00
HiFiPhile
adc7a78fd6 Merge branch 'master' of github.com:HiFiPhile/tinyusb into vendor_fifo 2024-04-08 21:44:14 +02:00
Ha Thach
42decf28f1 Merge pull request #1835 from MasterQ32/otg_bringup
Implements deinit functions for host/device mode switch
2024-04-08 23:48:52 +07:00
hathach
366564e952 fix missing if mutex required 2024-04-08 22:13:05 +07:00
hathach
c3c0648456 add class driver deinit 2024-04-08 22:07:56 +07:00
Ha Thach
d33fe38a62 Merge pull request #1363 from tobozo/master
HID Mouse with absolute positioning
2024-04-08 18:33:40 +07:00
HiFiPhile
e642066562 Move TUP_DCD_EDPT_ISO_ALLOC outside usbd_edpt_close() loop. 2024-04-06 19:02:50 +02:00
HiFiPhile
2e4d4e4a01 Add endpoint ISO allocation to video class. 2024-04-02 20:54:33 +02:00
HiFiPhile
db28437218 Move endpoint alloc define to tusb_mcu.h 2024-04-02 20:54:33 +02:00
HiFiPhile
7ca988018e UAC2: fix mounted condition. 2024-04-01 20:02:45 +02:00
HiFiPhile
05f9cab191 UAC2: refactor interrupt endpoint support. 2024-04-01 20:02:35 +02:00
HiFiPhile
a1f01fcbe0 Merge remote-tracking branch 'upstream/master' into pr/1702 2024-04-01 12:35:57 +02:00
HiFiPhile
9570836cec Merge branch 'master' of https://github.com/hathach/tinyusb into vendor_fifo 2024-04-01 12:20:20 +02:00
hathach
2012a0d369 fix hid close not clear data 2024-03-31 15:48:26 +07:00
HiFiPhile
cab1106416 dwc2: add endpoint allocation support. 2024-03-30 10:36:27 +07:00
hathach
98b8e960aa Merge branch 'master' into add-tuh-deinit 2024-03-25 17:46:28 +07:00
acscd
c8805c61f9 Add files via upload 2024-03-22 20:05:52 -05:00
hathach
e84c9f3e22 implement tuh_init()
change usbh driver init() return type from void to bool
2024-03-22 16:12:57 +07:00
hathach
74bd264758 adding deinit() stub for usbh/hcd class driver
add TUSB_VERSION_BUILD, also add TUSB_VERSION_NUMBER
2024-03-22 11:42:33 +07:00
hathach
ff12544c9a added dedicate buffer for probe commit payload 2024-03-20 22:45:46 +07:00
hathach
5630030a22 improve uvc debug message 2024-03-20 17:55:31 +07:00
Li Junru
5d1f6934fb fix: uvc multiple interface support
1. fix next interface may have IAD_DESC
2. fix vs_itf can't be open on bulk mode.
2024-03-18 10:20:36 +08:00
Tommie Gannert
9e674fa109 [usbtmc] cast to uintptr_t to get rid of const for usbd_edpt_xfer. 2024-03-15 15:02:13 +01:00
HiFiPhile
5c8b3d97f0 Use FIFO size as condition. 2024-03-03 20:11:20 +01:00
hathach
4f5d80d397 add tuh_hid_receive_abort() API 2024-03-01 17:40:38 +07:00
hathach
4ed02ae5f9 reformat code hid_host.c
- fix ceedling with ruby 3.1
- allow overwrite CMAKE_C_COMPILER/CMAKE_CXX_COMPILER from command line
2024-03-01 17:34:14 +07:00
Tommie Gannert
5ce7b14711 add notification support for device class USBTMC.
The ep_int_in is already used for responding to USB488
READ_STATUS_BYTE requests, but that EP is defined for all of USBTMC.
This extends the functionality to let callers send notifications and
receive ACKs.
2024-02-26 11:43:45 +01:00
Ha Thach
be5cc44f55 Merge pull request #2487 from hathach/update-cdc_msc_freertos-example
slightly change cdc_msc_freertos example
2024-02-22 20:15:56 +07:00
hathach
13d26d2166 slightly change cdc_msc_freertos example 2024-02-22 19:20:28 +07:00
Ha Thach
a2446068d3 Merge pull request #2420 from zx96/use-cfg-tud-msc-log-level
msc_device: Fix check for including MSC lookup tables
2024-02-22 18:03:51 +07:00