summaryrefslogtreecommitdiff
path: root/src/device
AgeCommit message (Collapse)Author
2023-11-24minor dochathach
2023-11-24Merge pull request #2303 from projectgus/feature/isr_event_hookHa Thach
Add optional hooks for DCD and HCD events
2023-11-24add optional event hook callback tud_event_hook_cb() and tuh_event_hook_cb()hathach
2023-11-24rename to CFG_TUD_BTH_HISTORICAL_COMPATIBLE, move CFG_TUD_BTH_ISO_ALT_COUNT ↵hathach
to tusb_option.h and mandatory for BTH driver
2023-11-23Add optional hooks for DCD and HCD eventsAngus Gratton
These are intended to allow bare metal platforms with one-shot scheduling capabilities to schedule the TinyUSB task handlers whenever they know there is work for them to do. Signed-off-by: Angus Gratton <[email protected]>
2023-10-24Update audio_4_channel_mic example for HS device.HiFiPhile
2023-09-06minor debug clean uphathach
2023-08-18- update nrf52 bsp for cmakehathach
- add empty tuh_int_handler/tud_int_handler if corresponidng stack not enabled - add hcd_template.c
2023-08-15more minor clean uphathach
- also rename usbh_classdriver.h to usbh_pvt.h to consitent with usbd
2023-08-07Correcting commentsRocky04
2023-08-07Fixing wrong callback placementRocky04
2023-08-02Set unmounted on configuration resetRocky04
2023-07-24rename CFG_TUSB_MEM_SECTION to CFG_TUD_MEM_SECTION in device stackhathach
CFG_TUD_MEM_SECTION is default to CFG_TUSB_MEM_SECTION
2023-07-20improve logging, allow easier to turn off usbd, driver logginghathach
can be useful when focusing on let's say usbh
2023-06-21Merge pull request #2101 from eustas/patch-1Ha Thach
Fix typos
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-06-08Fix typosEugene Kliuchnikov
2023-06-07able to response with good crchathach
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-05-16usbd: fix control transfer issue for chipidea hs when previous status and ↵hathach
new setup complete in the same isr frame change usbd edpt busy/stalled/claimed value to 0/1 instead of (true/false) since they are 1-bit field.
2023-05-16correct EHCI reporting failed xfer (instead of stalled) when device is unpluggedhathach
2023-03-22use tud_inited() instead of tusb_inited()hathach
2023-03-18minor clean uphathach
2023-03-17Merge branch 'master' into portabilityhathach
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-02-28rename ep_num to ep_idx, minor clean uphathach
2023-02-27Merge pull request #1852 from silvergasp/mem_sHa Thach
fix: Replace device calls to memcpy with tu_memcpy_s
2023-02-27minor clean uphathach
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-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