941b02c6a9
Reactor to one functional descriptor.
2021-07-07 18:02:04 +02:00
c2d8ed3fd1
Add alt settings support in DFU class.
2021-07-05 17:56:21 +02:00
ca98996e1f
better support for hid device set/get protocol
...
add caplock detection for hid_composite
2021-07-01 22:46:39 +07:00
832d22d7ad
force single buffered for device mode, out endpoint
2021-06-17 01:55:35 +07:00
c7f51cde40
implement usbh_edpt_busy (WIP), remove hcd_edpt_busy
2021-06-10 17:19:21 +07:00
13cb016042
add usbh_classdriver.h
2021-06-10 16:48:20 +07:00
9736e54734
include clean up
2021-05-27 17:40:39 +07:00
c7cecf28c8
clean up
2021-05-27 00:16:45 +07:00
faa31152b4
rename usbd_edpt_iso_xfer to usbd_edpt_xfer_fifo
2021-05-26 20:34:06 +07:00
ce59d69520
Merge remote-tracking branch 'official/master'
2021-05-25 09:27:35 -04:00
4f03332118
clean up
2021-05-23 20:14:01 +07:00
40cd3a7e20
Merge branch 'master' into host-hid
2021-05-18 13:08:30 +07:00
db8ea7ea1c
clean up
2021-05-18 12:58:24 +07:00
791efecfdf
add tuh_device_ready()
2021-05-18 12:58:24 +07:00
3a7f8b3ac3
separte tusb_init/inited() to tud/tuh init/inited
...
add rhport to tud_init()
2021-05-18 12:58:24 +07:00
2666e1efec
add tuh_inited() and tud_inited()
2021-05-18 12:58:24 +07:00
05892a5a1e
Merge branch 'master' of github.com:xmos-jmccarthy/tinyusb
2021-05-06 12:18:55 -04:00
b15d126d59
lpc55 improve multiple controller support
...
port1 highspeed requires USB_RAM
2021-04-24 13:36:05 +07:00
45e401e69d
Remove unused alt_setting
2021-04-22 16:42:54 -04:00
9ecb91e1bd
fix build with LOG=2
2021-04-15 23:47:28 +07:00
7b45b38fe4
Remove DFU mode and rt
2021-04-12 11:17:01 -04:00
2e2dc7bdc5
Revise per initial comments
...
Returns the RT driver to the function state of previous iteration, which
did not support the will_detach. Behavior should be fine without this
feature. This removes much of the added bloat to track state, and
handle requests in the APP_DETACH state which is no longer required.
Removes the optional bloat added to the RT driver, such as responding to
GETSTATE requests.
Fixes the DFU Mode to extract the attr bits from the functional
descriptor when opened.
Fixes some incorrect bitwise if checks.
Also, updates some naming of functions to be consistent with the rest of
the library.
2021-04-07 17:05:04 -04:00
c39b7b8177
Add DFU runtime and mode "class"
...
With the runtime and mode portions in separate classes, a single
application should only be building with one or the other enabled. In
some applications both might be desired at build time.
The CFG_TUD_DFU_RUNTIME_AND_MODE option creates a DFU class, which asks
the application which mode to initialize to. This allows a runtime
change between RT and DFU mode, by just reinitializing tusb.
2021-04-05 17:52:33 -04:00
bc2cb99780
Remove unreachable callback
2021-04-05 17:06:27 -04:00
c5b8ef1529
Separate DFU RT and Mode. Untested
2021-04-05 16:32:58 -04:00
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
1138f8cc70
Add DFU Class per Version 1.1 Spec
2021-03-26 15:30:43 -04:00
a397353916
fix ci build with rp2040
2021-03-10 17:58:39 +07:00
794083b647
Merge branch 'master' into edpt_ISO_xfer
2021-03-10 17:10:49 +07:00
eeea19c0ab
usbd ack SET_INTERFACE if it is not implemented by class driver.
2021-03-10 11:33:03 +07:00
a655a4169e
add note for MIDI (audio v1.0) endpoint decriptor use 9 bytes instead of 7
2021-03-04 01:18:49 +07:00
68db108b35
Merge pull request #688 from duddie/master
...
Fix Endpoint descriptor size for MIDI Device
2021-03-04 01:10:37 +07:00
7b8a08d2e1
Rename dcd_edpt_iso_xfer() to dcd_edpt_xfer_fifo()
2021-03-02 20:00:39 +01:00
9d5e369170
rp2040 add disconnection detection
...
- also use dcd_event_bus_reset()
- Add TODO for suspend, resume later on (need to test with/without vbus
detection).
2021-03-02 23:24:36 +07:00
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
cdf600048f
Merge remote-tracking branch 'upstream/master' into edpt_ISO_xfer
2021-02-12 18:05:20 +01:00
04ab6b4082
Merge pull request #648 from hathach/rename-dfu-rt-to-runtime
...
Rename dfu rt to runtime
2021-02-11 15:29:55 +07:00
d4281291e5
Merge pull request #647 from hathach/correct-fs-bulk-epsize
...
more epsize checking per type
2021-02-11 12:36:19 +07:00
e12c25ec2c
rename dfu_rt to dfu_runtime for easy reading
...
also rename tud_dfu_rt_reboot_to_dfu to tud_dfu_runtime_reboot_to_dfu_cb
2021-02-11 12:05:22 +07:00
9812cfc6c6
clean up
2021-02-11 11:48:34 +07:00
919bb9ce38
more epsize checking per type
2021-02-11 11:45:24 +07:00
49bc97b0ca
remove the requirement of std SET/CLEAR_FEATURE must not return zlp status
2021-02-11 11:22:02 +07:00
bb2f93d427
prepare for release
2021-02-05 20:41:41 +07:00
84406f1654
Rework audio driver
2021-01-31 19:08:23 +01:00
93ec6f3735
Adjust #include "dcd.h" to "device/dcd.h", the same for usbd.h in usbd.c
2021-01-19 17:10:08 +01:00
56edc2b261
Change names from edpt_ISO_xfer to edpt_iso_xfer
2021-01-19 10:50:19 +01:00
2284db1fb5
Add usbd_edpt_ISO_xfer()
2021-01-18 17:14:17 +01:00
84c383061f
Add tusb_fifo.h header file to dcd.h
2021-01-18 17:08:59 +01:00
485d8fa77e
Merge remote-tracking branch 'upstream/master' into edpt_ISO_xfer
2021-01-09 12:10:08 +01:00
6e6e6265e4
use dcd_event_bus_reset() with speed to replace bus_signal
2021-01-08 22:34:36 +07:00