<feed xmlns='http://www.w3.org/2005/Atom'>
<title>tinyusb.git/src/class/usbtmc/usbtmc_device.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/src/class/usbtmc/usbtmc_device.c?h=claude%2Fadoring-pasteur-kbaFa</id>
<link rel='self' href='http://cgit.235523.xyz/tinyusb.git/atom/src/class/usbtmc/usbtmc_device.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>Fix copilot issues</title>
<updated>2025-10-22T18:21:57Z</updated>
<author>
<name>Mengsk</name>
<email>admin@hifiphile.com</email>
</author>
<published>2025-10-22T14:57:11Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/tinyusb.git/commit/?id=30132e8e6d39447c0633f96594ff4bdac06d6bc8'/>
<id>urn:sha1:30132e8e6d39447c0633f96594ff4bdac06d6bc8</id>
<content type='text'>
Signed-off-by: Mengsk &lt;admin@hifiphile.com&gt;
</content>
</entry>
<entry>
<title>Add is_isr parameter to usbd_edpt_xfer and usbd_edpt_xfer_fifo</title>
<updated>2025-10-22T06:12:08Z</updated>
<author>
<name>copilot-swe-agent[bot]</name>
<email>198982749+Copilot@users.noreply.github.com</email>
</author>
<published>2025-10-22T06:12:08Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/tinyusb.git/commit/?id=27415e6114cb6e23ca085b21161eb79278f6b97b'/>
<id>urn:sha1:27415e6114cb6e23ca085b21161eb79278f6b97b</id>
<content type='text'>
- Added bool is_isr parameter to usbd_edpt_xfer() and usbd_edpt_xfer_fifo() wrapper functions
- These are called by class drivers to queue USB transfers
- Updated all callers to pass false by default (non-ISR context)
- Updated audiod_rx_xfer_isr() and audiod_tx_xfer_isr() to pass true (ISR context)
- All 21 unit tests pass

Co-authored-by: HiFiPhile &lt;4375114+HiFiPhile@users.noreply.github.com&gt;
</content>
</entry>
<entry>
<title>Update weak callbacks to new syntax</title>
<updated>2025-09-17T20:48:59Z</updated>
<author>
<name>HiFiPhile</name>
<email>admin@hifiphile.com</email>
</author>
<published>2025-09-17T20:37:45Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/tinyusb.git/commit/?id=369a1ff5153a472327d2847c7bc7386309486b34'/>
<id>urn:sha1:369a1ff5153a472327d2847c7bc7386309486b34</id>
<content type='text'>
Signed-off-by: HiFiPhile &lt;admin@hifiphile.com&gt;
</content>
</entry>
<entry>
<title>Update src/class/usbtmc/usbtmc_device.c</title>
<updated>2025-07-26T12:01:02Z</updated>
<author>
<name>Ha Thach</name>
<email>thach@tinyusb.org</email>
</author>
<published>2025-07-26T12:01:02Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/tinyusb.git/commit/?id=be114549c4f2203d1d29458ead29cd1dea656950'/>
<id>urn:sha1:be114549c4f2203d1d29458ead29cd1dea656950</id>
<content type='text'>
Co-authored-by: Copilot &lt;175728472+Copilot@users.noreply.github.com&gt;</content>
</entry>
<entry>
<title>fix last transfer size</title>
<updated>2025-07-11T15:56:56Z</updated>
<author>
<name>Zixun LI</name>
<email>admin@hifiphile.com</email>
</author>
<published>2025-07-11T15:56:56Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/tinyusb.git/commit/?id=a365cf6e3cb13cd615f169053360385b165ca706'/>
<id>urn:sha1:a365cf6e3cb13cd615f169053360385b165ca706</id>
<content type='text'>
Co-authored-by: Copilot &lt;175728472+Copilot@users.noreply.github.com&gt;</content>
</entry>
<entry>
<title>typo fix</title>
<updated>2025-07-11T15:48:10Z</updated>
<author>
<name>Zixun LI</name>
<email>admin@hifiphile.com</email>
</author>
<published>2025-07-11T15:48:10Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/tinyusb.git/commit/?id=48327625904b280295ded0af496b4f388c903646'/>
<id>urn:sha1:48327625904b280295ded0af496b4f388c903646</id>
<content type='text'>
Co-authored-by: Copilot &lt;175728472+Copilot@users.noreply.github.com&gt;</content>
</entry>
<entry>
<title>Code reformat</title>
<updated>2025-06-08T12:31:11Z</updated>
<author>
<name>HiFiPhile</name>
<email>admin@hifiphile.com</email>
</author>
<published>2025-06-08T12:27:57Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/tinyusb.git/commit/?id=69f6b57772ad4f2923dcf48aabaaba044085c4b0'/>
<id>urn:sha1:69f6b57772ad4f2923dcf48aabaaba044085c4b0</id>
<content type='text'>
Signed-off-by: HiFiPhile &lt;admin@hifiphile.com&gt;
</content>
</entry>
<entry>
<title>add support for usbtmc vendor-spicific command messages</title>
<updated>2025-05-06T14:06:10Z</updated>
<author>
<name>Moritz Scholjegerdes</name>
<email>moritz.scholjegerdes@fibervision.de</email>
</author>
<published>2025-05-06T14:06:10Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/tinyusb.git/commit/?id=95be35b58727c28932dd0903c7d44fddd275df09'/>
<id>urn:sha1:95be35b58727c28932dd0903c7d44fddd275df09</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>
</feed>
