summaryrefslogtreecommitdiff
path: root/src/device/usbd.c
AgeCommit message (Collapse)Author
2019-10-31Merge pull request #206 from hathach/develophathach
Added a couple of unit testing with Ceedling/Cmock/Unity
2019-10-30rename usbd_init() to tud_init()hathach
2019-10-30move dcd event helper to be dcd.h as inline functionhathach
2019-10-28Merge pull request #202 from smunaut/dfu-rthathach
Add support for DFU Runtime class for devices
2019-10-28Add support for DFU Runtime class for devicesSylvain Munaut
This is really just a few descriptors and then answering to the request from the host to reboot into DFU mode. That latter part is delegated to the app since this is platform specific. Signed-off-by: Sylvain Munaut <[email protected]>
2019-10-24adding more loghathach
2019-10-23adding debug log functionhathach
2019-10-012nd attempt to fix #161hathach
2019-10-01fix #161 added volatile for ep_busy_map/ep_stall_maphathach
2019-09-21Merge branch 'clear_feature_ordering' into usbtmcNathan Conrad
2019-09-21Changing the bitwise to a logical OR created a huge hard to find bug. It ↵Nathan Conrad
shortcutted the call to the class function, so, lets use shortcutting anyway?
2019-09-21logical or.Nathan Conrad
2019-09-21Correct wording of comment on handling EP requests.Nathan Conrad
2019-09-21When unstalling, EP must be marked as not busy. Also, mark EP as busy when ↵Nathan Conrad
stalling as xfer requests should fail.
2019-09-21Make type casting explicitNathan Conrad
2019-09-21Calling EP open with bad parameters should be considered a bug.Nathan Conrad
2019-09-21Reorder handling of EP control requests,Nathan Conrad
2019-09-19Rename functions to include tud_ and _cbNathan Conrad
2019-09-19Move descriptors to usbd.hNathan Conrad
2019-09-17Merge branch 'master' into usbtmcNathan Conrad
2019-09-16follow up to suggestion to pr 155hathach
2019-09-14Add usbtmc class driver.Nathan Conrad
2019-09-13fix #154 forward all endpoint recipeint request to class driverhathach
fix typo remove magic number 0xff of driver id
2019-09-13fix #152, potential memory issuehathach
2019-09-13fix #139, correct usbd request intepreting, Non-STD request to Interface ↵hathach
must be forward to class driver
2019-07-26fix stall response with SET_INTERFACE/GET_INTERFACEhathach
webusb work with linux & macos
2019-07-26webusb work great with linuxhathach
2019-07-24update vendor device similar to cdc read/writehathach
maybe refactor later
2019-07-24rename tud_control_vendor_request_cb/complete_cb to ↵hathach
tud_vendor_control_request_cb/complete_cb
2019-07-19more house keepinghathach
2019-07-19house keepinghathach
2019-07-19rename CFG_TUD_CUSTOM_CLASS to CFG_TUD_VENDORhathach
2019-07-16add tud_control_vendor_request_cb()/tud_control_vendor_complete_cb(), expose ↵hathach
usbd control transfer rename usbd_control_transfer/status to tud_control_transfer/status
2019-07-12clean up, rename internal driver control_request_complete to simply ↵hathach
control_complete
2019-07-12change TUD_HID_INOUT_DESCRIPTOR epout & epin orderhathach
clean up, adding template for BOS & BOS platform descriptor
2019-07-12added tud_descriptor_bos_cb(), add support for BOS get descriptorhathach
2019-06-10fix build error with midi, use usbd_edpt_xfer/busy for midi to replace dcd_*hathach
2019-06-06add TU_ prefix to compiler ATTR to prevent name conflict with applicationhathach
2019-05-29added usbd_edpt_xfer/usbd_edpt_busy to replace dcd_edpt_transfer/dcd_edpt_busy()hathach
- improve fifo write/read_n with only one lock - use usbd_edpt_xfer/usbd_edpt_busy for hid/cdc/msc class driver - replace cdc read's pending_read_from_host by usbd_edpt_busy()
2019-05-15lpc1769 work with makefilehathach
2019-05-14more clean up use inline bit funciton instead of macroshathach
2019-05-14update license year to 2019hathach
2019-05-12add index to tud_descriptor_configuration_cb()hathach
2019-05-12change tud_descriptor_string_cb() to be consistent with other descriptor ↵hathach
callback
2019-05-12add tud_hid_descriptor_report_cb()hathach
- remove tud_desc_set.hid_report - remove tud_desc_set_t
2019-05-11add tud_descriptor_string_cb() for getting string descriptor from applicationhathach
- remove tud_desc_set.string_arr/string_count
2019-05-09fix clear stall usage, fix reset data toggle with dcd_clear_stall for nrf52hathach
2019-05-01adding optional ep out for hidhathach
refactor usbd_open_edpt_pair
2019-04-18remove auto descriptor and its option CFG_TUD_DESC_AUTOhathach
2019-04-11remove auto device descriptorhathach
Application should declare its own device descriptor