summaryrefslogtreecommitdiff
path: root/src/device/usbd.c
AgeCommit message (Collapse)Author
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
2020-09-14cdc device: claim endpoint before checking fifo availabilityhathach
- add pre-check to reduce mutex lock in usbd_edpt_claim
2020-09-11clean uphathach
2020-09-09update cdc edpt readhathach
2020-09-09introduce optional usbd_edpt_claim, usbd_edpt_release which can be used to ↵hathach
gain exclusive access to usbd_edpt_xfer
2020-08-16Merge remote-tracking branch 'upstream/master' into uac2Reinhard Panhuber
Conflicts: src/device/usbd.c src/device/usbd.h src/portable/st/synopsys/dcd_synopsys.c
2020-08-07allow application driver to overwrite built-in onehathach
- position application driver before built-in - remove dcd.h from public include.
2020-08-07Merge branch 'master' into add-app-driverhathach
2020-08-01enable pull-up in dcd_init() instead of usbdhathach
2020-07-27Implement dynamic reallocation of RX and TX fifos for EP0.Reinhard Panhuber
Tested with EP0 size 8/16/32/64.
2020-07-25Merge remote-tracking branch 'upstream/master' into uac2Reinhard Panhuber
2020-07-21Merge pull request #466 from chang196700/feature/string_desc_msosHa Thach
Remove 0xEE index string if statement & change TU_ASSERT to TU_VERIFY
2020-07-19Remove 0xEE index string if statement & change TU_ASSERT to TU_VERIFYChang Feng
Signed-off-by: Chang Feng <[email protected]>
2020-07-16add tud_speed_get()hathach
- 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-06-30Merge branch 'master' into add-stm-hshathach
2020-06-20Merge branch 'master' into uac2Reinhard Panhuber
Conflicts: src/device/usbd.c
2020-06-20Get update from tinyusb.Reinhard Panhuber
2020-06-17Fix IAR warnings.Mengsk
Pa039 : use of address of unaligned structure member. Pe188: enumerated type mixed with another type.
2020-06-14Fix wrong comment for IAD checks.Reinhard Panhuber
2020-06-14improve usbd log for control transferhathach
2020-06-14Fix alignment.Reinhard Panhuber
2020-06-14Fix alignment.Reinhard Panhuber
2020-06-14Fix alignment.Reinhard Panhuber
2020-06-14Merge branch 'fix-too-strict-iad-checks' into uac2Reinhard Panhuber
Conflicts: src/device/usbd.c
2020-06-13Fix too strict checks on subclass and interface of iad descriptor.Reinhard Panhuber
2020-06-13Fix mic audio descriptor, fix too strict check on IAD desc. in usbd.cReinhard Panhuber
2020-06-11Merge branch 'master' into uac2Reinhard Panhuber
2020-06-01adding speed detect on bus resethathach
2020-05-31fixed EP0 size to 64 since LS is not supported in device modehathach
- set turn-around and report actual speed in Enum Done - add dcd_event_bus_reset() helper to report speed
2020-05-31Merge pull request #413 from kasjer/kasjer/ble-over-usbHa Thach
Bluetooth HCI transport over USB
2020-05-28add get device qualifier descriptorhathach
2020-05-28Add bt hci device classJerzy Kasenberg
Code implements USB transport for bluetooth HCI.
2020-05-28Add non standard request handling in classJerzy Kasenberg
For some reason bluetooth stack implementations send class requests to device instead of interface. To implement HCI interface over USB non device addressed requests for class need to be handled.
2020-05-27changing usbd driver open() return type, add max_lenhathach
only done with cdc and msc, push this interim for feedback first
2020-05-27try to get synopsys work with OTG HS + external PHYhathach
2020-05-22Add basic UAC2 structure - untestedReinhard Panhuber
2020-05-20added tud_task_event_ready()hathach
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-04-29remove the use of TU_VERIFY_HDLRhathach
2020-04-29support class drivers implemented by applicationhathach
2020-04-29Merge pull request #383 from kasjer/kasjer/fox-busy-flag-race-conditionHa Thach
Fix endpoint busy flag race condition
2020-04-27Fix endpoint busy flag race conditionJerzy Kasenberg
Busy flag was set to true after call to dcd_edpt_xfer(). In some cased it was possible that transfer finished before function ended. In this case busy flag could be set to false before it was set to true. Then setting it to true after dcd_edpt_xfer() made edpoint busy forever. This change marks endpoint as busy before transfer is started to avoid race condition.
2020-04-26clean up log messagehathach
2020-04-26add usbd edpt openhathach
- RTT mode is blocking to prevent log lost - Improve logging message
2020-04-21sof is optional, revert other changes but remove unneeded check.Nathan Conrad
2020-04-20tu_verify for getting descriptorsNathan Conrad
2020-04-17Merge branch 'master' into remove-dcd-set-confighathach