summaryrefslogtreecommitdiff
path: root/src/device/usbd_pvt.h
AgeCommit message (Collapse)Author
2026-07-02license: use SPDX identifiers for src/ headers (#3749)Ha Thach
* license: use SPDX identifiers for src/ headers Replace the full ~20-line MIT license boilerplate on every src/ file with a two-line SPDX tag (SPDX-FileCopyrightText + SPDX-License-Identifier), following the REUSE convention used by CircuitPython and the Linux kernel. Removes ~3500 lines of duplicated boilerplate.
2026-05-04fix usbd control to support wLength hackhathach
2026-03-11refactor(usbd): replace `_usbd_ctrl_epbuf` with `usbd_get_ctrl_buf()` for ↵hathach
cleaner abstraction and consistency across modules
2025-12-14reduce code sizeHiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2025-12-14usbd: add ep0 buffer direct accessHiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2025-11-11Merge remote-tracking branch 'tinyusb/master' into ↵HiFiPhile
copilot/fix-dcd-edpt-xfer-issue Signed-off-by: HiFiPhile <[email protected]>
2025-11-05added .clang-formathathach
fix more alerts disable IAR CStat since pvs-studio check is better integrated with clion
2025-11-04Fixed more alert found by PVS-Studiohathach
2025-10-22Add is_isr parameter to usbd_edpt_xfer and usbd_edpt_xfer_fifocopilot-swe-agent[bot]
- 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]>
2025-09-17Update weak callbacks to new syntaxHiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2025-07-08minor reformat codehathach
2025-06-14USBD: introduce xfer_isr.HiFiPhile
2025-05-21add usbd_spin_lock/unlock for driver usagehathach
2024-12-13change OPT_MCU_RAXXX, fix missing prototype warnings.hathach
2024-09-10change vendor device to use edpt stream APIhathach
2024-05-09Convert to bit-field since it's more reliable.HiFiPhile
2024-05-09Rework ci (#2631)Ha Thach
* add name field to usbd_class_driver_t * ci: use set matrix py script * add riscv32 and cmake support for ch32v307, fomu, gd32vf103 * update build_cmake.py to take --family --board --toolchain * separate hil test to its own workflow * move esp32 board into separated hil json * add make build to ci * remov build_make.py * build.py support esp32 board * setup toolchain support esp-idf * fix missing click * merge family in matrix build to reduce jobs * skip cifuzz since it still has issue with get_deps and click
2024-04-08revert usbd driver name change to be backward compatiblehathach
2024-04-08add class driver deinithathach
2023-12-13try to add samd51 to hil pool using doublereset (rpi gpio) and bossachathach
2023-09-06minor debug clean uphathach
2023-08-15more minor clean uphathach
- also rename usbh_classdriver.h to usbh_pvt.h to consitent with usbd
2023-07-20improve logging, allow easier to turn off usbd, driver logginghathach
can be useful when focusing on let's say usbh
2023-03-17fix trailing space and new linehathach
temporarily disable codespell
2022-12-29Add dcd_edpt_iso_alloc() / dcd_edpt_iso_activate() for ISO EP buffer management.Mengsk
2022-06-10revert sof_isr driver rename since it cause issue with existing codehathach
also removed commented tud_sof_isr_set() API
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-29clean up and comment out tud_sof_isr_sethathach
2022-03-14Merge remote-tracking branch 'upstream/add-sof-isr' into add-sof-isrReinhard Panhuber
2022-03-14Add SOF callback function for feedback value determination in uac - wip!Reinhard Panhuber
2022-03-10refactor and integrate usbh control xfer back to usbh.chathach
fix enumeration with hub when reset port before set address
2022-02-25improve rphort management for usbdhathach
2021-08-31remove set/clear busy flag in set/clear stall since they are different statushathach
note: dcd should resume to prio-stalled queued transfer when unstall
2021-06-11clean upWini-Buh
2021-06-11weak atrribute work around removed from CCRX_PortWini-Buh
2021-06-10add usbh_classdriver.hhathach
2021-06-03Merge remote-tracking branch 'upstream/master' into CCRX_PortWini-Buh
2021-05-29Adaptations for Renesas CCRX toolchain and Rx72N controller performedWini-Buh
2021-05-27clean uphathach
2021-05-26rename usbd_edpt_iso_xfer to usbd_edpt_xfer_fifohathach
2021-05-18Merge branch 'master' into host-hidhathach
2021-01-31Rework audio driverReinhard Panhuber
2021-01-19Change names from edpt_ISO_xfer to edpt_iso_xferReinhard Panhuber
2021-01-18Add usbd_edpt_ISO_xfer()Reinhard Panhuber
2021-01-04Start changes - not yet finishedReinhard Panhuber
2020-11-20remove control_completehathach
2020-11-19merge class driver control_request & control_complete to control_xfer_cb()hathach
migrated msc_device
2020-09-10update claim edpt for hid and midihathach
2020-09-09introduce optional usbd_edpt_claim, usbd_edpt_release which can be used to ↵hathach
gain exclusive access to usbd_edpt_xfer
2020-08-07update note for app driver list mustbe accesible at all time.hathach