Commit Graph

1271 Commits

Author SHA1 Message Date
73cd531295 replace printer_to_hid example with printer_to_cdc example
fix printer GET_DEVICE_ID request weird wIndex (interface high, alt low)
2026-03-06 17:22:38 +07:00
988b18a40a add full read/write() API, use edpt stream for printer class 2026-03-06 16:06:42 +07:00
5838c7f09d update printer class: enhance descriptors, buffer sizes, and callbacks 2026-03-06 15:11:59 +07:00
558abb93af Merge branch 'refs/heads/master' into fork/remiberthoz/device-class-printer 2026-03-06 12:05:54 +07:00
61e4b9ce3f add IAR warning flags to cmake build and fix them 2026-03-05 23:24:14 +07:00
0c7a385cf8 improve threadx support, add multi ROTS support for board_test and msc_dual_lun 2026-03-05 20:48:30 +07:00
70c93adc2f improve threadx support, add multi ROTS support for board_test and msc_dual_lun 2026-03-05 17:51:57 +07:00
8444c25ab6 replace board_millis() with tusb_time_millis_api() 2026-02-28 00:01:40 +07:00
7b934efa0d Merge branch 'refs/heads/master' into copilot/improve-build-steps-rp2040-esp32 2026-02-10 11:43:32 +07:00
7921aae6e2 example: update comment on CDC EP size
Signed-off-by: Zixun LI <admin@hifiphile.com>
2026-01-19 10:53:48 +01:00
bd760e5e37 Merge 'upstream/master' into device-class-printer 2026-01-14 19:51:01 +01:00
796e7c2332 Merge remote-tracking branch 'tinyusb/master' into bsp_h7_tm4c 2026-01-14 09:51:50 +01:00
104d3f2545 bsp: add TI EK-TM4C1294XL
Signed-off-by: HiFiPhile <admin@hifiphile.com>
2026-01-14 00:21:52 +01:00
ff9522f3c1 Fix typo in printer_to_hid example 2026-01-08 18:20:28 +01:00
1de6608c83 printer device: replace [[maybe_unused]] with (void) 2026-01-07 18:05:19 +01:00
0e5241aa83 Adjust printer device class to 0.20.0 and fix compilation warnings 2026-01-07 17:36:01 +01:00
cab1b2f6f7 Implement Printer Device Class 2026-01-04 16:55:43 +01:00
237e9f21fd example/mtp: fix root parent id
Signed-off-by: HiFiPhile <admin@hifiphile.com>
2025-12-29 20:54:04 +01:00
185757ed41 Added tud_vendor_write_clear() which forcefully clears TX buffer 2025-12-20 13:36:54 -07:00
49a8529dcf clean up cmake, remove family_get_project_name() 2025-12-19 12:33:42 +07:00
d851e82721 example: with FreeRTOS: skip hpmicro
Signed-off-by: Zhihong Chen <zhihong.chen@hpmicro.com>
2025-12-16 13:11:28 +08:00
c859744784 adding metrics for computing average compiled size 2025-12-02 13:01:49 +07:00
7d012b014e fix build with zephyr with latest nrfx v4 2025-11-28 13:34:00 +07:00
9a9bf0fd7b change tud_vendor_rx_cb() behavior, buffer and bufsize only available when CFG_TUD_VENDOR_RX_BUFSIZE = 0
update vendor device to omit ep buf when dedicated hwfifo is supported
2025-11-27 18:41:57 +07:00
f3dc2186ae add tud_vendor_n_read_discard(), refactor vendor device. Update webusb example for more robust 2025-11-27 16:25:19 +07:00
91c3b338b2 example: fix audio_debug glitch on Windows 2025-11-25 16:41:30 +01:00
d76ddc695f Also fix bDescriptorType
Signed-off-by: HiFiPhile <admin@hifiphile.com>
2025-11-21 22:11:52 +01:00
183c5ef027 Fix in multiple example codes, wrong descriptor length was taken for tusb_desc_device_qualifier_t.
Signed-off-by: Thomas Rubin <thomas.rubin2@protonmail.com>
2025-11-21 14:31:45 +01:00
1df116adfc clean up 2025-11-19 12:19:08 +07:00
fd3161087d Merge branch 'refs/heads/master' into dwc2_ep0
# Conflicts:
#	examples/device/dfu/src/usb_descriptors.c
#	examples/device/dfu_runtime/src/usb_descriptors.c
#	src/device/usbd_control.c
#	src/portable/synopsys/dwc2/dcd_dwc2.c
2025-11-19 11:32:44 +07:00
66c84528f6 Merge pull request #3345 from hathach/update-iso-alloc
make dcd_edpt_iso_alloc/activate as default API for ISO endpoint
2025-11-17 23:34:04 +07:00
be9d1973ac make TUP_DCD_EDPT_ISO_ALLOC i.e dcd_edpt_iso_alloc()/dcd_edpt_iso_activate() as default driver implementation. dcd_edpt_close() is deprecated and will be removed from all driver in the future. 2025-11-17 19:42:10 +07:00
ac903db1ce Merge remote-tracking branch 'tinyusb/master' into embedded-ideas/master
Signed-off-by: Mengsk <admin@hifiphile.com>
2025-11-14 15:10:11 +01:00
f11adb02eb migrate cdc device to use edpt stream API
tu_edpt_stream_open() does not clear fifo, allow for persistent stream when disconnect/reconnect
2025-11-12 21:22:25 +07:00
96f35fc0a5 Merge pull request #3334 from hathach/fix-alerts-3
Fix more code alerts
2025-11-09 00:26:04 +07:00
7f173ab5ed fix more alerts 2025-11-08 15:54:02 +07:00
b83b36b354 Merge remote-tracking branch 'origin/fix-alerts-3' into fix-alerts-3
# Conflicts:
#	src/class/cdc/cdc_device.h
#	src/class/msc/msc_device.c
#	src/common/tusb_debug.h
2025-11-08 00:30:22 +07:00
652342b57b fix more alerts found by pvs-studio 2025-11-07 23:50:16 +07:00
91c3a4fa8d Merge pull request #3321 from gabChouin/audio_ep_in_target_fifo_size
audio: Implement support for variable EP in flow control fifo level
2025-11-07 07:15:15 -08:00
4fcce0fbc9 Implement RX FIFO threshold adjustment
Signed-off-by: HiFiPhile <admin@hifiphile.com>
2025-11-07 15:50:49 +01:00
9fac6dd49d fix more alerts found by pvs-studio 2025-11-07 16:17:13 +07:00
86a4990b96 fix more alerts 2025-11-06 21:30:52 +07:00
cd90d94e7c make host info to devcie cdc to work with freertos/noos 2025-11-06 19:08:53 +07:00
1f04fe7924 added .clang-format
fix more alerts
disable IAR CStat since pvs-studio check is better integrated with clion
2025-11-05 17:34:27 +07:00
8979af34c0 Fixed more alert found by PVS-Studio 2025-11-04 19:56:53 +07:00
00f374682e fixing alert by scanning tool 2025-11-03 11:46:54 +07:00
6b3970d5ff Fixed trailing whitespaces in files (used wrong editor) 2025-10-31 17:29:58 +01:00
cee793796c Add boundary check
Signed-off-by: HiFiPhile <admin@hifiphile.com>
2025-10-31 10:56:31 +01:00
aa739c946d Merge branch 'master' into uac1
Signed-off-by: HiFiPhile <admin@hifiphile.com>
2025-10-30 19:50:47 +01:00
889cde7d4b Video class: Changed pararameters of payload request to a dedicated structure in order to meet coding guideliness 2025-10-30 15:01:52 +01:00