summaryrefslogtreecommitdiff
path: root/src/common
AgeCommit message (Collapse)Author
2025-09-29Merge branch 'master' into fork/ennebi/mtphathach
2025-09-27Merge pull request #3256 from hathach/weak_cbHa Thach
Migrate weak function override to new syntax, update delay api usage
2025-09-22Fix erroneous documentation of TU_ASSERT/TU_VERIFYTerje Runde
2025-09-19rework get storageIDs and get storage infohathach
2025-09-17Update weak callbacks to new syntaxHiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2025-09-17use existing overloadable Pico SDK section macro instead of creating a ↵Peter Lawrence
custom one
2025-09-16Add ESP32-H4 as a supported MCU in TinyUSB and wire it into build/runtime:igor.masar
- tusb_option.h: define OPT_MCU_ESP32H4 - tusb_mcu.h: enable DWC2 USBIP for H4 - dcd_dwc2.c: add H4 USB_WRAP field aliases (wrap_* → legacy names) - dwc2_esp32.h: add H4 controller entry (FS base/IRQ, ep caps) - family.c: include H4 in USB init/PHY setup
2025-09-15dwc2: wait for ahb idle before core resethathach
2025-09-10Initial STM32WBARI eval supportDalton Caron
Clean up includes definitions Remove wait that is not required Remove redundant settings Clean up clock configuration to look like other modules Remove MSP_Init that is not required Clean up driver code dhcp: Fix DHCP_OFFER/DHCP_ACK destinaton. In RFC 2131, the destination of DHCP OFFER/ACK is defined in Section 4.1. Fix the destination error by following the rule of RFC 2131. TODO: We implement all rule but the last one. ARP table is required to associate client's macaddr. Currently, fallback to broadcast. Signed-off-by: Elwin Huang <[email protected]> Fix compile error. Fix goto indentation Co-authored-by: Copilot <[email protected]> Fix osal_spin_unlock for mynewt Mynewt version for osal_spin_unlock() called OS_ENTER_CRITICAL instead of OS_EXIT_CRITICAL. Signed-off-by: Jerzy Kasenberg <[email protected]> Add ESP32-C5 and ESP32-C61 definitions fix(dcd/dwc2): Fix reset procedure for versions >=4.20a Fix STM32L4 GPIOD clock enable for variants without GPIOD Add weact blackpill support Add to boards.rst file Fix file Small cleanups. Insert small delay for LowSpeed device Improve retry operation at NAK response. Remove dynamic memory allocation use tusb_time_millis_api() instead of board_millis() make loopdelay() always inline update at32f405 dwc2 info and phy width selection add at32f415 dwc2 info add some consumer page configs remove duplicated enum Initial plan Fix obsolete cnt assignment in _tu_fifo_peek() overflow check Co-authored-by: hathach <[email protected]> Initial plan Update STM32 CMSIS dependencies to fix HSITRIM register bug Co-authored-by: hathach <[email protected]> Remove accidentally committed dependency directories Co-authored-by: hathach <[email protected]> Update all STM32 HAL driver dependencies to latest versions Co-authored-by: hathach <[email protected]> fix linker h745 issue with clang fix linker h745 issue with clang Update all STM32 CMSIS device dependencies to latest versions Co-authored-by: hathach <[email protected]> update pio-usb Create comprehensive GitHub Copilot instructions and fix pre-commit configuration for TinyUSB (#3234) * Initial plan * Create comprehensive GitHub Copilot instructions for TinyUSB Co-authored-by: hathach <[email protected]> * Remove accidentally committed dependencies, use tools/get_deps.py instead Co-authored-by: hathach <[email protected]> * Fix .gitignore: ignore vendor/ directory not ceedling script Co-authored-by: hathach <[email protected]> * Revert .gitignore changes and add README_processed.rst Co-authored-by: hathach <[email protected]> * Remove README_processed.rst and revert ceedling file permissions Co-authored-by: hathach <[email protected]> * Changes before error encountered Co-authored-by: hathach <[email protected]> * Remove redundant manual validation step, keep only pre-commit and build validation Co-authored-by: hathach <[email protected]> * fix pre-commit --------- Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: hathach <[email protected]> modified the bsp files of at32 to make them work better the family name error of at32 has been corrected fix pre-commit STM32N6570-DK board is added. Build with DEBUG=1 (make BOARD=stm32n6570dk DEBUG=1 all), otherwise it does not work for now. Tested with examples/device/cdc_dual_ports
2025-09-10Merge pull request #3126 from salkinium/fix/phyc_pllHa Thach
[stm32] Wait until the PHYC PLL is stable
2025-09-10use tusb_time_delay_ms_api for delay, also move tusb_time api to common.hhathach
2025-09-03Fix obsolete cnt assignment in _tu_fifo_peek() overflow checkcopilot-swe-agent[bot]
Co-authored-by: hathach <[email protected]>
2025-08-15Add ESP32-C5 and ESP32-C61 definitionsScott Shawcroft
2025-08-05Fix AT32F405xx missing USB HS definitionpeppapighs
2025-08-02Merge pull request #3183 from rppicomidi/fix_3159Ha Thach
Fix #3159: Handle MIDI interface after audio streaming interface
2025-08-02use tu_desc_in_bounds() for descriptor loophathach
2025-08-01Merge pull request #3191 from hathach/at32Ha Thach
support at32 mcu (2)
2025-07-07Merge pull request #2963 from HiFiPhile/stm32_cacheHa Thach
Add DWC2 cache maintenance routines for STM32
2025-07-07change CFG_TUSB_MEM_DCACHE_LINE_SIZE_DEFAULT (not defined) to 1hathach
use stock iar linker
2025-07-07support at32 mcuzhiqiang
2025-07-05Use DMA enable for DCache conditionHiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2025-07-05always define CFG_TUH_WCH_USBIP_USBFS=1 for ch32v20x since only port1 ↵hathach
support host mode reformat hcd usbfs add uart rx for ch32v20x bsp
2025-07-03Merge branch 'master' into fork/HiFiPhile/stm32_cachehathach
2025-06-20usbh make TU_API_SYNC() public, to implement sync() API, change return of ↵hathach
sync API from uint8_t to tusb_xfer_result_t
2025-06-18usbh: add new API tuh_descriptor_get_device_local()hathach
cdc host: remove the local desc_dev and the get_device descriptor call for ftdi and pl2303
2025-06-13Add cache line size alignment to buffer macroHiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2025-06-13Add STM32 DWC2 cache supportHiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2025-06-12merge n6 and h7rs (same config)hathach
2025-06-04chore: squash previous commits from other branchesJames Sandison
2025-05-19dwc2 only enter critical in isr with multiple core CPUshathach
2025-05-16follow up to pr3118, interface also end with IAD. Add more checkshathach
2025-04-18enum For string descriptor (langid, manufacturer product, serila): always ↵hathach
get the first 2 bytes to determine the length first. otherwise, some device may have buffer overflow.
2025-03-24device cdc: rename tud_cdc_configure_fifo/_t to tud_cdc_configure/_thathach
add tx_overwritabe_if_not_connected for cdc driver configure
2025-03-06hack: force/overwrite endpoint mps to 64 for device that incorrectly report ↵hathach
512 bytes for bulk in fullspeed mode.
2025-03-06midi host: skip rx data with all zeroeshathach
2025-03-05Merge branch 'master' into fork/atoktoto/midihosthathach
# Conflicts: # src/host/usbh.c
2025-03-03- add tuh_descriptor_get_string_langid() APIhathach
- host enumeration always get language id, manufacturer, product and serial string. Which is required by some device such as 8bitdo
2025-02-24add tuh_midi_descriptor_cb()hathach
2025-02-21Merge branch 'master' into fork/atoktoto/midihosthathach
# Conflicts: # src/host/usbh.c
2025-02-17usbh always retry control transfer (max 3) in case of XFER_RESULT_FAILED.hathach
added tuh_connected()
2025-02-13update midi host to use endpoint stream APIhathach
2024-12-17enable CFG_TUD/THU_MEM_DCACHE_ENABLE for imxrt with M7 by defaulthathach
2024-11-28made change per reviews, remove dcd_edpt_close(), rename and move thing aroundhathach
2024-11-28Merge branch 'master' into fork/pschatzmann/rp2040-isohathach
2024-11-27Add support for the STM32C0 and the NUCLEO-C071RB.David (Pololu)
2024-11-27Fix missing protoype warning, change TUD_EPBUF_TYPE_DEF order (#2889)Ha Thach
* change TUD_EPBUF_TYPE_DEF order * add and fix -Wmissing-prototypes warnings for cmake (skip make)
2024-11-27default CFG_TUH_DWC2_DMA_ENABLE to 0hathach
2024-11-27update device_info example to work with p4 dcachehathach
2024-11-26msc host work ok with p4 dmahathach
2024-11-25change dcd_dcache_*() API return type from void to boolhathach