summaryrefslogtreecommitdiff
path: root/src/tusb.c
AgeCommit message (Collapse)Author
2026-01-16fix stream write racingHiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2026-01-14remove no-fifo mode in edpt stream APIhathach
update vendor_device.c for direct usbd xfer when either RX/TX BUFSIZE is 0 i.e CFG_TUD_VENDOR_TXRX_BUFFERED = 0
2026-01-13Merge pull request #3424 from hathach/fifo_read_epsizeHa Thach
limit fifo read size to ep_bufsize regardless ep_buf is used or not
2025-12-30tusb_fifo remove item_size make it fifo of byteshathach
2025-12-22limit fifo read size to ep_bufsize regardless ep_buf is used or notHiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2025-12-13tusb: fix stream write logic without fifoHiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2025-12-12fix edpt stream write/read to endpoint not yet openedhathach
2025-12-11move host hacked bulk mps out of tu_edpt_validate()hathach
2025-12-11refactor usbh_class_driver_t's open() to return number of driver len instead ↵hathach
of bool. help to simplify parsing configuration
2025-12-11refactor binding ep and interface to driverhathach
2025-12-10move hwid into edpt stream for consistent APIhathach
2025-12-10Merge branch 'master' into more-size-reduce-edpt-streamhathach
2025-12-10only validate endpoint tu_edpt_validate() when debug enabledhathach
2025-12-10Merge branch 'master' into hwfifo_posthathach
2025-12-10remove tu_fifo_discard_n() and its usagehathach
2025-12-10change tu_fifo_clear()/tu_edpt_stream_clear() from return bool to voidhathach
2025-12-08remove FS MPS assumptionZixun LI
Signed-off-by: Zixun LI <[email protected]>
2025-12-06edpt stream only support non-fifo mode if needed ↵hathach
CFG_TUSB_EDPT_STREAM_NO_FIFO_ENABLED
2025-11-27make vendor_read_* API() is only available when CFG_TUD_VENDOR_RX_BUFSIZE > 0hathach
vendor_write_flush() and write_available() only available when CFG_TUD_VENDOR_TX_BUFSIZE > 0
2025-11-27change tud_vendor_rx_cb() behavior, buffer and bufsize only available when ↵hathach
CFG_TUD_VENDOR_RX_BUFSIZE = 0 update vendor device to omit ep buf when dedicated hwfifo is supported
2025-11-27add tu_fifo_discard_n() and tu_edpt_stream_discard()hathach
2025-11-27correct tu_edpt_stream_read() with non-fifo mode. Fix rhport with vendor devicehathach
2025-11-21edpt stream support xfer_fifo for device CFG_TUD_EDPT_DEDICATED_HWFIFOhathach
cdc device omit ep buffer when hwfifo is supported
2025-11-19Merge remote-tracking branch 'tinyusb/master' into ↵HiFiPhile
copilot/fix-dcd-edpt-xfer-issue Signed-off-by: HiFiPhile <[email protected]>
2025-11-13clear endpoint stream when open for cdc_host and midi_hosthathach
2025-11-12migrate cdc device to use edpt stream APIhathach
tu_edpt_stream_open() does not clear fifo, allow for persistent stream when disconnect/reconnect
2025-11-12migrate midi_device to use edpt stream APIhathach
also add tud_midi_n_packet_write/read_n()
2025-11-11Merge remote-tracking branch 'tinyusb/master' into ↵HiFiPhile
copilot/fix-dcd-edpt-xfer-issue Signed-off-by: HiFiPhile <[email protected]>
2025-11-08fix more alertshathach
2025-11-05added .clang-formathathach
fix more alerts disable IAR CStat since pvs-studio check is better integrated with clion
2025-10-31Merge remote-tracking branch 'tinyusb/master' into ↵HiFiPhile
copilot/fix-dcd-edpt-xfer-issue Signed-off-by: HiFiPhile <[email protected]>
2025-10-24fix more warningshathach
2025-10-22Add is_isr parameter to usbd_edpt_xfer and usbd_edpt_xfer_fifocopilot-swe-agent[bot]
- Added bool is_isr parameter to usbd_edpt_xfer() and usbd_edpt_xfer_fifo() wrapper functions - These are called by class drivers to queue USB transfers - Updated all callers to pass false by default (non-ISR context) - Updated audiod_rx_xfer_isr() and audiod_tx_xfer_isr() to pass true (ISR context) - All 21 unit tests pass Co-authored-by: HiFiPhile <[email protected]>
2025-09-17Fix address translation functionsHiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2025-07-10rename to tusb_deinit() to match other namingghathach
2025-07-10Merge branch 'master' into fork/roma-jam/feature/add_tusb_teardownhathach
2025-03-06hack: force/overwrite endpoint mps to 64 for device that incorrectly report ↵hathach
512 bytes for bulk in fullspeed mode.
2025-02-24add tuh_midi_descriptor_cb()hathach
2025-01-15feature(tusb): Added teardown APIRoman Leonov
2024-11-28Merge branch 'refs/heads/master' into fork/GuavTek/recover_zero_length_deschathach
2024-11-27Move desc_len sanity checks to start of loopsGuavTek
2024-11-14Merge branch 'master' into warningHa Thach
2024-11-10fix typoHa Thach
2024-11-10Merge branch 'master' into fix/esp32p4_deviceHa Thach
2024-11-07fix(tusb.h): Fixed backward comatibility for port selectionRoman Leonov
2024-11-04add tusb_time_millis_api() and default/weak tusb_time_delay_ms_api(). Which ↵hathach
is required for host and some device without RTOS.
2024-11-01Fix Warning[Pe188]: enumerated type mixed with another type.HiFiPhile
2024-10-18Recover host enumeration from zero length descriptorsGuavTek
2024-10-17get hpri triggeredhathach
2024-10-14change the tusb_rhport_init_t struct, exclude the rhport to make API more ↵hathach
consistent