summaryrefslogtreecommitdiff
path: root/src/class/vendor/vendor_device.c
AgeCommit message (Collapse)Author
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-06Merge pull request #1289 from kasjer/kasjer/vendor-updateHa Thach
vendor: Write improvements
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-01clean up vendor openhathach
2021-09-29add same7x to board listhathach
2021-09-29clean uphathach
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-22Fix vendor fifo deadlock, add tud_vendor_n_read_flushMasterPhi
2021-06-02clean up loghathach
2021-05-27include clean uphathach
2021-05-06Merge branch 'master' of github.com:xmos-jmccarthy/tinyusbJeremiah McCarthy
2021-04-30Remove all remainings with peek_atReinhard Panhuber
2021-04-07Revise per initial commentsJeremiah McCarthy
Returns the RT driver to the function state of previous iteration, which did not support the will_detach. Behavior should be fine without this feature. This removes much of the added bloat to track state, and handle requests in the APP_DETACH state which is no longer required. Removes the optional bloat added to the RT driver, such as responding to GETSTATE requests. Fixes the DFU Mode to extract the attr bits from the functional descriptor when opened. Fixes some incorrect bitwise if checks. Also, updates some naming of functions to be consistent with the rest of the library.
2021-03-04Extend FIFO mutex to use separate write and read mutexes.Reinhard Panhuber
Adjust all USB drivers using FIFO and mutexes.
2020-05-28check max_len for vendor and hidhathach
2020-05-28initial transfer failed in open() shouldn't cause the driver open to fail.hathach
2020-05-28update vendor open()hathach
2020-04-15test vendorhathach
2019-12-28implement multiple interfaces supportPeter Lawrence
2019-08-31close #105 add tud_vendor_write_available()hathach
2019-08-01add vendor peek, change cdc peek signature, change cdc read_char() return ↵hathach
from signed char to int32_t
2019-07-30clean uphathach
2019-07-24update vendor device similar to cdc read/writehathach
maybe refactor later
2019-07-24adding vendorhathach
2019-07-19more house keepinghathach
2019-07-19rename custom/custom-_* to vendor/vendor_*hathach