hathach
daffb24111
minor clean up
2024-05-24 14:13:58 +07:00
HiFiPhile
c8beaad2b1
Switch to weak default implementation.
2024-05-09 18:07:22 +02:00
HiFiPhile
6c286e3b02
Merge branch 'master' into patch-5
2024-05-09 18:00:52 +02:00
Trevor
35e7fddc73
Add missing capability bit for CDC ACM serial break support
...
The send break capability bit is needed for serial break support with Linux and possibly MacOS hosts. [A recent Linux kernel patch made it check the ACM capability bits before sending a serial break](19e321c3ee ).
2024-04-30 16:53:25 +01:00
hathach
c3c0648456
add class driver deinit
2024-04-08 22:07:56 +07:00
Felix "xq" Queißner
47c12a07f2
Implements tuh_deinit() and tud_deinit() to uninitialize host/device mode.
2024-04-08 19:00:35 +07:00
HiFiPhile
05f9cab191
UAC2: refactor interrupt endpoint support.
2024-04-01 20:02:35 +02:00
henneboi
f9c85ae47b
IAR Warning: Fixed due to an boolean operation between enum (Pa089)
...
Warning[Pa089]: enumerated type mixed with another enumerated type ...tusb_uac2_audio.c 199
This issue stops the build if we treat warning as error
2024-03-14 09:13:12 +01:00
hathach
290f4bea91
- change tuh_event_hook_cb, tud_event_hook_cb to weak default implementation
...
- change code style
2024-01-12 15:47:08 +07:00
Ha Thach
02017a81e9
Merge pull request #2303 from projectgus/feature/isr_event_hook
...
Add optional hooks for DCD and HCD events
2023-11-24 18:39:29 +07:00
hathach
188fbd8ed9
add optional event hook callback tud_event_hook_cb() and tuh_event_hook_cb()
2023-11-24 18:21:24 +07:00
hathach
6e5c7f4390
rename to CFG_TUD_BTH_HISTORICAL_COMPATIBLE, move CFG_TUD_BTH_ISO_ALT_COUNT to tusb_option.h and mandatory for BTH driver
2023-11-24 16:08:48 +07:00
HiFiPhile
2d802e03e9
Update audio_4_channel_mic example for HS device.
2023-10-24 22:14:24 +02:00
Rocky04
337d03d368
Incorrect comment
2023-09-14 19:16:45 +00:00
Rocky04
997c29ba05
SOF ISR control
2023-09-14 18:46:56 +00:00
hathach
9257a0f562
- update nrf52 bsp for cmake
...
- add empty tuh_int_handler/tud_int_handler if corresponidng stack not enabled
- add hcd_template.c
2023-08-18 12:48:12 +07:00
Rocky04
a98b219922
Remove port from SOF callback
2023-08-08 18:14:00 +00:00
Rocky04
0161955c22
Adding support for a SOF callback
2023-08-08 17:48:45 +00:00
Eugene Kliuchnikov
0833806980
Fix typos
2023-06-08 15:38:30 +02:00
hathach
d919f107c7
minor clean up
2023-03-18 11:22:44 +07:00
hathach
bdfcd50b1b
Merge branch 'master' into portability
2023-03-17 23:53:38 +07:00
hathach
a05adfce86
fix midi MS Header wTotalLength computation
2022-12-14 14:38:40 +07:00
Sebastien COUDREAU
071da47944
Correct interrupt polling interval in descriptor
...
Use macro argument instead of 0x16 constant value.
At least Linux kernel was complaining about this value:
"config 1 interface 0 altsetting 0 endpoint 0x82 has an invalid bInterval 22, changing to 8"
(warning obtained using usbtmc device config)
2022-12-08 11:44:15 +01:00
Bastien Nocera
6a2cf67289
Fix typos
2022-12-04 19:43:23 +07:00
Kay Sievers
abfcdf2cfb
MIDI: support port name strings
...
This allows to set custom descriptive names for virtual MIDI
ports/cables. A MIDI port offers different functionality on
the same physical USB device. The names make it easier to
distinguish one from the other.
2022-11-11 22:48:29 +01:00
Ben Avison
6a2d01bae4
Don't assume different enum types can be combined
...
IAR generates warning Pa089 'enumerated type mixed with another enumerated
type'.
2022-09-13 18:00:51 +01:00
hathach
0042eccb3b
fix redundant-decls warnings by usbd/usbh
2022-06-24 22:52:11 +07:00
hathach
8451d05c50
revert sof_isr driver rename since it cause issue with existing code
...
also removed commented tud_sof_isr_set() API
2022-06-10 01:45:48 +07:00
Ha Thach
fdeac8508b
Merge pull request #1381 from hathach/add-sof-isr
...
Add SOF IRQ Handler
2022-05-31 22:25:14 +07:00
hathach
c5ba1ea8c1
changes proposal to audio feedback computation
2022-05-13 22:54:47 +07:00
hathach
98bbb0d402
Merge branch 'master' into pio-host
2022-04-21 12:05:22 +07:00
hathach
6a022c73db
add note for tud_task() behavior in freertos example
2022-04-20 18:35:38 +07:00
hathach
b034c18077
add tud_task_ext(), tuh_task_ext() as exteneded version that take timeout and in_isr
...
also allow exit tud_task,tuh_task after processing all events for
running other background task for user
2022-04-20 18:29:41 +07:00
hathach
a32cb1bb93
clean up pio driver
2022-04-18 17:49:21 +07:00
hathach
65b6b79e99
clean up and comment out tud_sof_isr_set
2022-03-29 16:53:45 +07:00
hathach
707a633de3
added dcd_sof_enable(), tud_sof_isr_set()
...
make number of interface configurable (default to 8)
CFG_TUD_INTERFACE_MAX
2022-03-07 23:03:51 +07:00
hathach
a8af609dfe
auto detect max rhport speed based on mcu
2022-02-25 18:35:21 +07:00
Jerzy Kasenberg
d20a5b3a09
bth: Add IAD to BT descriptor
...
Bluetooth's specification defines IAD for primary controller.
While it seems that Windows and Linux can leave without this,
there is no reason TinyUSB should not provide it.
2021-11-05 13:03:31 +01:00
hathach
a6723f556d
add ncm.h for magic number
...
mostly clean up magic number
2021-10-11 12:36:03 +07:00
hathach
431650fb7d
Merge branch 'j4cbo-ncm' into majbthrd-add_ncm
2021-10-05 16:32:37 +07:00
hathach
31cfd5a684
Merge branch 'add_ncm' of https://github.com/majbthrd/tinyusb into majbthrd-add_ncm
2021-10-05 11:39:32 +07:00
hathach
fdd1e4fbf0
more usbd clean up
2021-10-01 21:52:29 +07:00
Peter Lawrence
03d7988df3
add NCM driver in a compatible manner : hathach/tinyusb#550
2021-09-25 17:05:58 -05:00
hathach
a23944035d
correct assoc_itf_count for bth driver
2021-09-15 00:51:01 +07:00
hathach
f81368174b
add other speed descriptor callback tud_descriptor_other_speed_configuration_cb()
...
example implement tud_descriptor_device_qualifier_cb() and
tud_descriptor_other_speed_configuration_cb() on high speed device to
fully compliant to usbcv
2021-09-09 15:17:19 +07:00
Xu Chun Guang
2202845507
fix: bth stridx error
2021-08-27 10:58:38 +08:00
hathach
fa0936bf58
Merge branch 'CCRX_Port' of https://github.com/Wini-Buh/tinyusb into Wini-Buh-CCRX_Port
2021-07-22 16:48:18 +07:00
Ha Thach
1c2bc47c07
Merge pull request #950 from HiFiPhile/dfu
...
DFU improvements
2021-07-22 11:17:01 +07:00
hathach
37cac414f8
fix ci
2021-07-22 00:12:01 +07:00
hathach
a226dbaa4d
add dcd_attr for DCD_ATTR_ENDPOINT_MAX
...
could be useful with more dcd specific attribute
2021-07-22 00:12:01 +07:00