summaryrefslogtreecommitdiff
path: root/src/common/tusb_common.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-01-02refactor hwfifo pull/pushhathach
2026-01-02support multiple data stride if configuredhathach
2025-12-11refactor usbh_class_driver_t's open() to return number of driver len instead ↵hathach
of bool. help to simplify parsing configuration
2025-11-26add tu_scatter_read32(), tu_scatter_write32() to simplify tu_fifohathach
2025-11-13clear endpoint stream when open for cdc_host and midi_hosthathach
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-11-03remove binary prefix for portabilityhathach
2025-11-03fix #2942, include stdio if CFG_TUSB_DEBUG > 0 and CFG_TUSB_DEBUG_PRINTF is ↵hathach
not defined
2025-10-30Merge branch 'master' into uac1HiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2025-10-28fix Identifiers that start with '__' or '_[A-Z]' are reserved.hathach
fix compiling with nuc family
2025-10-24Ensure type promotionHiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2025-10-24Merge remote-tracking branch 'upstream/master' into uac1HiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2025-10-24fix several warningshathach
2025-10-16add tu_div_round_nearest() (only handle positive) to replace ↵hathach
DIV_ROUND_CLOSEST() to remove the need of typeof
2025-10-11Merge branch 'master' into uac1HiFiPhile
2025-10-10successfullypoornadharshan13-rgb
2025-10-06fix typohathach
2025-10-03Merge remote-tracking branch 'tinyusb/master' into uac1Mengsk
2025-09-30More descriptors workingHiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2025-09-29Merge branch 'master' into fork/ennebi/mtphathach
2025-09-19rework get storageIDs and get storage infohathach
2025-09-17Update weak callbacks to new syntaxHiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2025-09-15dwc2: wait for ahb idle before core resethathach
2025-09-10Merge pull request #3126 from salkinium/fix/phyc_pllHa Thach
[stm32] Wait until the PHYC PLL is stable
2025-09-10use tusb_time_delay_ms_api for delay, also move tusb_time api to common.hhathach
2025-08-02use tu_desc_in_bounds() for descriptor loophathach
2025-03-06midi host: skip rx data with all zeroeshathach
2024-11-28made change per reviews, remove dcd_edpt_close(), rename and move thing aroundhathach
2024-11-21use TUD_EPBUF_DEF to declare buffer memory for midihathach
2024-11-21make sure usb buffer occupies whole cache line when DCACHE is enabled for ↵hathach
msc,cdc,hid HIL enable device DMA for p4
2024-10-25more progress on dwc2 hcd, initial code for edpt xferhathach
2024-10-11change tusb_init(), tusb_rhport_init() to use init struct for expandabilityhathach
2024-04-19- clang h743 build and run cdc_msc okhathach
- switch unit test back to gcc, since path to clang conflict on local setup (x86 and arm)
2024-01-15fix conflict of BIT() macrohathach
2023-09-27change hcd_int_handler(rhport, in_isr) signature: add in_isrhathach
change tuh_int_handler() to take in_isr as optional parameter (default = true)
2023-09-06minor debug clean uphathach
2023-08-09update to dcd ip3511 to add work-around for lpc54628 usb hs errata USB.1 and ↵hathach
USB.2 msc is mounted, but device couldn't work reliably and got constant reset due to other errata probably.
2023-07-27Merge branch 'master' into renesas_ra_hs_rebasedhathach
2023-07-24Merge branch 'master' into hcd-abort-xferHa Thach
2023-07-24change dcache clean/invalidate return type to boolhathach
add tu_assert() check for aligned 32byte address for imxrt
2023-07-21implement hcd_edpt_abort_xfer() for EHCI, also move thing around a bithathach
2023-07-07use unaligned access read for hw fifohathach
2023-03-21add tuh_set_interfacehathach
2023-03-17update host example, add pio-pico-usb for rp2040hathach
2023-02-27Merge pull request #1852 from silvergasp/mem_sHa Thach
fix: Replace device calls to memcpy with tu_memcpy_s
2023-02-27minor clean uphathach
2023-02-22move and add optional tusb_app_virt_to_phys/tusb_app_phys_to_virthathach
also add place holder for tusb_app_dcache_flush() and tusb_app_dcache_invalidate()
2023-01-13fix: Replace device calls to memcpy with tu_memcpy_sNathaniel Brough
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.