<feed xmlns='http://www.w3.org/2005/Atom'>
<title>tinyusb.git/src/portable/nordic, branch dcd_ch32hs_spd</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/tinyusb.git/atom/src/portable/nordic?h=dcd_ch32hs_spd</id>
<link rel='self' href='http://cgit.235523.xyz/tinyusb.git/atom/src/portable/nordic?h=dcd_ch32hs_spd'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/tinyusb.git/'/>
<updated>2026-05-08T14:27:53Z</updated>
<entry>
<title>nrf5x: request HFCLK in USB_EVT_READY to fix post-SoftDevice deadlock</title>
<updated>2026-05-08T14:27:53Z</updated>
<author>
<name>hathach</name>
<email>thach@tinyusb.org</email>
</author>
<published>2026-05-08T14:27:53Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/tinyusb.git/commit/?id=6af4ee2c50da68a9bca276b69fccbacf96e2b3ce'/>
<id>urn:sha1:6af4ee2c50da68a9bca276b69fccbacf96e2b3ce</id>
<content type='text'>
USB_EVT_DETECTED runs hfclk_enable() which, when SoftDevice is not yet
enabled, starts HFXO via direct CLOCK register access. After
sd_softdevice_enable() takes over CLOCK, HFXO is physically off again
and SD's HFCLK reference count is 0.

If USB_EVT_READY is fired post-SD (e.g. on nRF52 via Bluefruit's
usb_softdevice_post_enable() when the pre-SD nrfx_power READY callback
didn't get to run before nrfx_power was uninited), the wait loop
'while (!hfclk_running()) {}' calls sd_clock_hfclk_is_running() which
returns false forever -&gt; deadlock that blocks both USB enumeration and
any further app code on the calling thread.

Call hfclk_enable() right before the wait so HFCLK is requested in
whichever context (SD or direct) is current. hfclk_enable() is
idempotent.

Reproduces reliably with bleuart on Feather nRF52840 Express flashed
via JLink: chip wedges in sd_clock_hfclk_is_running SVC, no USB
enumeration, no BLE advertising. With the fix, USB enumerates and BLE
advertises as expected.
</content>
</entry>
<entry>
<title>fix some Wconversion warnings</title>
<updated>2026-04-17T03:16:31Z</updated>
<author>
<name>hathach</name>
<email>thach@tinyusb.org</email>
</author>
<published>2026-04-16T17:10:44Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/tinyusb.git/commit/?id=a6dcc3f089bd4468949ea9e138fea9f80025577e'/>
<id>urn:sha1:a6dcc3f089bd4468949ea9e138fea9f80025577e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix build with zephyr with latest nrfx v4</title>
<updated>2025-11-28T06:34:00Z</updated>
<author>
<name>hathach</name>
<email>thach@tinyusb.org</email>
</author>
<published>2025-11-28T05:55:56Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/tinyusb.git/commit/?id=7d012b014eb27de9a5f34da543c707109c653045'/>
<id>urn:sha1:7d012b014eb27de9a5f34da543c707109c653045</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge remote-tracking branch 'tinyusb/master' into copilot/fix-dcd-edpt-xfer-issue</title>
<updated>2025-11-19T21:05:07Z</updated>
<author>
<name>HiFiPhile</name>
<email>admin@hifiphile.com</email>
</author>
<published>2025-11-19T21:05:07Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/tinyusb.git/commit/?id=85adf694e659bde41b34e2f585cb2db552279064'/>
<id>urn:sha1:85adf694e659bde41b34e2f585cb2db552279064</id>
<content type='text'>
Signed-off-by: HiFiPhile &lt;admin@hifiphile.com&gt;
</content>
</entry>
<entry>
<title>make TUP_DCD_EDPT_ISO_ALLOC i.e dcd_edpt_iso_alloc()/dcd_edpt_iso_activate() as default driver implementation. dcd_edpt_close() is deprecated and will be removed from all driver in the future.</title>
<updated>2025-11-17T05:09:30Z</updated>
<author>
<name>hathach</name>
<email>thach@tinyusb.org</email>
</author>
<published>2025-11-15T12:46:14Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/tinyusb.git/commit/?id=6b28a4478c9f8fa3993d593360eb5574bbdeda22'/>
<id>urn:sha1:6b28a4478c9f8fa3993d593360eb5574bbdeda22</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Apply suggestions from code review</title>
<updated>2025-10-22T19:08:09Z</updated>
<author>
<name>Zixun LI</name>
<email>admin@hifiphile.com</email>
</author>
<published>2025-10-22T19:08:09Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/tinyusb.git/commit/?id=925ba123dac77b1675abeb2455762b52fffdc29b'/>
<id>urn:sha1:925ba123dac77b1675abeb2455762b52fffdc29b</id>
<content type='text'>
Co-authored-by: Copilot &lt;175728472+Copilot@users.noreply.github.com&gt;</content>
</entry>
<entry>
<title>Add is_isr parameter to dcd_edpt_xfer and dcd_edpt_xfer_fifo</title>
<updated>2025-10-22T05:28:31Z</updated>
<author>
<name>copilot-swe-agent[bot]</name>
<email>198982749+Copilot@users.noreply.github.com</email>
</author>
<published>2025-10-22T05:28:31Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/tinyusb.git/commit/?id=31bd4fc169eb002ded3f23e8a6a0b95f3f591efb'/>
<id>urn:sha1:31bd4fc169eb002ded3f23e8a6a0b95f3f591efb</id>
<content type='text'>
Co-authored-by: HiFiPhile &lt;4375114+HiFiPhile@users.noreply.github.com&gt;
</content>
</entry>
<entry>
<title>kind of work with zephyr with pca10056 with cmake -DBUILD_ZEPHYR</title>
<updated>2025-01-23T10:10:48Z</updated>
<author>
<name>hathach</name>
<email>thach@tinyusb.org</email>
</author>
<published>2025-01-23T10:10:01Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/tinyusb.git/commit/?id=31071ccf0e27cc8b77ddb41417665ea82b2b9b35'/>
<id>urn:sha1:31071ccf0e27cc8b77ddb41417665ea82b2b9b35</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix missing protoype warning, change TUD_EPBUF_TYPE_DEF order (#2889)</title>
<updated>2024-11-27T11:28:12Z</updated>
<author>
<name>Ha Thach</name>
<email>thach@tinyusb.org</email>
</author>
<published>2024-11-27T11:28:12Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/tinyusb.git/commit/?id=dbc2c8d9720593ce4b0bbd0c96b3b91f81ce15bb'/>
<id>urn:sha1:dbc2c8d9720593ce4b0bbd0c96b3b91f81ce15bb</id>
<content type='text'>
* change TUD_EPBUF_TYPE_DEF order
* add and fix -Wmissing-prototypes warnings  for   cmake (skip  make)</content>
</entry>
<entry>
<title>change dcd_init() return from void to bool</title>
<updated>2024-10-14T12:42:22Z</updated>
<author>
<name>hathach</name>
<email>thach@tinyusb.org</email>
</author>
<published>2024-10-14T12:42:22Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/tinyusb.git/commit/?id=e83e08343afca86b2bacf26822ef9032571e6f56'/>
<id>urn:sha1:e83e08343afca86b2bacf26822ef9032571e6f56</id>
<content type='text'>
</content>
</entry>
</feed>
