summaryrefslogtreecommitdiff
path: root/src/class/cdc
AgeCommit message (Collapse)Author
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
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-21add tuh_set_interfacehathach
2023-03-17fix trailing space and new linehathach
temporarily disable codespell
2023-03-17update host example, add pio-pico-usb for rp2040hathach
2023-02-22use tu_static instead of static _fuzz_threadhathach
2023-02-22Merge pull request #1867 from silvergasp/thread_local_globalsHa Thach
fix: Change all static variables to thread when fuzzing
2023-02-22rename maros from FUZZ to _FUZZ, change TU_STATIC to static _fuzz_threadhathach
2023-02-12Correct bitfields for ↵Jeff Trull
cdc_desc_func_telephone_call_state_reporting_capabilities_t
2023-02-10Adjust reserved bitfields to make SDCC happyJeff Trull
- keep each field at or under 16b - For optimal packing, segment fields to 8b boundaries
2023-01-20fix: Change all static variables to thread when fuzzingNathaniel Brough
2022-12-24add tuh_cdc_peek()hathach
2022-12-22fix incorrect rx buf in cdchathach
2022-12-22clean uphathach
2022-12-22add tuh_cdc_get_local_line_coding()hathach
2022-12-22correct host cdc enumhathach
2022-12-22cdc host, add set line coding APIhathach
2022-12-22minor clean uphathach
2022-12-22finish moving edpt stream to tusb.chathach
2022-12-22fix stream read count computationhathach
2022-12-22moving edpt_stream API into common tusb.chathach