| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2026-06-16 | device: clamp EP0 OUT data copy to the control transfer buffer (#3705) | Ha Thach | |
| * device: clamp EP0 OUT data copy to the control transfer buffer usbd_control_xfer_cb() copied xferred_bytes from the EP0 bounce buffer into the requester's buffer with no bound. A non-compliant host that sends an OUT data packet larger than the control transfer's data_len (= min(len, wLength), the buffer capacity) would overflow that buffer and over-count total_xferred. Clamp xferred_bytes to the remaining buffer space before the memcpy and accounting. | |||
| 2026-05-12 | midi2: align descriptors with USB-MIDI 2.0 spec | Saulo Veríssimo | |
| Brings the MIDI 2.0 device driver into full conformance with USB Device Class Definition for MIDI Devices v2.0 (USB-IF, May 2020). - Alt 1 MS Interface Header wTotalLength now reports 0x0007 per Table 5-2 ("set to match bLength"), replacing the prior 0x0011 carried over from USB-MIDI 1.0 conventions. - GET_DESCRIPTOR class request now validates bmRequestType direction, type and recipient plus wIndex and wValue high byte per Section 6. - iBlockItem in the default Group Terminal Block is driven by CFG_TUD_MIDI2_BLOCK_STRIDX so applications can attach a UI string descriptor to the block per Table 5-6. - UMP word byte order assumption (little-endian host per Section 3.2.2) is documented inline so future big-endian ports know where to wrap access with tu_htole32 / tu_le32toh. Validated on RP2040 and ESP32-P4 under Linux kernel 6.17: lsusb -v reports wTotalLength = 0x0007 on Alt 1 MS Header (raw bytes 07 24 01 00 02 07 00). amidi -l enumerates Group Terminals exposed via the class-specific GET_DESCRIPTOR response. | |||
| 2026-05-12 | test: add MIDI 2.0 Device and Host unit tests | Saulo Veríssimo | |
| Add unit tests for MIDI 2.0 drivers: - Device: UMP word count (all 16 message types), descriptor macro validation (length, byte layout, alt settings, endpoints), CS endpoint subtypes, traversal integrity - Host: UMP word count, callback struct validation, CS endpoint subtypes Also add Sphinx documentation for MIDI 2.0 class drivers (Device and Host API reference, lifecycle, configuration, examples). Tests: 60/60 PASS (FIFO 26/26, USBD 5/5, MIDI2 Device 18/18, MIDI2 Host 6/6, USBD internal 5/5) | |||
| 2026-04-29 | deprecated `usbd_control.c` and merge its functionality into `usbd.c` | hathach | |
| 2026-01-03 | add tu_hwfifo_access_t param to hwfifo API | hathach | |
| 2026-01-02 | support multiple data stride if configured | hathach | |
| 2026-01-01 | minor refactor | hathach | |
| 2025-12-31 | update tu_fifo to work with fsdev hwfifo with increased address 16/32bit | hathach | |
| 2025-12-31 | re-branding fixed address fifo read/write to stride mode | hathach | |
| 2025-12-30 | tusb_fifo remove item_size make it fifo of bytes | hathach | |
| 2025-12-16 | make fifo access mode fixed addr work with 16 bit also | hathach | |
| 2025-11-27 | more rename | hathach | |
| 2025-11-26 | add tu_scatter_read32(), tu_scatter_write32() to simplify tu_fifo | hathach | |
| 2025-11-26 | change tu_fifo_buffer_info_t layout | hathach | |
| 2025-11-22 | hil stress test cdc | hathach | |
| 2025-11-21 | add more unit tests for tu_fifo | 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 | Add is_isr parameter to dcd_edpt_xfer and dcd_edpt_xfer_fifo | copilot-swe-agent[bot] | |
| Co-authored-by: HiFiPhile <[email protected]> | |||
| 2025-08-01 | add bufsize to tud_msc_inquiry2_cb() | hathach | |
| 2025-07-11 | add tud_msc_inquiry2_cb() for full inquiry response | hathach | |
| 2025-01-15 | Fix ceedling (#2949) | Ha Thach | |
| * fixed unit test with ceedling 1.0.0 | |||
| 2024-11-04 | add tusb_time_millis_api() and default/weak tusb_time_delay_ms_api(). Which ↵ | hathach | |
| is required for host and some device without RTOS. | |||
| 2024-10-14 | change dcd_init() return from void to bool | hathach | |
| 2024-10-14 | change the tusb_rhport_init_t struct, exclude the rhport to make API more ↵ | hathach | |
| consistent | |||
| 2024-10-11 | change dcd_init() to take rhport struct | hathach | |
| 2024-10-11 | change tusb_init(), tusb_rhport_init() to use init struct for expandability | hathach | |
| 2024-10-10 | add new tusb_int_handler(rhport, in_isr) as common irq handler | hathach | |
| update tusb_init() to take rhport and role, defined as macro with optional argument for backward compatible | |||
| 2024-09-17 | make all python files executable and standardize interpreter | Shawn Hoffman | |
| 2024-09-03 | make function prototypes match definitions ( found with cppcheck) | dp111 | |
| 2024-04-19 | - clang h743 build and run cdc_msc ok | hathach | |
| - switch unit test back to gcc, since path to clang conflict on local setup (x86 and arm) | |||
| 2024-03-01 | reformat code hid_host.c | hathach | |
| - fix ceedling with ruby 3.1 - allow overwrite CMAKE_C_COMPILER/CMAKE_CXX_COMPILER from command line | |||
| 2023-03-22 | use tud_inited() instead of tusb_inited() | hathach | |
| 2023-03-17 | fix spelling | hathach | |
| 2023-03-17 | fix trailing space and new line | hathach | |
| temporarily disable codespell | |||
| 2023-01-21 | add test_common_func.c | hathach | |
| 2023-01-07 | use TU_FIFO_INIT to replace TU_FIFO_DEF | hathach | |
| 2023-01-07 | using clang with ceedling unit-test with -fsanitize=address | hathach | |
| 2023-01-06 | Merge branch 'master' into fix-fifo-memory-overflow | hathach | |
| 2022-12-16 | fix ci with usbh and unit test | hathach | |
| 2022-12-09 | add test_write_double_overflowed for fifo | hathach | |
| 2022-12-08 | add test fifo overwritable + overflow, that cause buffer overflow | hathach | |
| 2022-12-08 | move ceedling tests to test/unit-test | hathach | |
