summaryrefslogtreecommitdiff
path: root/src/device
AgeCommit message (Collapse)Author
2024-03-13usbd only process last setup packet in the event queuehathach
2024-03-11reformat codehathach
2024-02-08missing \r\n after TU_LOG_BUF => moved \r\n to tu_print_buf()IngHK
2024-01-12style changeshathach
2024-01-12- change tuh_event_hook_cb, tud_event_hook_cb to weak default implementationhathach
- change code style
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-12-13try to add samd51 to hil pool using doublereset (rpi gpio) and bossachathach
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-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-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