<feed xmlns='http://www.w3.org/2005/Atom'>
<title>tinyusb.git/examples/host/cdc_msc_hid/src, branch hil-add-ea4088qs</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/tinyusb.git/atom/examples/host/cdc_msc_hid/src?h=hil-add-ea4088qs</id>
<link rel='self' href='http://cgit.235523.xyz/tinyusb.git/atom/examples/host/cdc_msc_hid/src?h=hil-add-ea4088qs'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/tinyusb.git/'/>
<updated>2026-09-03T21:03:39Z</updated>
<entry>
<title>examples: write the host cdc console over RTT when that is the console</title>
<updated>2026-09-03T21:03:39Z</updated>
<author>
<name>hathach</name>
<email>thach@tinyusb.org</email>
</author>
<published>2026-09-03T11:19:17Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/tinyusb.git/commit/?id=e08148b3e664c5dd5714334b7528e692e38a3f98'/>
<id>urn:sha1:e08148b3e664c5dd5714334b7528e692e38a3f98</id>
<content type='text'>
console_write() forwards what the attached CDC device sent back to the
board's console, and reached for board_uart_write() directly to stay
non-blocking. On a board whose console is the debug probe there is no UART:
board_uart_write() is a stub returning -1, so everything the device echoed was
dropped, and the do/while loop retried a write that could never make progress
and spun until more data arrived.

Send it through SEGGER_RTT_Write() on LOGGER_RTT builds -- already
non-blocking in the default NO_BLOCK_SKIP mode, which is what the UART path
wanted board_uart_write() for.

The retry is also bounded now. board_uart_write() is only documented to
return the number of bytes sent, and the stubs disagree on how they say "no
console here" -- lpc40 returns -1, apm32f0xx returns 0 -- so the loop cannot
decide from the return value alone when to stop. It gives up after 10 ms
without progress instead, which no draining console ever hits, and keeps the
negative return as a fast path so a stub UART does not cost that wait on
every read.

The RTT header include lives in board_api.h so any example can reach it; the
include path only exists when LOGGER=rtt defines LOGGER_RTT.

host/cdc_msc_hid now passes on ea4088_quickstart, whose probe (LPC-Link2) has
no VCOM: the CDC echo round-trips through a CH340 with TX-RX shorted.
</content>
</entry>
<entry>
<title>remove sync() in tinyusb callback since it cause issue with RTOS when usbh task is blocking</title>
<updated>2026-05-28T11:20:22Z</updated>
<author>
<name>hathach</name>
<email>thach@tinyusb.org</email>
</author>
<published>2026-05-28T11:20:22Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/tinyusb.git/commit/?id=c954c8c4c70df616e429d8e7ae1c382d3043acea'/>
<id>urn:sha1:c954c8c4c70df616e429d8e7ae1c382d3043acea</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix issue with exmaple</title>
<updated>2026-04-03T03:45:16Z</updated>
<author>
<name>hathach</name>
<email>thach@tinyusb.org</email>
</author>
<published>2026-04-02T16:56:47Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/tinyusb.git/commit/?id=9368e5d40f3d8e5ac323d288f969782a962d593e'/>
<id>urn:sha1:9368e5d40f3d8e5ac323d288f969782a962d593e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix hil host cdc echo test with imxrt and other fast mcu</title>
<updated>2026-04-03T03:45:13Z</updated>
<author>
<name>hathach</name>
<email>thach@tinyusb.org</email>
</author>
<published>2026-04-02T16:30:06Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/tinyusb.git/commit/?id=134e14849b1864ce3454950a50d2c79d93a96cd8'/>
<id>urn:sha1:134e14849b1864ce3454950a50d2c79d93a96cd8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>add rp2040 sof + stop_trans on nak. increase nak_poll fs/ls delay to 300 us to prevent xfer is ack while stopping.</title>
<updated>2026-03-23T10:57:41Z</updated>
<author>
<name>hathach</name>
<email>thach@tinyusb.org</email>
</author>
<published>2026-03-23T08:49:58Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/tinyusb.git/commit/?id=15eef94df0e759adf14697197a89dddeb8fc3aeb'/>
<id>urn:sha1:15eef94df0e759adf14697197a89dddeb8fc3aeb</id>
<content type='text'>
</content>
</entry>
<entry>
<title>update host msc hil test</title>
<updated>2026-03-23T08:43:47Z</updated>
<author>
<name>hathach</name>
<email>thach@tinyusb.org</email>
</author>
<published>2026-03-23T08:43:47Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/tinyusb.git/commit/?id=3c2627e7390dc9145329732900f0c0de6e886cc0'/>
<id>urn:sha1:3c2627e7390dc9145329732900f0c0de6e886cc0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>replace board_millis() with tusb_time_millis_api()</title>
<updated>2026-02-27T17:01:40Z</updated>
<author>
<name>hathach</name>
<email>thach@tinyusb.org</email>
</author>
<published>2026-02-27T16:51:36Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/tinyusb.git/commit/?id=8444c25ab6bc841bad81fd04afc1e66a9d57a115'/>
<id>urn:sha1:8444c25ab6bc841bad81fd04afc1e66a9d57a115</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix more alerts</title>
<updated>2025-11-08T08:54:02Z</updated>
<author>
<name>hathach</name>
<email>thach@tinyusb.org</email>
</author>
<published>2025-11-08T08:54:02Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/tinyusb.git/commit/?id=7f173ab5ed6a80a5fd6780779fe63fb97d2be0e9'/>
<id>urn:sha1:7f173ab5ed6a80a5fd6780779fe63fb97d2be0e9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix #2942, include stdio if CFG_TUSB_DEBUG &gt; 0 and CFG_TUSB_DEBUG_PRINTF is not defined</title>
<updated>2025-11-03T03:46:09Z</updated>
<author>
<name>hathach</name>
<email>thach@tinyusb.org</email>
</author>
<published>2025-11-03T03:46:09Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/tinyusb.git/commit/?id=bda7efb1b3d482b7add2535a4a72f51a0dea5c08'/>
<id>urn:sha1:bda7efb1b3d482b7add2535a4a72f51a0dea5c08</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix Identifiers that start with '__' or '_[A-Z]' are reserved.</title>
<updated>2025-10-28T07:14:01Z</updated>
<author>
<name>hathach</name>
<email>thach@tinyusb.org</email>
</author>
<published>2025-10-28T06:21:38Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/tinyusb.git/commit/?id=d92b810df7670aae0e195fd02abef5014470c2f7'/>
<id>urn:sha1:d92b810df7670aae0e195fd02abef5014470c2f7</id>
<content type='text'>
fix compiling with nuc family
</content>
</entry>
</feed>
