summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2020-01-07Merge branch 'master' into nuc121Ha Thach
2020-01-05Merge pull request #254 from majbthrd/multi-setconfigHa Thach
gracefully handle multiple SET_CONFIGURATION requests
2020-01-04dcd_nuc121: allow user ZLP transfers to get a callbackPeter Lawrence
2020-01-04add Nuvoton NUC121/NUC125/NUC126Peter Lawrence
2019-12-30fix missing parentheses in TU_MIN and TU_MAX macros (#256)majbthrd
2019-12-30Let device respond to endpoint requests on EP0 (#251)Jeremy Herbert
Since endpoint 0 is used for control requests, it doesn't have a class driver attached to it. As such, the corresponding `_usbd_dev.ep2drv` entry points to driver `0xFF`, which is invalid and this makes the `TU_ASSERT(drvid < USBD_CLASS_DRIVER_COUNT);` line fail, and eventually causes an endpoint stall. So as-is the stack cannot respond to any endpoint requests on endpoint 0. However, standard requests on endpoint 0 do not need a class driver to produce a valid response. This commit changes the order of execution so that the assert is only checked if the endpoint is not 0.
2019-12-28gracefully handle multiple SET_CONFIGURATION requestsPeter Lawrence
2019-12-27fix #247hathach
2019-12-26clean uphathach
2019-12-26merge dcd_samd51 & dcd_samd21 into dcd_samdhathach
2019-12-26improve samd, fix missing setup packet occasionallyhathach
2019-12-25fix samd51 setup packet handlinghathach
issue occur due to race condition https://github.com/adafruit/Adafruit_TinyUSB_Arduino/issues/37
2019-12-24invoke scsi complete callback before queue for csw statushathach
there is racing issue with samd + qspi flash testing with arduino otherwise.
2019-12-24Merge branch 'master' into develophathach
2019-12-23adding lookup table for debugginghathach
add msc scsi command list
2019-12-21Merge branch 'master' into port-samg55hathach
2019-12-21making more progress, but failed with WRITE10hathach
incorrect queue 448 bytes instead of 512
2019-12-21able to response to scsi inquiry, but failed to response to test unit readyhathach
2019-12-20clean warningshathach
2019-12-17add "`" and "~" to keycode -> ASCII tablesamveen
2019-12-16[tusb]fix typo in commentsamveen
2019-12-12Merge pull request #236 from jeremyherbert/masterHa Thach
Update dcd_stm32_fsdev.c with note about F042Fx remapping
2019-12-12Update dcd_stm32_fsdev.cJeremy Herbert
Add a note about pin remapping for the STM32F042Fx
2019-12-11move VBUS sense out of dcd_synosys to bsphathach
2019-12-09enhance samghathach
2019-12-09clear data toggle in clear stall, also set config bithathach
2019-12-09fix samd using TUSB_REQ_SET_ADDRESS in dcd_edpt0_status_completehathach
2019-12-09update descriptor, enhance ep in transferhathach
2019-12-09implementing dcd_edpt_openhathach
2019-12-09fix buildhathach
2019-12-09clean up, switch and update submodule samd to circuitpython branchhathach
2019-12-01Fix mynewt osal queue definitionJerzy Kasenberg
Queue table has pointers instead of data os_event structs. This resulted in crashes when elements were put to queue and overwritten variables that were just after mpool desiged for queue.
2019-11-29valentyusb: eptri: don't double-advance read bufferSean Cross
Due to an error, we were double-advancing the FIFO buffer. The end result was that the second half of most reads were getting ignored. This wasn't found during earlier testing because only 64-byte buffers were tested. This corrects this error by avoiding double-advancing the buffer. Signed-off-by: Sean Cross <[email protected]>
2019-11-28use dcd_edpt0_status_complete() to prepare for setup packet for samd21/samd51hathach
2019-11-28use dcd_edpt0_status_complete() to set address without blocking for ↵hathach
samd21/samd51/stm32_fsdev
2019-11-28clean uphathach
2019-11-28implement dcd_edpt_stallhathach
2019-11-28get passed set addresshathach
2019-11-28add dcd_edpt0_status_complete() which is useful for several mcu porthathach
2019-11-27get passed first get device descriptorhathach
2019-11-27able to handle setup packethathach
2019-11-27detect bus resethathach
2019-11-27Merge branch 'develop' into port-samg55hathach
2019-11-27fix #229hathach
2019-11-27extract code to invoke_class_control()hathach
- also rename usbd_class_drivers to _usbd_driver
2019-11-27clean uphathach
2019-11-25updatehathach
2019-11-24usb hw init OKhathach
2019-11-24Merge branch 'master' into port-samg55hathach
2019-11-23fix rt1010 rt1020 only has 1 usb controller, rt1050 rt1060 has 2hathach