1. 24 Apr, 2024 3 commits
  2. 22 Apr, 2024 7 commits
  3. 20 Apr, 2024 1 commit
  4. 17 Apr, 2024 1 commit
    • Angus Gratton's avatar
      shared/tinyusb: Fix dynamic USB control callbacks for wLength==0. · d11ca092
      Angus Gratton authored
      In the case where an OUT control transfer triggers with wLength==0 (i.e.
      all data sent in the SETUP phase, and no additional data phase) the
      callbacks were previously implemented to return b"" (i.e. an empty buffer
      for the data phase).
      
      However this didn't actually work as intended because b"" can't provide a
      RW buffer (needed for OUT transfers with a data phase to write data into),
      so actually the endpoint would stall.
      
      The symptom was often that the device process the request (if processing
      it in the SETUP phase when all information was already available), but the
      host sees the endpoint stall and eventually returns an error.
      
      This commit changes the behaviour so returning True from the SETUP phase of
      a control transfer queues a zero length status response.
      Signed-off-by: default avatarAngus Gratton <angus@redyak.com.au>
      d11ca092
  5. 11 Apr, 2024 1 commit
  6. 30 Mar, 2024 3 commits
  7. 29 Mar, 2024 5 commits
  8. 28 Mar, 2024 17 commits
  9. 27 Mar, 2024 2 commits