| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2026-07-02 | license: use SPDX identifiers for src/ headers (#3749) | Ha Thach | |
| * license: use SPDX identifiers for src/ headers Replace the full ~20-line MIT license boilerplate on every src/ file with a two-line SPDX tag (SPDX-FileCopyrightText + SPDX-License-Identifier), following the REUSE convention used by CircuitPython and the Linux kernel. Removes ~3500 lines of duplicated boilerplate. | |||
| 2026-06-22 | Merge remote-tracking branch 'tinyusb/master' into pr-osal-spin-deinit | HiFiPhile | |
| Signed-off-by: HiFiPhile <[email protected]> | |||
| 2026-06-21 | fix(host): release spinlock in tuh_deinit to fix multi-rebuild panic | renjie | |
| 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]> | |||
| 2026-05-27 | osal add osal_task_get_current_handle() | hathach | |
| 2026-02-27 | add osal_time_millis() to osal requirement | hathach | |
| implement tusb_time_millis_api() with osal_time_millis() when OS is not NONE | |||
| 2026-02-27 | add back deferred attachment queue, retry get hub port status if reset ↵ | hathach | |
| change not set after 20ms | |||
| 2025-12-30 | tusb_fifo remove item_size make it fifo of bytes | hathach | |
| 2025-12-16 | make fifo access mode fixed addr work with 16 bit also | hathach | |
| 2025-11-19 | return if spin is underflow | hathach | |
| 2025-11-07 | osal/none: add nested count to spin lock | HiFiPhile | |
| Signed-off-by: HiFiPhile <[email protected]> | |||
| 2025-10-28 | fix Identifiers that start with '__' or '_[A-Z]' are reserved. | hathach | |
| fix compiling with nuc family | |||
| 2025-10-24 | fix more warnings | hathach | |
| 2025-09-17 | Replace old delay functions by tusb_time_delay_ms_api | HiFiPhile | |
| Signed-off-by: HiFiPhile <[email protected]> | |||
| 2025-05-21 | osal_spin skipping lock/unlock when executed in isr | hathach | |
| 2025-05-20 | rename osal_critcal to osal_spinlock | hathach | |
| add spinlock implementation for most rtos | |||
| 2025-05-19 | implement osal critical for none/freertos/pico-sdk | hathach | |
| 2025-05-19 | add osal_critical API() for use with dwc2 | hathach | |
| 2025-02-11 | remove freeeRTOSConfig in examples | hathach | |
| 2024-04-16 | add TU_ASSERT() to check for adding new usb event | hathach | |
| 2024-03-22 | update osal API | hathach | |
| add osal_semaphore_delete(), osal_mutex_delete(), osal_queue_delete() | |||
| 2023-11-23 | minor-update | hathach | |
| 2023-07-18 | osal_none: make it possible to override the task delay function | Aladdin Bakosh | |
| 2023-03-17 | fix trailing space and new line | hathach | |
| temporarily disable codespell | |||
| 2023-02-22 | move and add optional tusb_app_virt_to_phys/tusb_app_phys_to_virt | hathach | |
| also add place holder for tusb_app_dcache_flush() and tusb_app_dcache_invalidate() | |||
| 2022-12-15 | use OSAL_MUTEX_REQUIRED to replace CFG_FIFO_MUTEX/TUSB_OPT_MUTEX | hathach | |
| add macro to swallow mutex API in order to simplify code with mutex | |||
| 2022-04-20 | add msec timeout to osal_queue_receive(), tud_task() and tuh_task() both ↵ | hathach | |
| pending for event queue with timeout of 1 ms | |||
| 2022-03-10 | refactor and integrate usbh control xfer back to usbh.c | hathach | |
| fix enumeration with hub when reset port before set address | |||
| 2022-02-25 | improve rphort management for usbd | hathach | |
| 2021-02-26 | add rp2040 to host example build | hathach | |
| 2021-02-19 | add TU_FIFO_INIT() to help with tu_fifo declaration | hathach | |
| tu_fifo_clear() also reset max_pointer_idx and non_used_index_space | |||
| 2020-10-13 | osal_none: Fix queue definition | Jerzy Kasenberg | |
| OSAL_QUEUE_DEF was not updated while FIFO was changed to use unmasked pointers. Two fields that are crucial to new functionality were left uninitialized resulting in FIFO slowing down in time. | |||
| 2020-05-22 | Merge branch 'master' into update-host | hathach | |
| 2020-05-20 | remove queue lock/unlock per review | hathach | |
| 2020-05-20 | remove osal_queue_t const qhdl from osal API | hathach | |
| since it doesn't make any differences. | |||
| 2020-05-20 | added osal_queue_empty() API | hathach | |
| ported for osal none/freertos/mynewt | |||
| 2020-05-04 | temporarily remove osal_task_delay() from osal | hathach | |
| - add hcd_uframe_number() API, update EHCI to return uframe number - get host running on ea4357 | |||
| 2020-01-15 | Normalize line endings | Nathan Conrad | |
| 2019-11-03 | add a bit of log1 for debugging | hathach | |
| 2019-09-27 | add -Wextra for more warnings to example | hathach | |
| non-stack warning (probably mcu driver) should be suppressed in the board.mk | |||
| 2019-05-14 | update license year to 2019 | hathach | |
| 2019-04-02 | clean up | hathach | |
| 2019-03-30 | usbd add connected, suspended, remote_wakeup | hathach | |
| - remove use of osal_queue_reset | |||
| 2019-03-24 | remove tusb_hal_millis() usage, less work for porting | hathach | |
| 2019-03-21 | more with mynewt | hathach | |
| 2019-03-21 | update osal for mynewt | hathach | |
| 2019-03-20 | clean up | hathach | |
| 2019-03-20 | migrate license from BSD 3 clause to MIT | hathach | |
| 2018-12-13 | osal clean up | hathach | |
| remove OSAL_TASK_DEF, osal_task_create. Applicaton should create a task and call tinyusb_task(). This make API consistent with NO OS. | |||
| 2018-12-07 | rename MODE_HOST_SUPPORTED to TUSB_OPT_HOST_ENABLED | hathach | |
| 2018-12-06 | change osal_semaphore_wait to return bool | hathach | |
