summaryrefslogtreecommitdiff
path: root/src/class
AgeCommit message (Collapse)Author
2021-04-22Remove nonstd behaviourJeremiah McCarthy
2021-04-22Move debug from .h to .cJeremiah McCarthy
2021-04-22Replace dfu_mode with dfuJeremiah McCarthy
2021-04-12Remove DFU mode and rtJeremiah McCarthy
2021-04-07Resolve gcc warnings for no parameter functionsJeremiah McCarthy
2021-04-07Revise per initial commentsJeremiah McCarthy
Returns the RT driver to the function state of previous iteration, which did not support the will_detach. Behavior should be fine without this feature. This removes much of the added bloat to track state, and handle requests in the APP_DETACH state which is no longer required. Removes the optional bloat added to the RT driver, such as responding to GETSTATE requests. Fixes the DFU Mode to extract the attr bits from the functional descriptor when opened. Fixes some incorrect bitwise if checks. Also, updates some naming of functions to be consistent with the rest of the library.
2021-04-05Add DFU runtime and mode "class"Jeremiah McCarthy
With the runtime and mode portions in separate classes, a single application should only be building with one or the other enabled. In some applications both might be desired at build time. The CFG_TUD_DFU_RUNTIME_AND_MODE option creates a DFU class, which asks the application which mode to initialize to. This allows a runtime change between RT and DFU mode, by just reinitializing tusb.
2021-04-05Remove unreachable callbackJeremiah McCarthy
2021-04-05Fix bug during initialization of DFU ModeJeremiah McCarthy
2021-04-05Separate DFU RT and Mode. UntestedJeremiah McCarthy
2021-04-05Fix incorrect DNLOAD request len passed to appJeremiah McCarthy
Fixes bug where the app callback was getting the length of the status request transfer rather than the length of the data stage payload. TODO: Right now this returns the expected length, when it really should be returning the transfer length.
2021-03-26Minor cleanupJeremiah McCarthy
2021-03-26Add DFU Class per Version 1.1 SpecJeremiah McCarthy
2021-03-17Implement requested changes for PR724Jeremiah McCarthy
2021-03-16Update usbtmc_device.cMichael Bruno
Fix buffer alignment in TMC device class
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-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