HiFiPhile
b194aa240b
Merge branch 'master' into dcd_same70
2021-07-17 12:10:35 +02:00
MasterPhi
6e9da70c18
Fix audiod_get_AS_interface_index in audio class.
...
Enhance uac2_headset example with multiple sample rates.
Add macro to calculate EP size.
2021-07-04 15:46:10 +02:00
Mengsk
b9e9773d04
fix warning
2021-06-24 12:58:18 +02:00
hathach
c7cecf28c8
clean up
2021-05-27 00:16:45 +07:00
Jeremiah McCarthy
ce59d69520
Merge remote-tracking branch 'official/master'
2021-05-25 09:27:35 -04:00
hathach
791efecfdf
add tuh_device_ready()
2021-05-18 12:58:24 +07:00
hathach
3a7f8b3ac3
separte tusb_init/inited() to tud/tuh init/inited
...
add rhport to tud_init()
2021-05-18 12:58:24 +07:00
hathach
2666e1efec
add tuh_inited() and tud_inited()
2021-05-18 12:58:24 +07:00
Jeremiah McCarthy
05892a5a1e
Merge branch 'master' of github.com:xmos-jmccarthy/tinyusb
2021-05-06 12:18:55 -04:00
Jeremiah McCarthy
45e401e69d
Remove unused alt_setting
2021-04-22 16:42:54 -04:00
Reinhard Panhuber
9b2ddd9cc6
Generalize audio driver for 3 audio functions plus a lot more.
...
- Audio format and parameters are parsed from descriptors thus user no
longer needs to give them explicitely
- Tested for 4 channel software type I PCM encoding with 16 bit with 1
channel per FIFO and 2 channels per FIFO (this is I2S specific)
2021-04-03 09:49:27 +02:00
Jeremiah McCarthy
1138f8cc70
Add DFU Class per Version 1.1 Spec
2021-03-26 15:30:43 -04:00
hathach
a655a4169e
add note for MIDI (audio v1.0) endpoint decriptor use 9 bytes instead of 7
2021-03-04 01:18:49 +07:00
Duddie
72c1066ed1
Fix Endpoint descriptor for MIDI Device
...
Endpoint descriptor should be 9 bytes in length (not 7) and have two extra bytes at the end: bRefresh and bSynchAddress
According to MIDI USB specification 1.0 (6.2.1 Standard MS Bulk Data Endpoint Descriptor)
2021-02-28 22:18:35 +08:00
hathach
bb2f93d427
prepare for release
2021-02-05 20:41:41 +07:00
hathach
148eea1417
add tud_connected()
...
which return true as long as we receive the very first SETUP packet from
host.
2020-11-24 21:49:12 +07:00
hathach
61ad7bef71
migrate vendor device to new control xfer cb
2020-11-20 15:50:11 +07:00
hathach
3c31d08051
merge class driver control_request & control_complete to control_xfer_cb()
...
migrated msc_device
2020-11-19 21:01:33 +07:00
Ha Thach
a708ab6254
Merge pull request #553 from hathach/host-async-control
...
Host async control
2020-11-07 10:52:14 +07:00
Jacob Potter
3ea8138750
Rename CDC_COMM_SUBCLASS_ETHERNET_NETWORKING_CONTROL_MODEL
...
This was a confusing name; "Ethernet control model" (CDC ECM)
and "network control model" (CDC NCM) are two separate USB subclasses.
2020-10-31 10:57:53 -06:00
Jerzy Kasenberg
8669fd7383
audio: Add two channel feature unit descriptor
...
Feature unit descriptor size depends on number of channels.
So far only single channel feature unit was present.
This change adds feature unit descriptor for two channels.
2020-10-15 15:37:40 +02:00
hathach
b5d4c8185d
Merge branch 'master' into host-async-control
2020-10-11 16:22:12 +07:00
hathach
74a1404bea
tab -> spaces
2020-10-07 13:36:27 +07:00
Reinhard Panhuber
603ce17696
Change AUDIO_CS_INTERFACE_HEADER to AUDIO_CS_AC_INTERFACE_HEADER
2020-10-01 17:49:30 +02:00
Reinhard Panhuber
13a9cbde79
Change AUDIO_FUNC_PROTOCOL_CODE_UNDEF for midi in usbd.h
2020-09-29 23:30:35 +02:00
Jerzy Kasenberg
f55437d889
audio: Add descriptor for mono speaker
...
This provides descriptor for mono speaker with
explicit feedback.
2020-09-28 08:41:17 +02:00
Jerzy Kasenberg
2ace98e943
audio_device: Update explicit feedback support
...
Feedback can be specified by the user code and will be
sent at feedback endpoint specified interval.
2020-09-28 08:41:17 +02:00
hathach
4d57b4ea33
clean up
2020-09-05 13:57:07 +07:00
Reinhard Panhuber
6309364722
Merge remote-tracking branch 'upstream/master' into uac2
...
Conflicts:
src/device/usbd.c
src/device/usbd.h
src/portable/st/synopsys/dcd_synopsys.c
2020-08-16 14:08:24 +02:00
hathach
01b9b77d3b
allow application driver to overwrite built-in one
...
- position application driver before built-in
- remove dcd.h from public include.
2020-08-07 14:47:32 +07:00
Reinhard Panhuber
e047fbe8fb
Merge remote-tracking branch 'upstream/master' into uac2
2020-07-25 14:26:24 +02:00
hathach
503c15217e
example to call tud_init() after freeRTOS kernel is started
...
add note for usb init when using with RTOS
2020-07-23 09:20:45 +07:00
Reinhard Panhuber
d0f3d03933
Intermediate commit.
2020-07-17 08:40:10 +02:00
hathach
706413f751
add tud_speed_get()
...
- define both fs and hs configuration descriptor
- rename CFG_TUD_CDC_EPSIZE to CFG_TUD_CDC_EP_BUFSIZE with default size of 64 for FS, and 512 for HS
2020-07-16 00:44:09 +07:00
Reinhard Panhuber
4362665fb3
Fix mic audio descriptor, fix too strict check on IAD desc. in usbd.c
2020-06-13 12:36:05 +02:00
Reinhard Panhuber
d2f1bb58b3
Merge branch 'master' into uac2
2020-06-11 14:35:44 +02:00
Ha Thach
5efeaf2ac1
Merge pull request #413 from kasjer/kasjer/ble-over-usb
...
Bluetooth HCI transport over USB
2020-05-31 15:07:56 +07:00
hathach
d6d29897f3
add get device qualifier descriptor
2020-05-28 23:16:16 +07:00
Jerzy Kasenberg
56d46483e4
Add bt hci device class
...
Code implements USB transport for bluetooth HCI.
2020-05-28 10:58:49 +02:00
Reinhard Panhuber
9be2f1bf3d
Add basic UAC2 structure - untested
2020-05-22 12:09:34 +02:00
hathach
88a455a9b9
added tud_task_event_ready()
...
to check if there is pending events in the tud task without executing
it. Useful to check before entering low power mode with WFI/WFE
2020-05-20 14:31:45 +07:00
hathach
bbcf9241bd
add back MIDI multiple jack
2020-04-20 23:46:17 +07:00
hathach
50be9d7c3a
mass rename tud/dcd_irq_handler to tud/dcd_init_handler
2020-04-17 12:27:53 +07:00
hathach
0b39168dc2
add IAD for CDC ECM, remove EEM descriptor template
2020-04-15 15:40:53 +07:00
hathach
b03b9eb939
change cdc template protocol to None
2020-04-15 15:14:26 +07:00
hathach
593fe154ec
adding subclass & protocol to class driver structure
2020-04-14 18:00:59 +07:00
Ha Thach
57ffa94a52
Merge pull request #334 from majbthrd/usbnet_osagnostic
...
usbnet: OS-agnostic (Windows/Linux/macOS) network driver
2020-04-14 17:39:50 +07:00
Peter Lawrence
bb3bbcc00b
usbnet: OS-agnostic (Windows/Linux/macOS) network driver
2020-04-12 15:41:18 -05:00
Ha Thach
04a06ec401
Merge branch 'master' into refactor-irqhandler
2020-04-11 15:49:34 +07:00
hathach
11201f1a06
adding dcd_connect/disconnect
2020-04-09 11:42:42 +07:00