summaryrefslogtreecommitdiff
path: root/src/device/usbd.c
AgeCommit message (Collapse)Author
2021-05-26rename usbd_edpt_iso_xfer to usbd_edpt_xfer_fifohathach
2021-05-25Merge remote-tracking branch 'official/master'Jeremiah McCarthy
2021-05-18clean uphathach
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-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-03-26Add DFU Class per Version 1.1 SpecJeremiah McCarthy
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-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-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-01-31Rework audio driverReinhard Panhuber
2021-01-19Adjust #include "dcd.h" to "device/dcd.h", the same for usbd.h in usbd.cReinhard Panhuber
2021-01-19Change names from edpt_ISO_xfer to edpt_iso_xferReinhard Panhuber
2021-01-18Add usbd_edpt_ISO_xfer()Reinhard Panhuber
2021-01-09Merge remote-tracking branch 'upstream/master' into edpt_ISO_xferReinhard Panhuber
2021-01-08use dcd_event_bus_reset() with speed to replace bus_signalhathach
2021-01-04Start changes - not yet finishedReinhard Panhuber
2020-12-22Fix more warnings.HiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2020-11-24add tud_connected()hathach
which return true as long as we receive the very first SETUP packet from host.
2020-11-20migrate audio device to new control xfer cbhathach
2020-11-20migrate net device to new control xfer cbhathach
2020-11-20migrate bth device to new control xfer cbhathach
2020-11-20migrate vendor device to new control xfer cbhathach
2020-11-20migrate dfu runtime device to new control xfer cbhathach
2020-11-20migrate usbtmc device to new control xfer cbhathach
2020-11-20clean uphathach
2020-11-20migrate midi device to new control xfer cbhathach
2020-11-19migrate hid device to new control xfer cbhathach
2020-11-19migrate cdc_device to new control_xfer_cbhathach
2020-11-19merge class driver control_request & control_complete to control_xfer_cb()hathach
migrated msc_device
2020-10-09Revert dcd_alloc_mem_for_conf() but keep changes from @kasjer for ISO EPReinhard Panhuber
Add tud_audio_set_itf_close_EP_cb()
2020-10-06Merge branch 'uac2' of https://github.com/PanRe/tinyusb into PanRe-uac2hathach
2020-10-01device: Make number of endpoints configurableJerzy Kasenberg
Currently number of endpoints was hard coded to 8. NRF52 has 9 IN and 9 OUT endpoints. ISO endpoints are 0x08 and 0x88 and without this change those two ISO endpoint could not be used.
2020-09-28Merge remote-tracking branch 'upstream/master' into uac2Reinhard Panhuber
2020-09-14more consthathach