summaryrefslogtreecommitdiff
path: root/src/common/tusb_fifo.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-03-05add IAR warning flags to cmake build and fix themhathach
2026-02-27Fix IAR warningsHiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2026-01-06fix more typoHa Thach
Co-authored-by: Copilot <[email protected]>
2026-01-06fix typoHa Thach
Co-authored-by: Copilot <[email protected]>
2026-01-04update hcd rusb2 to use tu_hwfifo read/writehathach
2026-01-03fix build with dwc2hathach
2026-01-03add default access mode for tu_hwfifo API make it easier for non-custom ↵hathach
read/write
2026-01-03add tu_hwfifo_access_t param to hwfifo APIhathach
2026-01-02refactor hwfifo pull/pushhathach
2026-01-02support multiple data stride if configuredhathach
2026-01-01change signature of tu_hwfifo_* to have hwfifo as first parameterhathach
2026-01-01minor refactorhathach
2025-12-31replace PMA buffer packet read/write by using tu_hwfifo APIhathach
2025-12-31add separate tu_hwifo_*() with data from buffer/software fifo. Remove ↵hathach
duplicated packet write/read for fsdev
2025-12-31update tu_fifo to work with fsdev hwfifo with increased address 16/32bithathach
2025-12-31re-branding fixed address fifo read/write to stride modehathach
2025-12-30tusb_fifo remove item_size make it fifo of byteshathach
2025-12-16make fifo access mode fixed addr work with 16 bit alsohathach
2025-12-12add back tu_fifo_discard_n() since it may be useful in the future.hathach
2025-12-12remove bitfield in usbd_device_t state to reduce code sizehathach
2025-12-10remove tu_fifo_discard_n() and its usagehathach
2025-12-10change tu_fifo_clear()/tu_edpt_stream_clear() from return bool to voidhathach
2025-12-06edpt stream only support non-fifo mode if needed ↵hathach
CFG_TUSB_EDPT_STREAM_NO_FIFO_ENABLED
2025-11-27add tu_fifo_discard_n() and tu_edpt_stream_discard()hathach
2025-11-27more renamehathach
2025-11-26change tu_fifo_buffer_info_t layouthathach
2025-11-26Merge branch 'master' into xfer-fifohathach
# Conflicts: # src/common/tusb_fifo.h
2025-11-25fifo: fix IAR Warning[Pa082]: undefined behavior: the order of volatile ↵Zixun LI
accesses is undefined
2025-11-22more tusb fifo refactor: ff_peek_local() lock mutex if need to correct read ↵hathach
pointer. More rename
2025-11-21edpt stream support xfer_fifo for device CFG_TUD_EDPT_DEDICATED_HWFIFOhathach
cdc device omit ep buffer when hwfifo is supported
2025-11-21more tu_fifo refactorhathach
2025-11-20refactor tu_fifo, add tu_fifo_write/read/peek_n_access()hathach
2025-11-12migrate midi_device to use edpt stream APIhathach
also add tud_midi_n_packet_write/read_n()
2025-11-08fix more alertshathach
2025-10-28fix Identifiers that start with '__' or '_[A-Z]' are reserved.hathach
fix compiling with nuc family
2024-09-03make function prototypes match ( found by cppcheck)dp111
2024-05-06Merge pull request #2618 from HiFiPhile/fifo_const_splitHa Thach
tusb_fifo: skip constant address functions if not used
2024-05-02add cmake for pi zero (renamed from pi zero_w), build but the flash size ↵hathach
seem wrong (only 24 bytes for text)
2024-04-29Guard const addr fifo functions with TUP_MEM_CONST_ADDR.HiFiPhile
2024-03-22code formathathach
2023-01-06minimize tu_fifo size to 16hathach
- remove non_used_index_space - packed overwritable with item_size
2023-01-06minor clean uphathach
2023-01-06Merge branch 'master' into fix-fifo-memory-overflowhathach
2022-12-16update fifo per PanRe reviewhathach
2022-12-15use OSAL_MUTEX_REQUIRED to replace CFG_FIFO_MUTEX/TUSB_OPT_MUTEXhathach
add macro to swallow mutex API in order to simplify code with mutex
2022-12-12fix int conversion warningshathach
2022-12-09add fifo implementation notehathach
- handle/fix double overflowed with write() - other minor clean upp
2022-12-08enhance tu fifohathach
- rename wr/rd absolute to index, and rel to pointer. - fix crash with _tu_fifo_remaining() - change get_relative_pointer() to idx2ptr() and merge with _ff_mod()
2022-12-04Fix typosBastien Nocera