summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2026-06-22osal: add missing osal_spin_deinit()HiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2026-06-21fix(host): release spinlock in tuh_deinit to fix multi-rebuild panicrenjie
tuh_rhport_init() calls osal_spin_init(&_usbh_spin), which under OPT_OS_PICO claims a hardware spinlock via critical_section_init(). There was no osal_spin_deinit(), so tuh_deinit() never released it: every host init/deinit cycle leaked one spinlock. RP2350 has a small spinlock pool, so a few usb_host rebuilds exhaust it and hw_claim_unused_from_range() panics (the long-standing "crashes on the 4th rebuild" bug). Add osal_spin_deinit() to all OSAL backends (critical_section_deinit for pico; no-op for none/freertos) and call it in tuh_deinit(). Verified 20/20 deinit+rebuild cycles on RP2350-Zero and Waveshare RP2350-USB-A (previously panicked on the 4th). Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
2025-10-02mtp example work with highspeed devicehathach
2025-10-01Merge branch 'master' into fork/ennebi/mtphathach
2025-10-01minor updatehathach
2025-09-29Fix warningMengsk
Signed-off-by: Mengsk <[email protected]>
2025-09-29Disable SBUF_ISO for U0Mengsk
Signed-off-by: Mengsk <[email protected]>
2025-09-29Fix PMA size for U0Mengsk
Signed-off-by: Mengsk <[email protected]>
2025-09-29Merge branch 'master' into fork/ennebi/mtphathach
2025-09-29refactor mtp examples, add phase and session id to callback datahathach
2025-09-27audio: simplify alt settings managementHiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2025-09-27Merge pull request #3256 from hathach/weak_cbHa Thach
Migrate weak function override to new syntax, update delay api usage
2025-09-27make command container more consistenthathach
2025-09-27add edpt claim for public APIhathach
2025-09-27implement serial for MTPhathach
2025-09-27implement control requesthathach
2025-09-26implement tud_mtp_mounted() and tud_mtp_event_send()hathach
refactor phase state
2025-09-26fix more ci buildhathach
2025-09-26fix compile warningshathach
2025-09-25clean up, wrap up bulk command supportedhathach
2025-09-25implement send object command, able to create new filehathach
2025-09-25implement MTP_OP_SEND_OBJECT_INFO, refactor fs examplehathach
2025-09-25Fix incorrect commentsLu Chang
Co-authored-by: Copilot <[email protected]>
2025-09-24Add HID Usage Page and Table for Power Devices (0x84 - 0x85)Lu Chang
2025-09-24clean uphathach
2025-09-24unify callback argument. support multiple packet get objecthathach
2025-09-23refactor APIhathach
2025-09-23try to add logo png to mtp examplehathach
2025-09-22Fix erroneous documentation of TU_ASSERT/TU_VERIFYTerje Runde
2025-09-22implement get object, close sessionhathach
2025-09-21implement get object infohathach
2025-09-21implement get objection handleshathach
2025-09-20implement get device properties describer and device properties valuehathach
2025-09-20implement get device properties valuehathach
2025-09-19rework get storageIDs and get storage infohathach
2025-09-19rework get storageIDs and get storage infohathach
2025-09-19reworking MTP API, adding callback, getting GetDeviceInfo workinghathach
2025-09-18Merge branch 'weak_cb' of https://github.com/hathach/tinyusb into weak_cbHiFiPhile
2025-09-18Add usbd_edpt_xfer_fifo stubHiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2025-09-18set driver count to 0HiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2025-09-18Potential fix for code scanning alert no. 914: Commented-out codeZixun LI
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
2025-09-17Fix address translation functionsHiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2025-09-17Replace old delay functions by tusb_time_delay_ms_apiHiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
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-16remove mtp contexthathach
2025-09-16refactor mtp xfer callbackhathach
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-16refactor generic container to use EPBUF declarationhathach
simplify container field name
2025-09-16merge context into interface and refactor, reformathathach