summaryrefslogtreecommitdiff
path: root/src/common
AgeCommit message (Collapse)Author
2023-03-01add TUP_USBIP_FSDEV and TUP_USBIP_FSDEV_STM32, clean up ifdef with stm32hathach
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-22Merge pull request #1491 from Ryzee119/ohci_fixesHa Thach
OHCI usbh, tweaks and improvements
2023-02-22white spacehathach
2023-02-22move and add optional tusb_app_virt_to_phys/tusb_app_phys_to_virthathach
also add place holder for tusb_app_dcache_flush() and tusb_app_dcache_invalidate()
2023-02-22use tu_static instead of static _fuzz_threadhathach
2023-02-22rename OHCI_RHPORTS to TUP_OHCI_RHPORTShathach
2023-02-22Merge pull request #1867 from silvergasp/thread_local_globalsHa Thach
fix: Change all static variables to thread when fuzzing
2023-02-22rename maros from FUZZ to _FUZZ, change TU_STATIC to static _fuzz_threadhathach
2023-02-18ohci: Support configurable number of roothub portsRyzee119
2023-01-21update stm32f1 to support iar buildhathach
2023-01-20fix: Change all static variables to thread when fuzzingNathaniel Brough
2023-01-20add helper tu_desc_find/find2/find3hathach
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-12add TUP_RHPORT_HIGHSPEED for ch32v307hathach
2023-01-07Merge branch 'master' into ch32v307Ha Thach
2023-01-07minor clean uphathach
2023-01-07remove _ff_overflowed() due to lack of usehathach
2023-01-07simplify _ff_correct_read_index()hathach
2023-01-07reverse idx2ptr() arguments to be consistenthathach
2023-01-07update advance_pointer/backward_pointer to use depth instead of fifo, also ↵hathach
rename to advance/backward_index
2023-01-07simplify _tu_fifo_count() and _tu_fifo_remaining(), also rename to ↵hathach
_ff_count() and _ff_remaining()
2023-01-07simplify and remove _tu_fifo_empty, _tu_fifo_full. Also correct full ↵hathach
condition check
2023-01-07minor clean uphathach
2023-01-06minimize tu_fifo size to 16hathach
- remove non_used_index_space - packed overwritable with item_size
2023-01-06minor clean uphathach
2023-01-06Merge branch 'master' into fix-fifo-memory-overflowhathach
2022-12-24add tuh_cdc_peek()hathach
2022-12-22fix stream read count computationhathach
2022-12-22moving edpt_stream API into common tusb.chathach
2022-12-21rename TU_LOG_VAR to TU_LOG_PTR, print out setup of failed control transfer ↵hathach
when LOG=1
2022-12-20fix hid host incorrect edpt release if failed to transmithathach
add CDC_CONTROL_LINE_STATE_DTR/RTS, TUSB_INDEX_INVALID enum
2022-12-16add common EPSIZE for bulk/iso in full and highspeedhathach
adding cdc host fifo tx/rx
2022-12-16update fifo per PanRe reviewhathach
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-12fix int conversion warningshathach
2022-12-10clean uphathach
2022-12-09add fifo implementation notehathach
- handle/fix double overflowed with write() - other minor clean upp
2022-12-08enhance tu fifohathach
- rename wr/rd absolute to index, and rel to pointer. - fix crash with _tu_fifo_remaining() - change get_relative_pointer() to idx2ptr() and merge with _ff_mod()
2022-12-04Fix typosBastien Nocera
2022-11-28Retry a few times with transfers in enumeration since device can be unstable ↵hathach
when starting up
2022-11-04fix -wconversion-int and add minor commenthathach
2022-11-04Merge branch 'master' into rp2040-hcd-bulkHa Thach
2022-10-13Add support for STM32U5 mcuLynnL4
2022-10-06Microchip PIC24/dsPIC33 device mode supportReimuNotMoe
2022-07-14abtract attribute fallthroughhathach
2022-07-01mimxrt: Change OPT_MCU_MIMXRT1xXX to OPT_MCU_MIMXRT.robert-hh
Which fits both MIMXRT10XX and MIMXRT11XX.
2022-06-30mimxrt: Add/change definitions for MIMXRT11XX boards.robert-hh
These are mostly identical to the MIMXRT10XX, with one tiny difference.
2022-06-24add more warning option, also fix -Wconversion with rp2040hathach
-Wuninitialized, -Wunused, -Wredundant-decls