| Age | Commit message (Collapse) | Author |
|
copilot/fix-dcd-edpt-xfer-issue
Signed-off-by: HiFiPhile <[email protected]>
|
|
|
|
- Added bool is_isr parameter to usbd_edpt_xfer() and usbd_edpt_xfer_fifo() wrapper functions
- These are called by class drivers to queue USB transfers
- Updated all callers to pass false by default (non-ISR context)
- Updated audiod_rx_xfer_isr() and audiod_tx_xfer_isr() to pass true (ISR context)
- All 21 unit tests pass
Co-authored-by: HiFiPhile <[email protected]>
|
|
Signed-off-by: HiFiPhile <[email protected]>
|
|
|
|
|
|
512 bytes for bulk in fullspeed mode.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
is required for host and some device without RTOS.
|
|
|
|
|
|
|
|
consistent
|
|
|
|
update tusb_init() to take rhport and role, defined as macro with optional argument for backward compatible
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
add osal_semaphore_delete(), osal_mutex_delete(), osal_queue_delete()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- also rename usbh_classdriver.h to usbh_pvt.h to consitent with usbd
|
|
|
|
|
|
fix: Replace device calls to memcpy with tu_memcpy_s
|
|
|
|
|
|
Introduces a new function tu_memcpy_s, which is effectively
a backport of memcpy_s. The change also refactors calls
to memcpy over to the more secure tu_memcpy_s.
|
|
|
|
|
|
|
|
|
|
add macro to swallow mutex API in order to simplify code with mutex
|