| 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-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-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 | change tu_fifo_clear()/tu_edpt_stream_clear() from return bool to void | hathach | |
| 2025-11-13 | clear endpoint stream when open for cdc_host and midi_host | hathach | |
| 2025-11-08 | fix more alerts | hathach | |
| 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 | 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-06-27 | clean up | hathach | |
| 2025-06-27 | use enum buf for process_set_config for ch34x and pl2303 | hathach | |
| 2025-06-27 | update acm and pl2303 to match the rest of drivers | hathach | |
| 2025-06-27 | major refactor to generalize cdch serial driver | hathach | |
| - add common 2 stage set line coding for driver without direct set_line_coding support e.g ftdi, cp210x, ch34x - add common cdch_process_line_state_on_enum() to handle cfg line state on enum e.g CFG_TUH_CDC_LINE_CONTROL/CODING_ON_ENUM - refactor cdch_internal_control_complete and user_complete_cb to be managed by tuh_cdc_ API instead of serial driver | |||
| 2025-06-20 | refactor, add cdch_internal_control_complete() | hathach | |
| 2025-06-20 | refactor change signature of serial driver's process_set_config | hathach | |
| adding serial driver's request_complete() | |||
| 2025-06-20 | cdch clean up and refactor, add explicit sync() API | hathach | |
| 2025-06-19 | union ftdi/pl2303/acm data to save memory. | hathach | |
| 2025-06-19 | rename tuh_cdc_get_local_line_coding to tuh_cdc_get_line_coding_local | hathach | |
| add tuh_cdc_get_control_line_state_local() implement tuh_cdc_get/set_dtr/rts() as inline | |||
| 2025-06-19 | revert CFG_TUH_CDC_DTR/RTS_CONTROL_ON_ENUM | hathach | |
| 2025-06-19 | clean up pl2303 type data | hathach | |
| 2025-06-19 | house keeping | hathach | |
| 2025-06-18 | usbh: add new API tuh_descriptor_get_device_local() | hathach | |
| cdc host: remove the local desc_dev and the get_device descriptor call for ftdi and pl2303 | |||
| 2025-06-18 | add get_itf_by_xfer() to better determine cdc interface from xfer complete ↵ | hathach | |
| callback | |||
| 2025-06-17 | add common cdch_process_set_config() to safely complete set_config() when it ↵ | hathach | |
| failed. driver_process_set_config() also pass drv index with user_data | |||
| 2025-06-16 | Merge branch 'master' into fork/IngHK/cdch_upgrade | hathach | |
| # Conflicts: # README.rst # docs/reference/index.rst # src/class/cdc/cdc_device.c # src/class/cdc/cdc_host.c | |||
| 2025-05-13 | fix warnings, minor clean up | hathach | |
| 2025-02-13 | update midi host to use endpoint stream API | hathach | |
| 2024-11-27 | minor clean up | hathach | |
| 2024-11-26 | add TUH_EPBUF_DEF for cdc host | hathach | |
| 2024-09-10 | change edpt stream api to take hwid from API to reduce memory footprint | hathach | |
| 2024-04-22 | fix nrfx v3 spim freq when init | hathach | |
| fix clang build with nrf | |||
| 2024-04-04 | small change process config complete | IngHK | |
| 2024-04-04 | disable PL2303 flow control config | IngHK | |
| 2024-04-04 | foxed FTDI flow control config | IngHK | |
| 2024-04-04 | CP210x removed baudrate check, fixed data bits check | IngHK | |
| 2024-04-04 | fixed compile warnings | IngHK | |
| 2024-04-04 | Merge remote-tracking branch 'remotes/hathach/master' into cdch_upgrade | IngHK | |
| 2024-03-22 | implement tuh_init() | hathach | |
| change usbh driver init() return type from void to bool | |||
| 2024-03-22 | adding deinit() stub for usbh/hcd class driver | hathach | |
| add TUSB_VERSION_BUILD, also add TUSB_VERSION_NUMBER | |||
| 2024-03-10 | fixed FTDI set control line | IngHK | |
| 2024-03-10 | added defines CFG_TUH_CDC_DTR_CONTROL_ON_ENUM & CFG_TUH_CDC_RTS_CONTROL_ON_ENUM | IngHK | |
