summaryrefslogtreecommitdiff
path: root/src/class
AgeCommit message (Collapse)Author
2023-05-25fix issue with ftdi host driver with status byteshathach
add workflow_dispatch to all ci workflow
2023-05-16EHCI: fix xfer failed with disconnected device as stalledhathach
- change CFG_TUH_ENDPOINT_MAX to 16 (max endpoint pair per device) if not defined - change QHD_MAX for EHCI, should be user configurable and more optimized in the future
2023-05-16correct EHCI reporting failed xfer (instead of stalled) when device is unpluggedhathach
2023-04-28more update to host serial APIhathach
2023-04-28allow call tuh cdc with blocking (callback = NULL)hathach
- tuh_cdc_set_control_line_state() - tuh_cdc_set_baudrate() - tuh_cdc_set_line_coding()
2023-04-28improve host serial drivershathach
- tuh_control_xfer() update xfer result to user_data if complete callback = NULL (sync/blocking) - refactor host serial driver for acm/ftdi/cp210x
2023-04-28add aligned(4) for cdc_line_coding_thathach
2023-04-27cdc: fix line_coding aligmentJean-Baptiste Theou
While calling tud_cdc_n_get_line_coding, the structure is copied into the destination. Dump of assembler code for function tud_cdc_n_get_line_coding: 0x000193f4 <+0>: mov.w r2, #2112 @ 0x840 0x000193f8 <+4>: ldr r3, [pc, #20] @ (0x19410 <tud_cdc_n_get_line_coding+28>) 0x000193fa <+6>: mla r0, r2, r0, r3 => 0x000193fe <+10>: ldr.w r3, [r0, #6] 0x00019402 <+14>: str r3, [r1, #0] On some platform (tested on LPC55S28), the address needs to be 4-bytes aligned. Without this, the address is (gdb) p &_cdcd_itf.line_coding $3 = (cdc_line_coding_t *) 0x40100006 <_cdcd_itf+6> which leads to a HardFault. With this fix (gdb) p &_cdcd_itf.line_coding $5 = (cdc_line_coding_t *) 0x40100008 <_cdcd_itf+8> and the function can be called properly Signed-off-by: Jean-Baptiste Theou <[email protected]>
2023-04-27add tuh_cdc_set_baudrate()hathach
2023-04-27add code to calculate divisor from baudrate for ftdihathach
2023-04-27clean uphathach
2023-04-27forgot to add cp210x headerhathach
2023-04-27more refactorhathach
2023-04-27cp210x seems to work wellhathach
2023-04-27more host serial refactorhathach
2023-04-27refactor acm functionhathach
2023-04-27refactor ftdi driverhathach
2023-04-27rename ftdi_host to ftdi_siohathach
2023-04-26hacky, but ftdi work with hard code baudrate = 9600hathach
2023-04-18Merge pull request #1920 from mikee47/fix/midi-definitionHa Thach
MIDI_CIN_NOTE_ON definition transposed with MIDI_CIN_NOTE_OFF
2023-04-06implement tuh_hid_receive_ready() and tuh_hid_send_ready()hathach
2023-04-06add define for vendor_flush() to write_flush() for backward compatiblehathach
2023-03-31Remove trailing whitespaceepatstarkey
2023-03-28Update vendor_device.cepatstarkey
2023-03-28Update vendor_device.cepatstarkey
2023-03-28Update vendor_device.hepatstarkey
2023-03-24Merge pull request #1979 from hathach/fix-cdc-host-unsupported-line-requestHa Thach
fix cdc host enumeration issue when device does not support line request
2023-03-24fix shadow warninghathach
2023-03-24fix cdc host enumeration issue when device does not support line requesthathach
2023-03-24Merge pull request #1971 from ↵Ha Thach
MattMills/class_net_net_device_mac_address_shouldnt_be_consts Update net_device.h to make MAC addresses not const.
2023-03-24Merge pull request #1969 from hathach/fix-tmc488-bit-order-1658Ha Thach
Fix tmc488 bit order 1658
2023-03-24separate CFG_TUSB_MEM_SECTION and CFG_TUSB_MEM_ALIGN tohathach
- CFG_TUD_MEM_SECTION and CFG_TUD_MEM_ALIGN - CFG_TUH_MEM_SECTION and CFG_TUH_MEM_ALIGN - fix missing mem section and align for host
2023-03-22Update net_device.hMatt Mills
2023-03-22more updatehathach
2023-03-22fix bitorder in usbtmc_response_capabilities_488_thathach
2023-03-22Merge pull request #1968 from hathach/refactor-hid-hostHa Thach
Refactor hid host
2023-03-22add tuh_hid_itf_get_info() and change tuh_cdc_itf_get_info() to use new ↵hathach
tuh_itf_info_t
2023-03-21change meaning of CFG_TUH_HID to total number of HID interfaces supported.hathach
- previously CFG_TUH_HID is max number of interfaces per device which is rather limited and consume more resources than needed. - change hid host instance in API to index
2023-03-21relax hid host enumeration, allow set protocol to be stalledhathach
2023-03-21Merge pull request #1965 from HiFiPhile/alignHa Thach
UAC2: fix feedback EP buffer alignment.
2023-03-21UAC2: fix feedback EP buffer alignment.Mengsk
2023-03-21add tuh_set_interfacehathach
2023-03-18more clean uphathach
2023-03-18minor clean uphathach
2023-03-17Merge branch 'master' into portabilityhathach
2023-03-17fix trailing space and new linehathach
temporarily disable codespell
2023-03-17update host example, add pio-pico-usb for rp2040hathach
2023-03-13Updated host hid_controller example to demo tuh_hid_send_reportJames Smith
2023-03-13Implemented tuh_hid_send_reportJames Smith
2023-03-05fix: Fix wrong destsz used with tu_memcpy_sNathaniel Brough
Bug: #1935