| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2026-06-22 | address review | HiFiPhile | |
| 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 | |||
| 2025-12-30 | tusb_fifo remove item_size make it fifo of bytes | hathach | |
| 2025-11-07 | fix more alerts found by pvs-studio | 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 | |
| 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-03-17 | fix trailing space and new line | hathach | |
| temporarily disable codespell | |||
| 2022-06-27 | fix all warnings with host rp2040 | hathach | |
| 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-02-25 | rename TUSB_OPT_HOST_ENABLED to CFG_TUH_ENABLED | hathach | |
| 2022-02-25 | improve rphort management for usbd | hathach | |
| 2021-05-25 | fix warnings cast function type for nrf, fix pico osal warning | hathach | |
| add TODO for overflow in tusb_fifo.c | |||
| 2021-03-10 | fix ci build with rp2040 | 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 | |||
| 2021-02-16 | This fixes the overflow mathmatic in the fifo | Nicholas R Dinsmore | |
| 2021-01-19 | RP2040 support | graham sanderson | |
