summaryrefslogtreecommitdiff
path: root/src/class/vendor
AgeCommit message (Collapse)Author
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.
2022-01-19vendor: Add tx callbackJerzy Kasenberg
Other drivers already have notification about data sent. It allows batter control in application on vendor protocol level.
2021-10-01Merge pull request #1120 from hathach/enhanceHa Thach
house keeping update
2021-10-01clean up vendor openhathach
2021-09-29add same7x to board listhathach
2021-09-29clean uphathach
2021-09-18Merge branch 'master' into zhangslice-masterhathach
2021-09-14make vendor driver more flexiblehathach
- skip additional custom descriptor between interface and endpoints - can have up to 2 bulk endpoint ( 1 in & 1 out)
2021-08-25Merge pull request #1041 from HiFiPhile/vdcHa Thach
Fix vendor fifo deadlock, add tud_vendor_n_read_flush
2021-08-23rename CFG_TUSB_HOST_DEVICE_MAX to CFG_TUH_DEVICE_MAXhathach
2021-08-22Fix vendor fifo deadlock, add tud_vendor_n_read_flushMasterPhi