<feed xmlns='http://www.w3.org/2005/Atom'>
<title>tinyusb.git/src/osal, branch merge_os</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/tinyusb.git/atom/src/osal?h=merge_os</id>
<link rel='self' href='http://cgit.235523.xyz/tinyusb.git/atom/src/osal?h=merge_os'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/tinyusb.git/'/>
<updated>2026-06-22T19:39:36Z</updated>
<entry>
<title>address review</title>
<updated>2026-06-22T19:39:36Z</updated>
<author>
<name>HiFiPhile</name>
<email>admin@hifiphile.com</email>
</author>
<published>2026-06-22T19:39:36Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/tinyusb.git/commit/?id=0d7318de1b7c711359b2fff2b70e64eb8f0c2e91'/>
<id>urn:sha1:0d7318de1b7c711359b2fff2b70e64eb8f0c2e91</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge remote-tracking branch 'tinyusb/master' into pr-osal-spin-deinit</title>
<updated>2026-06-22T19:30:58Z</updated>
<author>
<name>HiFiPhile</name>
<email>admin@hifiphile.com</email>
</author>
<published>2026-06-22T19:30:58Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/tinyusb.git/commit/?id=693cdce08e14833f26f4e8a1f26e4fd546be4c35'/>
<id>urn:sha1:693cdce08e14833f26f4e8a1f26e4fd546be4c35</id>
<content type='text'>
Signed-off-by: HiFiPhile &lt;admin@hifiphile.com&gt;
</content>
</entry>
<entry>
<title>osal: add missing osal_spin_deinit()</title>
<updated>2026-06-22T19:23:49Z</updated>
<author>
<name>HiFiPhile</name>
<email>admin@hifiphile.com</email>
</author>
<published>2026-06-22T19:23:49Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/tinyusb.git/commit/?id=f9698aedaebe9b6edd4a13670cd1bfcb35883136'/>
<id>urn:sha1:f9698aedaebe9b6edd4a13670cd1bfcb35883136</id>
<content type='text'>
Signed-off-by: HiFiPhile &lt;admin@hifiphile.com&gt;
</content>
</entry>
<entry>
<title>fix(host): release spinlock in tuh_deinit to fix multi-rebuild panic</title>
<updated>2026-06-21T09:46:26Z</updated>
<author>
<name>renjie</name>
<email>renjieah@gmail.com</email>
</author>
<published>2026-06-21T06:06:23Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/tinyusb.git/commit/?id=f7617168e2ce2e7ea2e49cba5962b69aed04900e'/>
<id>urn:sha1:f7617168e2ce2e7ea2e49cba5962b69aed04900e</id>
<content type='text'>
tuh_rhport_init() calls osal_spin_init(&amp;_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) &lt;noreply@anthropic.com&gt;
</content>
</entry>
<entry>
<title>Implement asynchronous control transfer queuing for USB host stack</title>
<updated>2026-05-29T09:16:21Z</updated>
<author>
<name>hathach</name>
<email>thach@tinyusb.org</email>
</author>
<published>2026-05-29T09:16:21Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/tinyusb.git/commit/?id=d754c0697cbd29874c56254bd97561349fb9a229'/>
<id>urn:sha1:d754c0697cbd29874c56254bd97561349fb9a229</id>
<content type='text'>
- Added a pending FIFO queue for asynchronous control transfers when the active slot is busy.
- Introduced `control_xfer_dispatch_pending` to handle queued transfers on slot availability.
- Improved synchronization for blocking and non-blocking transfer modes, preventing deadlocks in RTOS.
- Refactored and renamed related functions for clarity and consistency.
- Enhanced error handling and callback invocation for failed or stale transfers.
</content>
</entry>
<entry>
<title>osal add osal_task_get_current_handle()</title>
<updated>2026-05-27T12:20:58Z</updated>
<author>
<name>hathach</name>
<email>thach@tinyusb.org</email>
</author>
<published>2026-05-27T12:20:58Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/tinyusb.git/commit/?id=616acfa7328b1a05ea0370a3628fc6a07f4caf57'/>
<id>urn:sha1:616acfa7328b1a05ea0370a3628fc6a07f4caf57</id>
<content type='text'>
</content>
</entry>
<entry>
<title>osal/mynewt: fix queue receive tiemout</title>
<updated>2026-03-27T14:44:24Z</updated>
<author>
<name>HiFiPhile</name>
<email>admin@hifiphile.com</email>
</author>
<published>2026-03-27T14:44:24Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/tinyusb.git/commit/?id=653e6300a3dafbfb9f448879eaf874dca3e86a12'/>
<id>urn:sha1:653e6300a3dafbfb9f448879eaf874dca3e86a12</id>
<content type='text'>
Signed-off-by: HiFiPhile &lt;admin@hifiphile.com&gt;
</content>
</entry>
<entry>
<title>remove TUSB_MCU_VENDOR_ESPRESSIF, use ESP_PLATFORM for Espressif</title>
<updated>2026-03-13T05:39:24Z</updated>
<author>
<name>hathach</name>
<email>thach@tinyusb.org</email>
</author>
<published>2026-03-13T05:39:24Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/tinyusb.git/commit/?id=911956f4534701f7fd06af8758f8e0ada0d3456b'/>
<id>urn:sha1:911956f4534701f7fd06af8758f8e0ada0d3456b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>add IAR warning flags to cmake build and fix them</title>
<updated>2026-03-05T16:24:14Z</updated>
<author>
<name>hathach</name>
<email>thach@tinyusb.org</email>
</author>
<published>2026-03-05T16:24:14Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/tinyusb.git/commit/?id=61e4b9ce3fba2fea731396c56eee1c7b5a2f5338'/>
<id>urn:sha1:61e4b9ce3fba2fea731396c56eee1c7b5a2f5338</id>
<content type='text'>
</content>
</entry>
<entry>
<title>improve threadx support, add multi ROTS support for board_test and msc_dual_lun</title>
<updated>2026-03-05T10:51:57Z</updated>
<author>
<name>hathach</name>
<email>thach@tinyusb.org</email>
</author>
<published>2026-03-05T10:51:57Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/tinyusb.git/commit/?id=70c93adc2f6264015cae597a9abe58ad2e1aaee6'/>
<id>urn:sha1:70c93adc2f6264015cae597a9abe58ad2e1aaee6</id>
<content type='text'>
</content>
</entry>
</feed>
