summaryrefslogtreecommitdiff
path: root/src/device/usbd_control.c
AgeCommit message (Collapse)Author
2021-02-11remove the requirement of std SET/CLEAR_FEATURE must not return zlp statushathach
2020-12-20Fix error if "Required Prototype" is selected.HiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
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-05-07device: fix build warning when CFG_TUSB_DEBUG >= 2Sean Cross
The function is defined inside of a function body which generates a warning. Circuit Python treats these warnings as errors, and so refuses to build with debugging enabled: ../../lib/tinyusb/src/device/usbd_control.c: In function 'usbd_control_xfer_cb': ../../lib/tinyusb/src/device/usbd_control.c:195:19: error: nested extern declaration of 'usbd_driver_print_control_complete_name' [-Werror=nested-externs] 195 | extern void usbd_driver_print_control_complete_name(bool (*control_complete) (uint8_t, tusb_control_request_t const *)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors make: *** [../../py/mkrules.mk:55: build-simmel/lib/tinyusb/src/device/usbd_control.o] Error 1 Move the declaration to the top of the function to silence this warning. Signed-off-by: Sean Cross <[email protected]>
2020-04-28fix typohathach
2020-04-26clean up log messagehathach
2020-04-26add usbd edpt openhathach
- RTT mode is blocking to prevent log lost - Improve logging message
2020-03-27USBD: Use tud_control_xfer only for dataNathan Conrad
2020-03-22Merge branch 'master' into cr1901-msp430f5529hathach
2020-03-14Use CRLF on UART.Nathan Conrad
2020-03-08fix zlp for nrf52840hathach
2020-02-07more log for debugginghathach
2019-11-28use dcd_edpt0_status_complete() to set address without blocking for ↵hathach
samd21/samd51/stm32_fsdev
2019-11-28add dcd_edpt0_status_complete() which is useful for several mcu porthathach
2019-11-27extract code to invoke_class_control()hathach
- also rename usbd_class_drivers to _usbd_driver
2019-11-05Merge branch 'master' into cr1901-msp430f5529hathach
2019-11-04fix tud_control_status() didn't update requesthathach
2019-11-03added optional dcd_control_status_complete()hathach
2019-11-03make control buf statichathach
2019-11-02Merge branch 'pigrew-ZLP_Request2' into cr1901-msp430f5529hathach
2019-11-01Merge branch 'ZLP_Request2' into pigrew-ZLP_Request2hathach
2019-10-31zlp should work with control in, tested with Unity frameworkhathach
2019-10-31move function around, more renamehathach
2019-10-31renamehathach
2019-10-31clean uphathach
2019-10-03Remove accidentally-commited debug var.William D. Jones
2019-10-03Merge remote-tracking branch 'pigrew/ZLP_Request2' into msp430f5529William D. Jones
2019-10-02Merge remote-tracking branch 'origin' into msp430f5529William D. Jones
2019-10-02usbd_control.c: Decide whether a control transfer has a data stageWilliam D. Jones
based on setup packet wLength.
2019-09-29Github's web interface changed line endings without asking me. Oops.Nathan Conrad
2019-09-29Merge branch 'master' into ZLP_Request2Nathan Conrad
2019-09-27Fix typo of CFG_TUD_ENDOINT0_SIZE.Nathan Conrad
2019-09-27Fix typo of CFG_TUD_ENDOINT0_SIZE.Nathan Conrad
2019-09-27Merge branch 'master' into ZLP_Request2Nathan Conrad
2019-09-21USB Control: Pointer arithmetic on void* is forbidenNathan Conrad
2019-09-12For control transfers, compare the transmitted length against the requested ↵Nathan Conrad
length to know if a ZLP needs to happen. (fixes #139)
2019-09-09Fix typo of ENDOINTNathan Conrad
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-06-10fix build error with midi, use usbd_edpt_xfer/busy for midi to replace dcd_*hathach
2019-05-14update license year to 2019hathach
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-04-02usbd better support suspend/resumehathach
2019-03-27cleanup, remove the use of _TINY_USB_SOURCE_FILE_hathach
2019-03-27clean up remove usbd_control_stall()hathach
2019-03-20migrate license from BSD 3 clause to MIThathach
2019-03-13dcd_set_address include status response, usbd control stall both control in ↵hathach
and out
2018-12-05clean uphathach
2018-11-26clean up warningshathach