Commit Graph

1285 Commits

Author SHA1 Message Date
b7656561b8 fix hid_generic_inout for TUD_ENDPOINT_ONE_DIRECTION_ONLY MCUs
Use separate endpoint numbers (EP1 OUT, EP2 IN) on MCUs with shared
FIFO that cannot support the same endpoint number in both directions.
Also add missing static qualifier to print_musb_info().

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-18 12:56:54 +07:00
7ce1e78204 actual build make/cmake for ft9xx 2026-03-13 18:11:59 +07:00
aa1535a226 add support for CH32F20X MCU and update board configuration 2026-03-13 12:18:27 +07:00
467f8c0a6b fix example
Signed-off-by: Zixun LI <admin@hifiphile.com>
2026-03-12 11:00:40 +01:00
e2884a1b88 Merge branch 'master' into ncm_restart 2026-03-12 10:55:18 +01:00
aea4f6046e refactor(vendor/cdc): add CFG_TUD_CDC_RX_NEED_ZLP and CFG_TUD_VENDOR_RX_NEED_ZLP 2026-03-12 12:25:59 +07:00
78bbc7dc2e refactor(config): separate endpoint buffer sizes into RX and TX definitions for clarity and flexibility 2026-03-12 11:43:32 +07:00
d65964ea32 Merge pull request #3519 from hathach/samx7x_update
refresh dcd_samx7x
2026-03-07 15:29:23 +07:00
6c4f119ddd - update SAME70 BSP: remove unused definitions, consolidate startup files
- and add unique ID
- add freertos
2026-03-07 13:01:32 +07:00
8878e02c30 fix hil test 2026-03-06 19:24:27 +07:00
8f24ab0950 reduce bufsize to compile with small mcu 2026-03-06 18:20:29 +07:00
aeb121f94c add hil test, update readme 2026-03-06 17:56:05 +07:00
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
7da7d0725b Merge remote-tracking branch 'tinyusb/master' into ncm_restart 2026-03-01 15:36:21 +01: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
bb944729f2 example/net: add led blink task
Signed-off-by: HiFiPhile <admin@hifiphile.com>
2025-12-28 17:17:41 +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