summaryrefslogtreecommitdiff
path: root/src/class
AgeCommit message (Collapse)Author
2023-11-24Merge pull request #2340 from hathach/hid-set-protocol-prHa Thach
Hid set protocol pr
2023-11-24minor updatehathach
2023-11-24add tuh_hid_set_default_protocol() to set default USB host HID protocolXudong Zheng
2023-11-24rename to CFG_TUD_BTH_HISTORICAL_COMPATIBLE, move CFG_TUD_BTH_ISO_ALT_COUNT ↵hathach
to tusb_option.h and mandatory for BTH driver
2023-11-24Merge branch 'master' into bthhathach
2023-11-22fix typo in cdc line coding enumhathach
2023-11-07Add historical EP compatibility to bth classAntonio Vázquez Blanco
2023-10-18Adjsut blackout time.Mengsk
2023-10-17Put sw_buf in USB section only if necessary.HiFiPhile
2023-10-17Fix compile.HiFiPhile
2023-10-17Add blackout time.HiFiPhile
2023-10-17Read sample rate directly from control transfer to eliminate callback.HiFiPhile
2023-10-17Add flow control for IN transfer.HiFiPhile
2023-10-10Fix naming nBytesPerSample.HiFiPhile
2023-10-10Merge branch 'master' of https://github.com/hathach/tinyusb into uac_interlHiFiPhile
2023-09-28fix esp32 msc examplehathach
2023-09-19Fix cast-align.HiFiPhile
2023-09-19Fix UAC interleaved copy.HiFiPhile
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