summaryrefslogtreecommitdiff
path: root/src/class
AgeCommit message (Collapse)Author
2021-02-23host msc: call read_capacity as part of enumerationhathach
- add tuh_msc_get_block_count(), tuh_msc_get_block_size() - rename tuh_msc_mounted_cb/tuh_msc_unmounted_cb to tuh_msc_mount_cb/tuh_msc_unmount_cb to match device stack naming - change tuh_msc_is_busy() to tuh_msc_ready() - add CFG_TUH_MSC_MAXLUN (default to 4) to hold lun capacities - add host msc configured to for state check.
2021-02-23clean up host mschathach
2021-02-23Merge pull request #575 from nwlab/yaa/msc_readHa Thach
Added MSC read10 and write10 function
2021-02-23update function commenthathach
2021-02-23rename tuh_msc_scsi_inquiry() to tuh_msc_inquiry()hathach
2021-02-19Merge pull request #660 from hathach/fix-typo-midi-write24Ha Thach
Fix typo midi write24
2021-02-19fix tud_midi_write24 typohathach
rename jack_id to cable_num in function argument
2021-02-18Implement requested PR changesJeremiah McCarthy
Removes CFG_TUSB_ALT_BIT_PACKING_ALIGNMENT, and makes the manual padding behavior standard. Replaced unused variable name with TU_RESERVED.
2021-02-16Add alternate bitfield padding optionJeremiah McCarthy
Adds configuration option CFG_TUSB_ALT_BIT_PACKING_ALIGNMENT, which substitutes bitfield variable " : 0" padding syntax with an unused variable of size equal to the remaining number of bits. This change resolves aligned access issues for some platforms. Default behavior is original if the option is not explicitly enabled.
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-09tud_hid_report_complete_cb() APIhathach
update hid composite to make use of tud_hid_report_complete_cb() for sending reports when possible.
2021-02-08add tud_hid_n_gamepad_report() helper for gamepad reporthathach
- Add gamepad to hid_composite example. Though it needs a bit of extra work but it will come later as separated PR.
2021-02-08enhance gampepad report with dpad/hat supporthathach
add hid_gamepad_report_t along with GAMEPAD_BUTTON_ and GAMEPAD_HAT_ enum
2021-02-06Merge pull request #618 from homeodor/masterHa Thach
A CDC-like blocking behaviour for MIDI, incl. SysEx
2021-01-30A CDC-like blocking behaviourAlexander Golovanov
2021-01-28Fix midi sysex sending bugMichael Himing
2021-01-21Merge branch 'master' into picoHa Thach
2021-01-19RP2040 supportgraham sanderson
2021-01-07change default CFG_TUD_HID_EP_BUFSIZE from 16 to 64hathach
2020-12-23Added MSC read10 and write10 functionYakovenko Andrey
2020-12-20Fix error if "Required Prototype" is selected.HiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2020-12-20Fix scsi_mode_sense6_t padding, which cause IAR compiler internal error.HiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2020-11-24msc only invoke scsi complete callback after status transaction is completehathach
2020-11-23add tud_ready() check in tud_cdc_n_write_flush()hathach
other clean up
2020-11-23Merge branch 'master' into cdc_without_dtrHa Thach
2020-11-23have tusb_init() return true instead of TUSB_ERROR_NONEhathach
2020-11-20migrate audio device to new control xfer cbhathach
2020-11-20migrate net device to new control xfer cbhathach
2020-11-20clean uphathach
2020-11-20migrate bth 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-11-18Implementation of the discussed changesJan Dümpelmann
- remove usbd_edpt_xfer_abort - rename tu_fifo_change_mode to tu_fifo_set_mode - remove CFG_TUD_CDC_CLEAR_AT_CONNECTION definition - remove auto fifo clear at connection event - add tud_cdc_n_write_clear function
2020-11-07Merge pull request #553 from hathach/host-async-controlHa Thach
Host async control
2020-11-04Merge remote-tracking branch 'hathach/master' into cdc_without_dtrJan Dümpelmann
2020-11-03Merge pull request #547 from hathach/cdc-auto-write-flushHa Thach
enable cdc auto flush on write()
2020-11-02enable cdc auto flush on write()hathach
if there is enough data in the fifo
2020-11-02remove legacy blocking usbh_control_xfer()hathach
reworking cdc host driver
2020-11-01added host set_config driverhathach
to resolve control conflict with SET_CONFIGURE for class driver - open will be called to open endpoint only - set_config called later to initialized class driver
2020-10-31Rename CDC_COMM_SUBCLASS_ETHERNET_NETWORKING_CONTROL_MODELJacob Potter
This was a confusing name; "Ethernet control model" (CDC ECM) and "network control model" (CDC NCM) are two separate USB subclasses.
2020-10-24net_device: re-factor code so as to not be specific to lwIPPeter Lawrence
2020-10-24net_device: tweak 'pbuf chain' implementationPeter Lawrence
2020-10-13more clean uphathach
2020-10-13clean uphathach
2020-10-13implement tuh_msc_scsi_inquiry() / tuh_msc_read_capacity() / ↵hathach
tuh_msc_get_maxlun()