summaryrefslogtreecommitdiff
path: root/src/device/usbd.c
AgeCommit message (Collapse)Author
2019-11-27extract code to invoke_class_control()hathach
- also rename usbd_class_drivers to _usbd_driver
2019-11-05Merge pull request #149 from pigrew/ZLP_Request2hathach
Zlp request2
2019-11-04Change one more TU_ASSERT to TU_VERIFY in usbd.Nathan Conrad
2019-11-04fix #211hathach
2019-11-04usbd: Change TU_ASSERT to TU_VERIFY as the assertion can be hit when bad ↵Nathan Conrad
data is sent from host.
2019-11-03add a bit of log1 for debugginghathach
2019-10-31zlp should work with control in, tested with Unity frameworkhathach
2019-10-31add more tests, fix an issue with tud_descriptor_configuration_cb() return NULLhathach
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