summaryrefslogtreecommitdiff
path: root/src/device
AgeCommit message (Collapse)Author
2021-07-04Fix audiod_get_AS_interface_index in audio class.MasterPhi
Enhance uac2_headset example with multiple sample rates. Add macro to calculate EP size.
2021-07-01better support for hid device set/get protocolhathach
add caplock detection for hid_composite
2021-06-29Merge remote-tracking branch 'origin/master' into CCRX_PortWini-Buh
# Conflicts: # src/portable/renesas/usba/dcd_usba.c # src/tusb_option.h
2021-06-24fix warningMengsk
2021-06-22final clean upWini-Buh
2021-06-17force single buffered for device mode, out endpointhathach
2021-06-11clean upWini-Buh
2021-06-11weak atrribute work around removed from CCRX_PortWini-Buh
2021-06-10implement usbh_edpt_busy (WIP), remove hcd_edpt_busyhathach
2021-06-10add usbh_classdriver.hhathach
2021-06-03Merge remote-tracking branch 'upstream/master' into CCRX_PortWini-Buh
2021-05-29Adaptations for Renesas CCRX toolchain and Rx72N controller performedWini-Buh
2021-05-27include clean uphathach
2021-05-27clean uphathach
2021-05-26rename usbd_edpt_iso_xfer to usbd_edpt_xfer_fifohathach
2021-05-25Merge remote-tracking branch 'official/master'Jeremiah McCarthy
2021-05-23clean uphathach
2021-05-18Merge branch 'master' into host-hidhathach
2021-05-18clean uphathach
2021-05-18add tuh_device_ready()hathach
2021-05-18separte tusb_init/inited() to tud/tuh init/initedhathach
add rhport to tud_init()
2021-05-18add tuh_inited() and tud_inited()hathach
2021-05-06Merge branch 'master' of github.com:xmos-jmccarthy/tinyusbJeremiah McCarthy
2021-04-24lpc55 improve multiple controller supporthathach
port1 highspeed requires USB_RAM
2021-04-22Remove unused alt_settingJeremiah McCarthy
2021-04-15fix build with LOG=2hathach
2021-04-12Remove DFU mode and rtJeremiah McCarthy
2021-04-07Revise per initial commentsJeremiah McCarthy
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-05Add DFU runtime and mode "class"Jeremiah McCarthy
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-05Remove unreachable callbackJeremiah McCarthy
2021-04-05Separate DFU RT and Mode. UntestedJeremiah McCarthy
2021-04-03Generalize audio driver for 3 audio functions plus a lot more.Reinhard Panhuber
- 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-03-26Add DFU Class per Version 1.1 SpecJeremiah McCarthy
2021-03-10fix ci build with rp2040hathach
2021-03-10Merge branch 'master' into edpt_ISO_xferhathach
2021-03-10usbd ack SET_INTERFACE if it is not implemented by class driver.hathach
2021-03-04add note for MIDI (audio v1.0) endpoint decriptor use 9 bytes instead of 7hathach
2021-03-04Merge pull request #688 from duddie/masterHa Thach
Fix Endpoint descriptor size for MIDI Device
2021-03-02Rename dcd_edpt_iso_xfer() to dcd_edpt_xfer_fifo()Reinhard Panhuber
2021-03-02rp2040 add disconnection detectionhathach
- also use dcd_event_bus_reset() - Add TODO for suspend, resume later on (need to test with/without vbus detection).
2021-02-28Fix Endpoint descriptor for MIDI DeviceDuddie
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-12Merge remote-tracking branch 'upstream/master' into edpt_ISO_xferReinhard Panhuber
2021-02-11Merge pull request #648 from hathach/rename-dfu-rt-to-runtimeHa Thach
Rename dfu rt to runtime
2021-02-11Merge pull request #647 from hathach/correct-fs-bulk-epsizeHa Thach
more epsize checking per type
2021-02-11rename dfu_rt to dfu_runtime for easy readinghathach
also rename tud_dfu_rt_reboot_to_dfu to tud_dfu_runtime_reboot_to_dfu_cb
2021-02-11clean uphathach
2021-02-11more epsize checking per typehathach
2021-02-11remove the requirement of std SET/CLEAR_FEATURE must not return zlp statushathach
2021-02-05prepare for releasehathach
2021-01-31Rework audio driverReinhard Panhuber