<feed xmlns='http://www.w3.org/2005/Atom'>
<title>tinyusb.git/examples/device/cdc_uac2/src/uac2_app.c, 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/examples/device/cdc_uac2/src/uac2_app.c?h=claude%2Fadoring-pasteur-kbaFa</id>
<link rel='self' href='http://cgit.235523.xyz/tinyusb.git/atom/examples/device/cdc_uac2/src/uac2_app.c?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>remove duplicated tu_le16toh since we have converted the endian when setup.</title>
<updated>2026-04-17T10:39:56Z</updated>
<author>
<name>Fan DANG</name>
<email>i@dang.fan</email>
</author>
<published>2026-04-17T10:39:56Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/tinyusb.git/commit/?id=5939831f17272571911d089508b458f496a4cc62'/>
<id>urn:sha1:5939831f17272571911d089508b458f496a4cc62</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>added .clang-format</title>
<updated>2025-11-05T10:34:27Z</updated>
<author>
<name>hathach</name>
<email>thach@tinyusb.org</email>
</author>
<published>2025-11-05T08:31:02Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/tinyusb.git/commit/?id=1f04fe7924e8777c1583323171c0e1cabcb29062'/>
<id>urn:sha1:1f04fe7924e8777c1583323171c0e1cabcb29062</id>
<content type='text'>
fix more alerts
disable IAR CStat since pvs-studio check is better integrated with clion
</content>
</entry>
<entry>
<title>Update UAC2 naming</title>
<updated>2025-09-29T08:00:39Z</updated>
<author>
<name>HiFiPhile</name>
<email>admin@hifiphile.com</email>
</author>
<published>2025-09-27T12:58:08Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/tinyusb.git/commit/?id=78121a8d3f273420f8a2798364c2dd2fb9bb700f'/>
<id>urn:sha1:78121a8d3f273420f8a2798364c2dd2fb9bb700f</id>
<content type='text'>
Signed-off-by: HiFiPhile &lt;admin@hifiphile.com&gt;
</content>
</entry>
<entry>
<title>fix tud_audio_set_itf_close_EP_cb() typo</title>
<updated>2025-08-02T16:23:20Z</updated>
<author>
<name>hathach</name>
<email>thach@tinyusb.org</email>
</author>
<published>2025-08-02T16:23:20Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/tinyusb.git/commit/?id=d9aa4c6f6184eacafb534bf462d7a90ca71aeac9'/>
<id>urn:sha1:d9aa4c6f6184eacafb534bf462d7a90ca71aeac9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>audio: update examples</title>
<updated>2025-06-14T20:46:52Z</updated>
<author>
<name>HiFiPhile</name>
<email>admin@hifiphile.com</email>
</author>
<published>2025-06-14T17:37:10Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/tinyusb.git/commit/?id=545690c83435fc9e972a65a4e46539c88f2a2853'/>
<id>urn:sha1:545690c83435fc9e972a65a4e46539c88f2a2853</id>
<content type='text'>
Signed-off-by: HiFiPhile &lt;admin@hifiphile.com&gt;
</content>
</entry>
<entry>
<title>Fix typo.</title>
<updated>2024-04-26T18:11:08Z</updated>
<author>
<name>HiFiPhile</name>
<email>admin@hifiphile.com</email>
</author>
<published>2023-12-01T13:03:43Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/tinyusb.git/commit/?id=ba27179f173123f50dec5370a6ecd87f059af0e1'/>
<id>urn:sha1:ba27179f173123f50dec5370a6ecd87f059af0e1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix print lu format warnings with clang</title>
<updated>2024-04-22T09:17:22Z</updated>
<author>
<name>hathach</name>
<email>thach@tinyusb.org</email>
</author>
<published>2024-04-22T09:17:22Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/tinyusb.git/commit/?id=c097c85dcf8e0ef3ea052c146c5f514101827251'/>
<id>urn:sha1:c097c85dcf8e0ef3ea052c146c5f514101827251</id>
<content type='text'>
</content>
</entry>
<entry>
<title>rename hw/bsp/board.h to board_api.h</title>
<updated>2023-08-03T08:44:05Z</updated>
<author>
<name>hathach</name>
<email>thach@tinyusb.org</email>
</author>
<published>2023-08-03T08:44:05Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/tinyusb.git/commit/?id=cf91660cee0863291fd9412a3623df018e8bd071'/>
<id>urn:sha1:cf91660cee0863291fd9412a3623df018e8bd071</id>
<content type='text'>
</content>
</entry>
</feed>
