<feed xmlns='http://www.w3.org/2005/Atom'>
<title>tinyusb.git/src/portable/wch, branch claude/adoring-pasteur-kbaFa</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/tinyusb.git/atom/src/portable/wch?h=claude%2Fadoring-pasteur-kbaFa</id>
<link rel='self' href='http://cgit.235523.xyz/tinyusb.git/atom/src/portable/wch?h=claude%2Fadoring-pasteur-kbaFa'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/tinyusb.git/'/>
<updated>2026-05-26T13:00:31Z</updated>
<entry>
<title>ch32_usbhs: fix endpoint stall length index and clear-stall response</title>
<updated>2026-05-26T13:00:31Z</updated>
<author>
<name>Jie Feng</name>
<email>hjf3108@gmail.com</email>
</author>
<published>2026-05-21T06:52:38Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/tinyusb.git/commit/?id=d63a45509fd283f5ffccc29cd8569e6efd075c59'/>
<id>urn:sha1:d63a45509fd283f5ffccc29cd8569e6efd075c59</id>
<content type='text'>
Fix issue in the stall handling:

- dcd_edpt_stall() for an IN endpoint cleared EP_TX_LEN(0) instead of
  EP_TX_LEN(ep_num), clobbering endpoint 0's transmit length register
  when stalling any other IN endpoint.

Co-Authored-By: Claude Opus 4.7 (1M context) &lt;noreply@anthropic.com&gt;
</content>
</entry>
<entry>
<title>dcd/ch32x: optmize CTRL reg writing, basically revert e14b0e85</title>
<updated>2026-05-23T18:06:50Z</updated>
<author>
<name>HiFiPhile</name>
<email>admin@hifiphile.com</email>
</author>
<published>2026-05-23T18:06:50Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/tinyusb.git/commit/?id=311fb46eb2f963254af6ab206b74828a0ba0273c'/>
<id>urn:sha1:311fb46eb2f963254af6ab206b74828a0ba0273c</id>
<content type='text'>
Signed-off-by: HiFiPhile &lt;admin@hifiphile.com&gt;
</content>
</entry>
<entry>
<title>dcd/ch32hs: refactor transfer flow</title>
<updated>2026-05-23T17:37:47Z</updated>
<author>
<name>HiFiPhile</name>
<email>admin@hifiphile.com</email>
</author>
<published>2026-05-23T17:30:22Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/tinyusb.git/commit/?id=420de14b50dc2b9c1ed7ba587ef22eb227739eee'/>
<id>urn:sha1:420de14b50dc2b9c1ed7ba587ef22eb227739eee</id>
<content type='text'>
Refactor the driver to follow USBFS style for easier maintenance.
Replace the old packet/response helpers with explicit queue and update paths for IN and OUT transfers.
Introduce transfer validity tracking and per-endpoint data toggle state.
Reset toggle state on init, close-all, endpoint close, clear-stall, and bus reset.
Initialize endpoint controls consistently in NAK + TOG_0 mode.
Tighten EP0 setup/status handling and route transfer IRQ processing through the transfer-flag path.
Stop enabling ISO_ACT in INT_EN and clear unhandled interrupt flags explicitly.

Signed-off-by: HiFiPhile &lt;admin@hifiphile.com&gt;
</content>
</entry>
<entry>
<title>dcd/ch32fs: do not set EP0 to ACK on status complete</title>
<updated>2026-05-23T17:21:59Z</updated>
<author>
<name>HiFiPhile</name>
<email>admin@hifiphile.com</email>
</author>
<published>2026-05-23T17:21:59Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/tinyusb.git/commit/?id=c6beac24ca280ce13e538f0b9459553abc825571'/>
<id>urn:sha1:c6beac24ca280ce13e538f0b9459553abc825571</id>
<content type='text'>
It would casue race condition, SETUP packet is always acked.

