summaryrefslogtreecommitdiff
path: root/src/class/vendor
AgeCommit message (Collapse)Author
2025-12-10move hwid into edpt stream for consistent APIhathach
2025-12-10remove tu_fifo_discard_n() and its usagehathach
2025-11-27add CFG_TUD_VENDOR_RX_MANUAL_XFER per suggestionhathach
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 tud_vendor_n_read_discard(), refactor vendor device. Update webusb ↵hathach
example for more robust
2025-11-27correct tu_edpt_stream_read() with non-fifo mode. Fix rhport with vendor devicehathach
2025-11-27omit cdc epnotify for dedicated hw fifohathach
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-10-28fix Identifiers that start with '__' or '_[A-Z]' are reserved.hathach
fix compiling with nuc family
2025-09-17Update weak callbacks to new syntaxHiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2025-08-02use tu_desc_in_bounds() for descriptor loophathach
2025-07-07updateYixingShen
2025-07-07fixed CFG_TUD_VENDOR > 1 vendord_open tud_vendor_n_write_flushYixingShen
tud_vendor_n_write_flush argument should be 0,1,2,..., but p_vendor - _vendord_itf is 0, sizeof(vendord_interface_t), 2*sizeof(vendord_interface_t), ...
2025-05-16follow up to pr3118, interface also end with IAD. Add more checkshathach
2025-05-09simplify vendord_open parsing loopHiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2025-05-09revert 'end fix'ZakDanger
2025-05-09revert 'end fix'ZakDanger
2025-05-09vendor device open fix for descriptor parsingZakDanger
2025-03-10fix desc_end in vendord_open()Cynventria[CitRA]
minor fix on calculation of desc_end in vendord_open( ) for descriptor prasing
2024-11-22TUD_EPBUF_TYPE_DEF usbtmc_device.c and vendor_device.chathach
2024-10-01Fix vendor class reset.HiFiPhile
2024-09-10remove vendor ep_addr, use stream api insteadhathach
2024-09-10update vendor device to use edpt stream which also support non-buffereed (no ↵hathach
fifo) mode
2024-09-10change vendor device to use edpt stream APIhathach
2024-08-02Merge branch 'master' into vendor_fifoHiFiPhile
2024-05-09Take updated change from cdc_device.HiFiPhile
2024-04-08Merge branch 'master' of github.com:HiFiPhile/tinyusb into vendor_fifoHiFiPhile
2024-04-08add class driver deinithathach
2024-03-03Use FIFO size as condition.HiFiPhile
2024-02-01Allow vendor class to be used without FIFO.HiFiPhile
2024-01-31Update vendor_device.c fifo mutex config similar to cdc_device.c.mamiral
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-04-06add define for vendor_flush() to write_flush() for backward compatiblehathach
2023-03-31Remove trailing whitespaceepatstarkey
2023-03-28Update vendor_device.cepatstarkey
2023-03-28Update vendor_device.cepatstarkey
2023-03-28Update vendor_device.hepatstarkey
2023-03-17fix trailing space and new linehathach
temporarily disable codespell
2023-02-22use tu_static instead of static _fuzz_threadhathach
2023-02-22rename maros from FUZZ to _FUZZ, change TU_STATIC to static _fuzz_threadhathach
2023-01-20fix: Change all static variables to thread when fuzzingNathaniel Brough
2022-06-27fix all device examples warningshathach
2022-06-02rhport argument in usbd_ API() is not used (always use the initialized port)hathach
remove the usage of TUD_OPT_RHPORT in class driver
2022-03-09add tusb_debug.h remove tusb_error.hhathach
move debug utils to new header
2022-03-06Merge pull request #1289 from kasjer/kasjer/vendor-updateHa Thach
vendor: Write improvements
2022-02-25rename TUSB_OPT_HOST_ENABLED to CFG_TUH_ENABLEDhathach
2022-02-25rename TUSB_OPT_DEVICE_ENABLED to CFG_TUD_ENABLEDhathach
TUSB_OPT_DEVICE_ENABLED still usable for backward compatible
2022-01-19vendor: Add tx flush functionalityJerzy Kasenberg
So far tud_vendor_n_write() always flushed data. It requires to have whole vendor packed constructed before in one buffer. With this change data do get flushed when endpoint size is filled on write, when there is no enough data to fill endpoint data is not sent and subsequent calls to write functions can add more bytes. Vendor code needs to call tud_vendor_n_flush() when packet is ready to be sent.