summaryrefslogtreecommitdiff
path: root/src/portable/st/stm32_fsdev/fsdev_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-04-17fix some Wconversion warningshathach
2026-03-16Unify USB FSDEV driver implementation for various microcontrollers. Replace ↵hathach
`FSDEV_BUS_32BIT` with `CFG_TUSB_FSDEV_32BIT`, adjust data/address stride macros, and refactor register/PMU access for consistency across platforms.
2026-03-16Consolidate USB FSDEV register definitions for STM32, CH32, and AT32 ↵hathach
microcontrollers. Replace vendor-specific macros with unified `U_`-prefixed equivalents, ensuring consistency and reducing duplication across all platforms.
2026-02-05reverse pma size check to reduce duplicationhathach
2026-01-26fix stm32u0 data strideZixun LI
Signed-off-by: Zixun LI <[email protected]>
2026-01-06rename FSDEV_PMA_SIZE CFG_TUSB_FSDEV_PMA_SIZEhathach
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-11-27Add fsdev_deinitZixun LI
Signed-off-by: Zixun LI <[email protected]>
2025-11-27extract core resetZixun LI
Signed-off-by: Zixun LI <[email protected]>
2025-11-25fsdev: reorganize functionsHiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2024-07-31rename to fsdev_type.h, use FSDDEV_REG instead of USBhathach
2024-07-31refactor dcd_ep_ctr_handlerhathach
2024-07-31rename to ep_read/write(), drop USBx argumenthathach
2024-07-31remove all pcd ep read, modify writehathach
2024-07-31fix ep_add_dtog()hathach
2024-07-31clean up dcd_edpt_stall/clear_statllhathach
2024-07-31improve using ep_add_status/ep_add_dtoghathach
2024-07-31correct ep toggle bithathach
2024-07-30add edpt0_open(), slightly update dtoghathach
2024-07-30improve set endpointhathach
2024-07-30move align buffer to pma_alloc()hathach
2024-07-30refactor btable_set_rx_bufsize()hathach
2024-07-30more btable set/get clean uphathach
2024-07-26implement btable_set_addr/counthathach
2024-07-25refactor btable tx/rx into arr[2]hathach
2024-07-25simplify btable rx/tx count/address accesshathach
2024-07-23fsdev read/write packet use unaligned functionhathach
2024-06-14[STM32 FSDEV] Simplify toggle bit logicOkarss
2024-05-24add ch32 support for fsdev driver. v20x can select fsdev or usbfs with ↵hathach
make/cmake PORT=0/1. default to fsdev