| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2023-04-28 | add aligned(4) for cdc_line_coding_t | hathach | |
| 2023-04-27 | cdc: fix line_coding aligment | Jean-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-03-17 | fix trailing space and new line | hathach | |
| temporarily disable codespell | |||
| 2023-02-22 | use tu_static instead of static _fuzz_thread | hathach | |
| 2023-02-22 | rename maros from FUZZ to _FUZZ, change TU_STATIC to static _fuzz_thread | hathach | |
| 2023-01-20 | fix: Change all static variables to thread when fuzzing | Nathaniel Brough | |
| 2022-12-22 | fix incorrect rx buf in cdc | hathach | |
| 2022-12-15 | use OSAL_MUTEX_REQUIRED to replace CFG_FIFO_MUTEX/TUSB_OPT_MUTEX | hathach | |
| add macro to swallow mutex API in order to simplify code with mutex | |||
| 2022-12-08 | fix typo, add -Wno-error=unreachable-code for fuzz due to latest cdc changes | hathach | |
| 2022-12-06 | cdc: Fix autoflush for FIFO < MPS | Tomas Rezucha | |
| 2022-06-24 | add more warning option, also fix -Wconversion with rp2040 | hathach | |
| -Wuninitialized, -Wunused, -Wredundant-decls | |||
| 2022-06-02 | rhport argument in usbd_ API() is not used (always use the initialized port) | hathach | |
| remove the usage of TUD_OPT_RHPORT in class driver | |||
| 2022-02-25 | rename TUSB_OPT_DEVICE_ENABLED to CFG_TUD_ENABLED | hathach | |
| TUSB_OPT_DEVICE_ENABLED still usable for backward compatible | |||
| 2021-11-23 | fix nrf easy dma race condition | hathach | |
| 2021-10-15 | update some sense warning from -Wconversion | hathach | |
| 2021-06-28 | change usbh open driver to have max_len and return driver len | hathach | |
| 2021-05-27 | include clean up | hathach | |
| 2021-04-30 | Remove all remainings with peek_at | Reinhard Panhuber | |
| 2021-04-03 | Merge remote-tracking branch 'upstream/master' into edpt_ISO_xfer | Reinhard Panhuber | |
| 2021-03-12 | use !tu_fifo_empty() instead of tu_fifo_count() | hathach | |
| 2021-03-11 | Add fifo empty check. | HiFiPhile | |
| Signed-off-by: HiFiPhile <[email protected]> | |||
| 2021-03-10 | Merge branch 'master' into edpt_ISO_xfer | hathach | |
| 2021-03-10 | Call One time tu_fifo_write_n on cdcd_xfer_cb | HiFiPhile | |
| Signed-off-by: HiFiPhile <[email protected]> | |||
| 2021-03-04 | Extend FIFO mutex to use separate write and read mutexes. | Reinhard Panhuber | |
| Adjust all USB drivers using FIFO and mutexes. | |||
| 2021-02-25 | initial break request handling | amit verma | |
| 2020-11-23 | add tud_ready() check in tud_cdc_n_write_flush() | hathach | |
| other clean up | |||
| 2020-11-23 | Merge branch 'master' into cdc_without_dtr | Ha Thach | |
| 2020-11-19 | migrate cdc_device to new control_xfer_cb | hathach | |
| 2020-11-18 | Implementation of the discussed changes | Jan Dümpelmann | |
| - remove usbd_edpt_xfer_abort - rename tu_fifo_change_mode to tu_fifo_set_mode - remove CFG_TUD_CDC_CLEAR_AT_CONNECTION definition - remove auto fifo clear at connection event - add tud_cdc_n_write_clear function | |||
| 2020-11-04 | Merge remote-tracking branch 'hathach/master' into cdc_without_dtr | Jan Dümpelmann | |
| 2020-11-02 | enable cdc auto flush on write() | hathach | |
| if there is enough data in the fifo | |||
| 2020-09-14 | cdc device: claim endpoint before checking fifo availability | hathach | |
| - add pre-check to reduce mutex lock in usbd_edpt_claim | |||
| 2020-09-10 | update claim edpt for hid and midi | hathach | |
| 2020-09-09 | typo | hathach | |
| 2020-09-09 | clean up | hathach | |
| 2020-09-09 | update cdc edpt read | hathach | |
| 2020-09-09 | introduce optional usbd_edpt_claim, usbd_edpt_release which can be used to ↵ | hathach | |
| gain exclusive access to usbd_edpt_xfer | |||
| 2020-09-04 | Add functionality to abort an ongoing transfer | Jan Dümpelmann | |
| 2020-09-03 | New function to modify fifo overwritability | Jan Dümpelmann | |
| 2020-09-03 | Turn transmit fifo overwritable in no DTR mode | Jan Dümpelmann | |
| 2020-09-03 | Remove connected check for write flushing | Jan Dümpelmann | |
| 2020-08-24 | improve midi | hathach | |
| - fix #436 tud_midi_rx_cb() not invoked - fix xfer_cb() not handle ep in - add ZLP if needed | |||
| 2020-08-21 | Merge pull request #434 from gh2o/master | Ha Thach | |
| Add TX callback to CDC device | |||
| 2020-08-20 | Slight optimization for cdc tx refill | Gavin Li | |
| 2020-08-20 | Smarter CDC TX refill logic | Gavin Li | |
| 2020-07-16 | add tud_speed_get() | hathach | |
| - define both fs and hs configuration descriptor - rename CFG_TUD_CDC_EPSIZE to CFG_TUD_CDC_EP_BUFSIZE with default size of 64 for FS, and 512 for HS | |||
| 2020-07-01 | fix dfu-rt to response to SET_INTERFACE and DFU_GETSTATUS | hathach | |
| fix #450 | |||
| 2020-06-20 | Call tud_cdc_tx_cb right after flush to keep tx fifo full | Gavin Li | |
| 2020-06-18 | Add tx callback to cdc device | Gavin Li | |
| Useful for continuous transmission of data, which is difficult currently because there is no notification of tx completion. | |||
| 2020-05-28 | rename to drv_len to be consistent | hathach | |
