| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2026-06-11 | clean up PVS-Studio static-analysis findings for raspberry_pi_pico | Claude | |
| 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 && ff_bufsize > 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 `&_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. | |||
| 2026-06-06 | host/cdc: use local control buffer | HiFiPhile | |
| 2026-03-12 | refactor(cdc): remove deprecated runtime CDC configuration, add backward ↵ | hathach | |
| compatibility with no-op macros | |||
| 2026-03-12 | clean up | hathach | |
| 2026-03-12 | refactor(cdc): remove runtime CDC driver configuration in favor of ↵ | hathach | |
| compile-time macros for simplicity and reduced complexity | |||
| 2026-03-12 | refactor(vendor/cdc): add CFG_TUD_CDC_RX_NEED_ZLP and CFG_TUD_VENDOR_RX_NEED_ZLP | hathach | |
| 2026-03-12 | refactor(config): separate endpoint buffer sizes into RX and TX definitions ↵ | hathach | |
| for clarity and flexibility | |||
| 2026-03-11 | rename .rx_multiple_packet_transfer to .rx_need_zlp | hathach | |
| 2026-03-11 | Merge branch 'master' into zlp-hs-on-fs | hathach | |
| 2026-02-25 | fix CDC host FTDI multiple channel loop | hathach | |
| fix typos for ftdi_process_set_config() add J-Link GDB + RTT logging instructions | |||
| 2026-02-11 | fix ep size and midi buffer | HiFiPhile | |
| Signed-off-by: HiFiPhile <[email protected]> | |||
| 2026-02-11 | fix rx transfer length when high speed capable device/host working at full speed | HiFiPhile | |
| Signed-off-by: HiFiPhile <[email protected]> | |||
| 2025-12-26 | Prevent unused-variable warning in dcd_host.c | Cédric Berger | |
| 'idx' is not used if CFG_TUH_CDC_LINE_CODING_ON_ENUM is not defined. | |||
| 2025-12-12 | usbh/cdc: fix typo in cdch_open | HiFiPhile | |
| Signed-off-by: HiFiPhile <[email protected]> | |||
| 2025-12-12 | fix edpt stream write/read to endpoint not yet opened | hathach | |
| 2025-12-11 | move host hacked bulk mps out of tu_edpt_validate() | hathach | |
| 2025-12-11 | refactor usbh_class_driver_t's open() to return number of driver len instead ↵ | hathach | |
| of bool. help to simplify parsing configuration | |||
| 2025-12-10 | move hwid into edpt stream for consistent API | hathach | |
| 2025-12-10 | flatten cdc tx,rx stream | hathach | |
| 2025-12-10 | change tu_fifo_clear()/tu_edpt_stream_clear() from return bool to void | hathach | |
| 2025-11-27 | change tud_vendor_rx_cb() behavior, buffer and bufsize only available when ↵ | hathach | |
| CFG_TUD_VENDOR_RX_BUFSIZE = 0 update vendor device to omit ep buf when dedicated hwfifo is supported | |||
| 2025-11-27 | omit cdc epnotify for dedicated hw fifo | hathach | |
| 2025-11-27 | add tud_cdc_n_notify_msg() | hathach | |
| 2025-11-26 | omit ep buffer for midi device if device support CFG_TUD_EDPT_DEDICATED_HWFIFO | hathach | |
| 2025-11-26 | change tu_fifo_buffer_info_t layout | hathach | |
| 2025-11-22 | hil stress test cdc | hathach | |
| 2025-11-22 | implement wanted char for cdc device without ep_buf | hathach | |
| 2025-11-22 | implement wanted char for cdc device without ep_buf | hathach | |
| 2025-11-21 | edpt stream support xfer_fifo for device CFG_TUD_EDPT_DEDICATED_HWFIFO | hathach | |
| cdc device omit ep buffer when hwfifo is supported | |||
| 2025-11-19 | Merge remote-tracking branch 'tinyusb/master' into ↵ | HiFiPhile | |
| copilot/fix-dcd-edpt-xfer-issue Signed-off-by: HiFiPhile <[email protected]> | |||
| 2025-11-13 | Apply suggestions from code review | Ha Thach | |
| Co-authored-by: Copilot <[email protected]> | |||
| 2025-11-13 | clear endpoint stream when open for cdc_host and midi_host | hathach | |
| 2025-11-12 | migrate cdc device to use edpt stream API | hathach | |
| tu_edpt_stream_open() does not clear fifo, allow for persistent stream when disconnect/reconnect | |||
| 2025-11-11 | Merge remote-tracking branch 'tinyusb/master' into ↵ | HiFiPhile | |
| copilot/fix-dcd-edpt-xfer-issue Signed-off-by: HiFiPhile <[email protected]> | |||
| 2025-11-08 | fix more alerts | hathach | |
| 2025-11-07 | Apply suggestions from code review | Ha Thach | |
| Co-authored-by: Copilot <[email protected]> | |||
| 2025-11-07 | fix more alerts found by pvs-studio | hathach | |
| 2025-11-04 | Fixed more alert found by PVS-Studio | hathach | |
| 2025-10-31 | Merge remote-tracking branch 'tinyusb/master' into ↵ | HiFiPhile | |
| copilot/fix-dcd-edpt-xfer-issue Signed-off-by: HiFiPhile <[email protected]> | |||
| 2025-10-28 | fix Identifiers that start with '__' or '_[A-Z]' are reserved. | hathach | |
| fix compiling with nuc family | |||
| 2025-10-22 | Fix copilot issues | Mengsk | |
| Signed-off-by: Mengsk <[email protected]> | |||
| 2025-10-22 | Add is_isr parameter to usbd_edpt_xfer and usbd_edpt_xfer_fifo | copilot-swe-agent[bot] | |
| - 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 <[email protected]> | |||
| 2025-10-16 | fix some warnings detected by pvs-studio | hathach | |
| 2025-10-16 | add tu_div_round_nearest() (only handle positive) to replace ↵ | hathach | |
| DIV_ROUND_CLOSEST() to remove the need of typeof | |||
| 2025-09-17 | Replace old delay functions by tusb_time_delay_ms_api | HiFiPhile | |
| Signed-off-by: HiFiPhile <[email protected]> | |||
| 2025-09-17 | Update weak callbacks to new syntax | HiFiPhile | |
| Signed-off-by: HiFiPhile <[email protected]> | |||
| 2025-07-15 | Fix compilation when CH34X support is disabled | Eli Lipsitz | |
| 2025-07-03 | make notify API and memory configurable with CFG_TUD_CDC_NOTIFY | hathach | |
| add tud_cdc_n_notify_conn_speed_change() add tud_cdc_notify_complete_cb() | |||
| 2025-07-02 | Merge branch 'master' into fork/HiFiPhile/dcd_notif | hathach | |
| 2025-06-27 | clean up | hathach | |
