summaryrefslogtreecommitdiff
path: root/src/device/dcd.h
AgeCommit message (Collapse)Author
2025-11-17make TUP_DCD_EDPT_ISO_ALLOC i.e dcd_edpt_iso_alloc()/dcd_edpt_iso_activate() ↵hathach
as default driver implementation. dcd_edpt_close() is deprecated and will be removed from all driver in the future.
2025-11-04Fixed more alert found by PVS-Studiohathach
2025-10-24fix more warningshathach
2025-09-17Update weak callbacks to new syntaxHiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2024-11-25change dcd_dcache_*() API return type from void to boolhathach
2024-11-20have p4 dma somewhat working but having issue with buffer that does not ↵hathach
occupy the whole cache line
2024-10-14change dcd_init() return from void to boolhathach
2024-10-14change the tusb_rhport_init_t struct, exclude the rhport to make API more ↵hathach
consistent
2024-10-11fix fuzzing buildhathach
2024-10-11change dcd_init() to take rhport structhathach
2024-08-19remove weak from dcd_edpt_close() for port without TUP_DCD_EDPT_ISO_ALLOChathach
2024-08-19fix ci buildhathach
2024-08-19implement dcd_edpt_iso_alloc/dcd_edpt_iso_activate for musb. video_capture ↵hathach
example with iso kind of work but not smoothly. audio example does not seems to work as expected
2024-07-30add edpt0_open(), slightly update dtoghathach
2024-07-25fix race condition where reset event cleaar setup counthathach
2024-07-12simplify dwc2 test modehathach
- all dwc2 ip seems to support test mode in both fs/hs -> remove TUP_USBIP_DWC2_TEST_MODE - remove dcd_check_test_mode_support(), all should be supported - move enum tusb_feature_test_mode_t to tusb_types.h
2024-05-24minor clean uphathach
2024-05-24add ch32 support for fsdev driver. v20x can select fsdev or usbfs with ↵hathach
make/cmake PORT=0/1. default to fsdev
2024-05-13Adjust logic.HiFiPhile
2024-05-13Merge branch 'master' into test-mode-supportHiFiPhile
2024-04-08add class driver deinithathach
2024-04-08Implements tuh_deinit() and tud_deinit() to uninitialize host/device mode.Felix "xq" Queißner
2024-01-15Merge branch 'master' into test-mode-supportRocky04
2024-01-15Removed whitespaceRocky04
2024-01-15Change to control complete cbRocky04
2024-01-15Add DWC2 Test Mode SUpportRocky04
2024-01-12Merge pull request #2239 from XelaRellum/bugfix_stm32_fsdev_keilHa Thach
Fixes #1018 the weak dcd_edpt0_status_complete for Keil Compiler
2023-11-24minor dochathach
2023-08-29Fix the weak dcd_edpt0_status_complete for Keil CompilerAlexander Mueller
The Keil compiler seems to have different semantics and the defined function was never called. The same is probably true for the other weak functions. I can change those too.
2023-06-16fix build warningshathach
2023-06-09move protocol message to stack, disable battery in PWR's CR3hathach
there is still issue with CC1/CC2 pull down resistor and vstate is not correct.
2023-05-23Enhance chipidea (#2075)Ha Thach
* update chipidea dcd, remove manual ep_count and use DCCPARAMS to get number of endpoint instead * add dcd dcache for chipidea * add cmake for lpc18 * add makefile build for mcx * use fork of mcu sdk * fix ci build with nrf * flash rp2040 with openocd
2023-03-17fix trailing space and new linehathach
temporarily disable codespell
2023-02-28Merge pull request #1828 from HiFiPhile/stm32_fsdevHa Thach
stm32_fsdev & ISO EP buffer allocation improvements
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.
2022-12-29UAC : Enable fifo based transfer on stm32_fsdevMengsk
2022-12-29Add dcd_edpt_iso_alloc() / dcd_edpt_iso_activate() for ISO EP buffer management.Mengsk
2022-06-24fix redundant-decls warnings by usbd/usbhhathach
2022-05-31Merge pull request #1381 from hathach/add-sof-isrHa Thach
Add SOF IRQ Handler
2022-04-18clean up pio driverhathach
2022-03-07added dcd_sof_enable(), tud_sof_isr_set()hathach
make number of interface configurable (default to 8) CFG_TUD_INTERFACE_MAX
2022-02-26more internal renamehathach
2022-02-25rename and move dcd_attr.h to tusb_mcu_attr.hhathach
2021-11-30Ignore certain compiler options on ARMCCYunhao Tian
ARMCC also sets __GNU__ macro, but doesn't support GCC diagnostic pragmas.
2021-10-14More warning cleanupgraham sanderson
- physically suppress warnings in TinyUSB headers using pragmas so they don't break -Werror compilation of external files that include them - fix compiler warnings in rp2040 port - add cmake method to rp2040 port to allow an external project to suppress warnings in TinyUSB itself
2021-09-01rp2040 correct ep set/clear stallhathach
- stall will remove pending (not complete) transfer. Correct reset data toggle when clear stall. - remove buf ctrl debug code
2021-08-26add dcd_edpt_close_all() for clear existing configured statehathach
correctly responded to TD 9.13 Set Configuration Test
2021-08-12simplify hw_endpoint_init()hathach
2021-07-22fix cihathach
2021-07-22add dcd_attr for DCD_ATTR_ENDPOINT_MAXhathach
could be useful with more dcd specific attribute