summaryrefslogtreecommitdiff
path: root/src/class/cdc
AgeCommit message (Collapse)Author
2024-01-16change code style and code cleanupIngHK
2024-01-16change code stylehathach
2024-01-16merge and cherry pick changeshathach
2024-01-16fix number of endpoint for ch340x, also open notification even not used for nowhathach
2024-01-16Merge branch 'cdc_ch34x_support' of https://github.com/IngHK/tinyusb into ↵IngHK
cdc_ch34x_support
2024-01-16CDCh host: further work on CH340/CH341 supportIngHK
2024-01-16Merge remote-tracking branch 'remotes/hathach/master' into cdc_ch34x_supportIngHK
2024-01-16move open() ad vid_pid_list into serial driver structhathach
2024-01-16Merge branch 'master' into cdc_ch34x_supporthathach
# Conflicts: # src/class/cdc/cdc_host.c
2024-01-16change CFG_TUH_CDC_FTDI/CP210X_PID_LIST to ↵hathach
CFG_TUH_CDC_FTDI/CP210X_VID_PID_LIST which contains both vid and pid.
2024-01-15fix conflict of BIT() macrohathach
2024-01-15fix sign-conversion warninghathach
2024-01-15change code stylehathach
2024-01-15Merge branch 'master' into cdc_ch34x_supporthathach
2024-01-11bInterfaceClass number replaced by defineIngHK
2024-01-09[CDC] host: moved acm_open to other acm prototypesIngHK
2023-12-26initial support of CH34x CDC deviceIngHK
2023-12-12Add configuration option CFG_TUH_CDC_FTDI_PID_LIST to tusb_option.hOliver Larsson
2023-12-11Merge pull request #2296 from LarssonOliver/masterHa Thach
Allow external definition of TU_CP210X_PID_LIST
2023-11-25Add configuration option CFG_TUH_CDC_CP210X_PID_LIST to tusb_option.hOliver Larsson
2023-11-22fix typo in cdc line coding enumhathach
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-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-02made line ends consistent.Lars Pötter
2023-05-25fix issue with ftdi host driver with status byteshathach
add workflow_dispatch to all ci workflow
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-03-24fix shadow warninghathach
2023-03-24fix cdc host enumeration issue when device does not support line requesthathach
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