summaryrefslogtreecommitdiff
path: root/src/class
AgeCommit message (Collapse)Author
2023-08-15Merge pull request #2222 from rppicomidi/fix-2188Ha Thach
fix issue 2188: support usbh_app_driver_get_cb()
2023-08-15more minor clean uphathach
- also rename usbh_classdriver.h to usbh_pvt.h to consitent with usbd
2023-08-14UINT16_MAX stdint macro usagetswan-quasi
2023-08-14min on cdc r/wtswan-quasi
2023-08-07fix host msc get maxlun not using aligned section memoryhathach
2023-08-04Merge branch 'master' into masterHa Thach
2023-08-02default class driver log level to CFG_TUH/TUD_LOG_LEVEL allow application to ↵hathach
selectively disable usbd/usbh or driver log
2023-07-24rename CFG_TUSB_MEM_SECTION to CFG_TUD_MEM_SECTION in device stackhathach
CFG_TUD_MEM_SECTION is default to CFG_TUSB_MEM_SECTION
2023-07-20improve logging, allow easier to turn off usbd, driver logginghathach
can be useful when focusing on let's say usbh
2023-07-02made line ends consistent.Lars Pötter
2023-06-28Fix minor spellingDevin Auclair
2023-06-27Merge pull request #2085 from georgeboc/msc-ready-bug-fixHa Thach
Fixes bug in tuh_msc_ready
2023-06-21Merge pull request #2101 from eustas/patch-1Ha Thach
Fix typos
2023-06-16renam OPT_MCU_MIMXRT to OPT_MCU_MIMXRT1XXXhathach
fix build util with makefile
2023-06-15Merge pull request #1985 from kkitayam/uvc_bulkHa Thach
Add the capability for video class to handle a bulk endpoint in the streaming interface.
2023-06-08Fix typosEugene Kliuchnikov
2023-05-28Fixes bug in tuh_msc_readygitlab
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-26Add state variablekkitayam
2023-03-25Update handle streaming interfacekkitayam
2023-03-25Fix streaming interface handlingkkitayam
2023-03-25Add handling for bulk EPskkitayam
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