<feed xmlns='http://www.w3.org/2005/Atom'>
<title>tinyusb.git/src/class/cdc, 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/class/cdc?h=claude%2Fadoring-pasteur-kbaFa</id>
<link rel='self' href='http://cgit.235523.xyz/tinyusb.git/atom/src/class/cdc?h=claude%2Fadoring-pasteur-kbaFa'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/tinyusb.git/'/>
<updated>2026-06-11T23:34:30Z</updated>
<entry>
<title>clean up PVS-Studio static-analysis findings for raspberry_pi_pico</title>
<updated>2026-06-11T23:34:30Z</updated>
<author>
<name>Claude</name>
<email>noreply@anthropic.com</email>
</author>
<published>2026-06-11T23:34:30Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/tinyusb.git/commit/?id=72f4d52aafaf582a29428863a72c454a9ae5e916'/>
<id>urn:sha1:72f4d52aafaf582a29428863a72c454a9ae5e916</id>
<content type='text'>
Resolves all TinyUSB-owned alerts reported by the CI PVS-Studio job
(static_analysis.yml, run with --security-related-issues) on the
raspberry_pi_pico board: 0 remaining in src/ and examples/.

Genuine fixes:
- ncm_device: validate wNdpIndex against sizeof(nth16_t), not the pointer
  size sizeof(nth16) (4 bytes) — the latter under-checks the NTB header
  (V568).
- tusb: drop the redundant `ff_buf != NULL &amp;&amp; ff_bufsize &gt; 0` guard in
  tu_edpt_stream_init(); the early return already guarantees it (V560).
- midi_host: bounds-check idx in tuh_midi_itf_get_info() instead of the
  always-true `&amp;_midi_host[idx]` pointer (V560).
- examples: fully initialize resolutions_per_format / frame_num /
  interval_ms arrays instead of leaving trailing elements implicitly zero
  (V1009).

False positives suppressed at the cause:
- usbd/usbh: hide the weak dcd_deinit()/hcd_deinit() stubs from the
  analyzer with #ifndef PVS_STUDIO. PVS analyzes one TU at a time and
  binds the call to the always-false weak stub (it cannot model the
  linker selecting the port's strong definition), then reports the
  cleanup loop after TU_ASSERT(...deinit()) as unreachable (V779).

False positives suppressed locally (inline //-V or .pvsconfig):
- .pvsconfig: V501 (HID descriptor macros), V763 (rhport override),
  V785 (audio function-index switch), V1044 (hardware poll loops).
- inline //-V for config-dependent or intentional constructs: V512,
  V514-style contiguous clears, V547, V557, V560, V614, V619, V641,
  V1008, V1037, V1048, V1086.

Verified: all examples build for raspberry_pi_pico; ceedling test:all
passes (60/60); re-run of the CI-exact PVS invocation reports zero
TinyUSB-owned findings.
</content>
</entry>
<entry>
<title>host/cdc: use local control buffer</title>
<updated>2026-06-06T13:27:56Z</updated>
<author>
<name>HiFiPhile</name>
<email>admin@hifiphile.com</email>
</author>
<published>2026-06-06T13:27:56Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/tinyusb.git/commit/?id=8efcc6fbc4903c1e4b41523510a296a92d4b6a05'/>
<id>urn:sha1:8efcc6fbc4903c1e4b41523510a296a92d4b6a05</id>
<content type='text'>
</content>
</entry>
<entry>
<title>refactor(cdc): remove deprecated runtime CDC configuration, add backward compatibility with no-op macros</title>
<updated>2026-03-12T09:52:27Z</updated>
<author>
<name>hathach</name>
<email>thach@tinyusb.org</email>
</author>
<published>2026-03-12T09:52:27Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/tinyusb.git/commit/?id=0e23ccd7df3e8e4119f4dd29236314fe1aed0ae5'/>
<id>urn:sha1:0e23ccd7df3e8e4119f4dd29236314fe1aed0ae5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>clean up</title>
<updated>2026-03-12T08:56:48Z</updated>
<author>
<name>hathach</name>
<email>thach@tinyusb.org</email>
</author>
<published>2026-03-12T08:56:48Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/tinyusb.git/commit/?id=cd60008e8921a9c1d1d98c44e67c4fd1ceca075c'/>
<id>urn:sha1:cd60008e8921a9c1d1d98c44e67c4fd1ceca075c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>refactor(cdc): remove runtime CDC driver configuration in favor of compile-time macros for simplicity and reduced complexity</title>
<updated>2026-03-12T08:22:52Z</updated>
<author>
<name>hathach</name>
<email>thach@tinyusb.org</email>
</author>
<published>2026-03-12T08:22:52Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/tinyusb.git/commit/?id=222af862aa2b3898980e3ed8f28e70fe6c9a7ee9'/>
<id>urn:sha1:222af862aa2b3898980e3ed8f28e70fe6c9a7ee9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>refactor(vendor/cdc): add CFG_TUD_CDC_RX_NEED_ZLP and CFG_TUD_VENDOR_RX_NEED_ZLP</title>
<updated>2026-03-12T05:25:59Z</updated>
<author>
<name>hathach</name>
<email>thach@tinyusb.org</email>
</author>
<published>2026-03-12T05:16:57Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/tinyusb.git/commit/?id=aea4f6046e9a07d5f169de9fcc31bca2b667ea45'/>
<id>urn:sha1:aea4f6046e9a07d5f169de9fcc31bca2b667ea45</id>
<content type='text'>
</content>
</entry>
<entry>
<title>refactor(config): separate endpoint buffer sizes into RX and TX definitions for clarity and flexibility</title>
<updated>2026-03-12T04:43:32Z</updated>
<author>
<name>hathach</name>
<email>thach@tinyusb.org</email>
</author>
<published>2026-03-12T04:43:32Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/tinyusb.git/commit/?id=78bbc7dc2e80daba79351bc37e11b13243fd6f8c'/>
<id>urn:sha1:78bbc7dc2e80daba79351bc37e11b13243fd6f8c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>rename .rx_multiple_packet_transfer to .rx_need_zlp</title>
<updated>2026-03-11T13:11:41Z</updated>
<author>
<name>hathach</name>
<email>thach@tinyusb.org</email>
</author>
<published>2026-03-11T13:11:41Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/tinyusb.git/commit/?id=d74559ab70c7c4804ee8cf65d9c65d910af06870'/>
<id>urn:sha1:d74559ab70c7c4804ee8cf65d9c65d910af06870</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge branch 'master' into zlp-hs-on-fs</title>
<updated>2026-03-11T09:20:14Z</updated>
<author>
<name>hathach</name>
<email>thach@tinyusb.org</email>
</author>
<published>2026-03-11T09:20:14Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/tinyusb.git/commit/?id=d13f600721671a603579350be1e9c935a0d40547'/>
<id>urn:sha1:d13f600721671a603579350be1e9c935a0d40547</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix CDC host FTDI multiple channel loop</title>
<updated>2026-02-25T03:05:22Z</updated>
<author>
<name>hathach</name>
<email>thach@tinyusb.org</email>
</author>
<published>2026-02-24T16:37:07Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/tinyusb.git/commit/?id=da21dab358a06106188e2bb06fa71ccd5390fa1a'/>
<id>urn:sha1:da21dab358a06106188e2bb06fa71ccd5390fa1a</id>
<content type='text'>
fix typos for ftdi_process_set_config()
add J-Link GDB + RTT logging instructions
</content>
</entry>
</feed>
