summaryrefslogtreecommitdiff
path: root/src/device/dcd.h
AgeCommit message (Collapse)Author
2023-11-24minor dochathach
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
2021-06-10implement usbh_edpt_busy (WIP), remove hcd_edpt_busyhathach
2021-05-27include clean uphathach
2021-05-23clean uphathach
2021-03-10fix ci build with rp2040hathach
2021-03-02Rename dcd_edpt_iso_xfer() to dcd_edpt_xfer_fifo()Reinhard Panhuber
2021-01-31Rework audio driverReinhard Panhuber
2021-01-19Change names from edpt_ISO_xfer to edpt_iso_xferReinhard Panhuber
2021-01-18Add tusb_fifo.h header file to dcd.hReinhard Panhuber
2020-10-12add usbh_edpt_claim/releasehathach
implement USBH_EVENT_FUNC_CALL
2020-09-05add in_isr to all hcd event functionshathach
2020-09-03rename tuh_isr/hcd_isr to tuh_int_handler/hcd_int_handlerhathach
2020-05-31fixed EP0 size to 64 since LS is not supported in device modehathach
- set turn-around and report actual speed in Enum Done - add dcd_event_bus_reset() helper to report speed
2020-04-17complete remove dcd_set_config(), fix unit testhathach
2020-04-17mass rename tud/dcd_irq_handler to tud/dcd_init_handlerhathach
2020-04-16Merge pull request #336 from pigrew/edpt_closeHa Thach
> If you notice my chain of events above, the bulk transfer was started BEFORE the SET_INTERFACE call. The USB device hardware swaps the order of them being delivered. On STM32, it gives priority to the lower-numbered EP index. It shouldn't be a matter, control is 2+ stage, before sending the setup. Host should stop all communication to the endpoint that It wants to close.
2020-04-16added dcd disconnect/connect to lpc17/40hathach
2020-04-14Merge branch 'master' into edpt_closeNathan Conrad
2020-04-13edpt_close: Remove item from queue instead of modifying it.Nathan Conrad
2020-04-12Skeleton, and initial stm32fsdev implementation (that leaks memory)Nathan Conrad
2020-04-11Merge branch 'master' into refactor-irqhandlerHa Thach
2020-04-10stm32fsdev: set dcd_connect API definitions to strong, Modify documentation.Nathan Conrad
2020-04-09stm32fsdev: Implement dcd_connect.Nathan Conrad
2020-04-09adding dcd_connect/disconnecthathach
2020-04-06call tud_irq_handler() for all nrf5x boardhathach
2020-04-06mass rename dcd_isr() to dcd_irq_handler()hathach
2020-04-06move irqhandler to applicationhathach
tud_isr() must be called by application to forward the irqhandle to the stack
2020-01-15Normalize line endingsNathan Conrad
2019-11-28add dcd_edpt0_status_complete() which is useful for several mcu porthathach