summaryrefslogtreecommitdiff
path: root/src/device
AgeCommit message (Collapse)Author
2023-02-22use tu_static instead of static _fuzz_threadhathach
2023-02-22rename maros from FUZZ to _FUZZ, change TU_STATIC to static _fuzz_threadhathach
2023-01-20fix: Change all static variables to thread when fuzzingNathaniel Brough
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.
2023-01-06minimize tu_fifo size to 16hathach
- remove non_used_index_space - packed overwritable with item_size
2022-12-30Add ISO buffer allocation.Mengsk
2022-12-29Use weak for dcd_edpt_iso_alloc/dcd_edpt_iso_activateMengsk
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-12-21fix cihathach
2022-12-16Merge pull request #1799 from hathach/update-osal-mutexHa Thach
Update osal mutex
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-14fix midi MS Header wTotalLength computationhathach
2022-12-08Correct interrupt polling interval in descriptorSebastien COUDREAU
Use macro argument instead of 0x16 constant value. At least Linux kernel was complaining about this value: "config 1 interface 0 altsetting 0 endpoint 0x82 has an invalid bInterval 22, changing to 8" (warning obtained using usbtmc device config)
2022-12-04Fix typosBastien Nocera
2022-11-19Merge branch 'hathach:master' into midihostAndrzej Tokarski
2022-11-13Make USB MIDI device code allow a device with no Audio Control interfacerppicomidi
2022-11-13Add hooks to allow cloning an attached USB device descriptorrppicomidi
2022-11-11MIDI: support port name stringsKay Sievers
This allows to set custom descriptive names for virtual MIDI ports/cables. A MIDI port offers different functionality on the same physical USB device. The names make it easier to distinguish one from the other.
2022-09-13Don't assume different enum types can be combinedBen Avison
IAR generates warning Pa089 'enumerated type mixed with another enumerated type'.
2022-06-30rp2040 enable SOF as resumed signal when remote wakeuphathach
2022-06-27Merge branch 'master' into add-more-warningshathach
2022-06-27clean up usbd log levelhathach
2022-06-24fix redundant-decls warnings by usbd/usbhhathach
2022-06-24add more warning option, also fix -Wconversion with rp2040hathach
-Wuninitialized, -Wunused, -Wredundant-decls
2022-06-10more dynamic controller for hosthathach
2022-06-10revert sof_isr driver rename since it cause issue with existing codehathach
also removed commented tud_sof_isr_set() API
2022-06-08add tuh_configure() for port/dynamic host behavior confighathach
2022-06-02rhport argument in usbd_ API() is not used (always use the initialized port)hathach
remove the usage of TUD_OPT_RHPORT in class driver
2022-05-31Merge pull request #1381 from hathach/add-sof-isrHa Thach
Add SOF IRQ Handler
2022-05-13changes proposal to audio feedback computationhathach
2022-04-28more clean uphathach
2022-04-27clean uphathach
2022-04-27add TU_ATTR_FAST_FUNC for rp2040 __not_in_flash() sectionhathach
2022-04-21Merge branch 'master' into pio-hosthathach
2022-04-20add note for tud_task() behavior in freertos examplehathach
2022-04-20add tud_task_ext(), tuh_task_ext() as exteneded version that take timeout ↵hathach
and in_isr also allow exit tud_task,tuh_task after processing all events for running other background task for user
2022-04-20add msec timeout to osal_queue_receive(), tud_task() and tuh_task() both ↵hathach
pending for event queue with timeout of 1 ms
2022-04-18clean up pio driverhathach
2022-03-29clean up and comment out tud_sof_isr_sethathach
2022-03-16Add todos and commentsReinhard Panhuber
2022-03-14Merge remote-tracking branch 'upstream/add-sof-isr' into add-sof-isrReinhard Panhuber
2022-03-14Add SOF callback function for feedback value determination in uac - wip!Reinhard Panhuber
2022-03-14Merge branch 'master' into add-sof-isrHa Thach
2022-03-10refactor and integrate usbh control xfer back to usbh.chathach
fix enumeration with hub when reset port before set address
2022-03-09refactor usbd to also use common endpoint claim/releasehathach
2022-03-09adding tusb_private.h to implement common edpt claimhathach
2022-03-09add tusb_debug.h remove tusb_error.hhathach
move debug utils to new header
2022-03-09update use of mutex for hosthathach
2022-03-07added dcd_sof_enable(), tud_sof_isr_set()hathach
make number of interface configurable (default to 8) CFG_TUD_INTERFACE_MAX