Signed-off-by: HiFiPhile &lt;admin@hifiphile.com&gt;
</content>
</entry>
<entry>
<title>dcd/ch32fs: clear INT flag after processing</title>
<updated>2026-05-23T15:45:16Z</updated>
<author>
<name>HiFiPhile</name>
<email>admin@hifiphile.com</email>
</author>
<published>2026-05-23T15:45:16Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/tinyusb.git/commit/?id=08cd5c3270e79ed2e63c8941c13c84027a5c003e'/>
<id>urn:sha1:08cd5c3270e79ed2e63c8941c13c84027a5c003e</id>
<content type='text'>
Signed-off-by: HiFiPhile &lt;admin@hifiphile.com&gt;
</content>
</entry>
<entry>
<title>dcd/ch32x : code reformat</title>
<updated>2026-05-23T11:10:47Z</updated>
<author>
<name>HiFiPhile</name>
<email>admin@hifiphile.com</email>
</author>
<published>2026-05-23T11:10:47Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/tinyusb.git/commit/?id=b66fc7e88400caf7748779c7dc0b9c90f90e626b'/>
<id>urn:sha1:b66fc7e88400caf7748779c7dc0b9c90f90e626b</id>
<content type='text'>
Signed-off-by: HiFiPhile &lt;admin@hifiphile.com&gt;
</content>
</entry>
<entry>
<title>dcd/ch32fs: set EP to NAK earlier to reduce spuroius transfer</title>
<updated>2026-05-23T11:02:53Z</updated>
<author>
<name>HiFiPhile</name>
<email>admin@hifiphile.com</email>
</author>
<published>2026-05-23T11:02:53Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/tinyusb.git/commit/?id=e14b0e8514ace0043472d9cb0779152fccade1ee'/>
<id>urn:sha1:e14b0e8514ace0043472d9cb0779152fccade1ee</id>
<content type='text'>
Signed-off-by: HiFiPhile &lt;admin@hifiphile.com&gt;
</content>
</entry>
<entry>
<title>dcd/ch32fs: reset EP on clear stall</title>
<updated>2026-05-22T16:14:58Z</updated>
<author>
<name>HiFiPhile</name>
<email>admin@hifiphile.com</email>
</author>
<published>2026-05-22T16:14:58Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/tinyusb.git/commit/?id=28d4ec5723428cbdb085ecdaa70e7fd2bf7f893d'/>
<id>urn:sha1:28d4ec5723428cbdb085ecdaa70e7fd2bf7f893d</id>
<content type='text'>
Signed-off-by: HiFiPhile &lt;admin@hifiphile.com&gt;
</content>
</entry>
<entry>
<title>dcd/ch32fs: fix ISO IN transfer</title>
<updated>2026-05-22T16:13:42Z</updated>
<author>
<name>HiFiPhile</name>
<email>admin@hifiphile.com</email>
</author>
<published>2026-05-22T16:13:42Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/tinyusb.git/commit/?id=61a8f688c800626962cfed4022f4672b35ceb3ae'/>
<id>urn:sha1:61a8f688c800626962cfed4022f4672b35ceb3ae</id>
<content type='text'>
OUT is still buggy

Signed-off-by: HiFiPhile &lt;admin@hifiphile.com&gt;
</content>
</entry>
<entry>
<title>dcd/ch32fs: only enable EP0 ACK if no data stage, reduce race</title>
<updated>2026-05-22T16:04:44Z</updated>
<author>
<name>HiFiPhile</name>
<email>admin@hifiphile.com</email>
</author>
<published>2026-05-22T16:04:44Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/tinyusb.git/commit/?id=66c5f6d45dc90f947261e2e4e62918c2ceb0ce11'/>
<id>urn:sha1:66c5f6d45dc90f947261e2e4e62918c2ceb0ce11</id>
<content type='text'>
Signed-off-by: HiFiPhile &lt;admin@hifiphile.com&gt;
</content>
</entry>
</feed>
