Commit Graph

9715 Commits

Author SHA1 Message Date
d1a261ec12 Merge pull request #3348 from hathach/fix-more-warnings
fix more alerts
2025-11-19 19:44:05 +07:00
19fd61603f Apply suggestions from code review
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-11-19 19:20:53 +07:00
e0155eb1d2 fix more alerts 2025-11-19 18:37:15 +07:00
15ed920564 Merge pull request #3076 from HiFiPhile/xfer_close
host/dwc2: cleanup transfer on device close
2025-11-19 18:27:02 +07:00
284895bd9c Merge pull request #3151 from HiFiPhile/lock_cnt
osal/none: add nested count to spin lock
2025-11-19 17:44:32 +07:00
650c4b061c return if spin is underflow 2025-11-19 17:06:19 +07:00
6daf07bb92 Merge pull request #3275 from HiFiPhile/dwc2_iso_incomp
dcd/dwc2: support ISO IN transfer when bInterval > 1
2025-11-19 16:48:15 +07:00
39c78085cc extract to handle_incomplete_iso_in() for readability 2025-11-19 16:24:39 +07:00
21ef00fc87 Merge branch 'master' into fork/HiFiPhile/dwc2_iso_incomp 2025-11-19 15:57:07 +07:00
35447b7e36 Merge pull request #3295 from hathach/dwc2_ep0
dcd/dwc2: fix EP0 multi-packet transfer logic
2025-11-19 15:55:17 +07:00
4b92d325be device_info wait 100ms for host's uart, needed for hil test 2025-11-19 15:07:50 +07:00
b2dc419270 rename CFG_TUD_ENDPOINT0_BUFSIZE to make it more consistent
use uint8_t for dfu state and status to reduce size
2025-11-19 13:36:32 +07: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
e4a04b2a4b improve closing endpoint and channel 2025-11-18 23:39:45 +07:00
d46f71bdde Merge pull request #3347 from ToonVanEyck/master
Fix link to Getting Started documentation
2025-11-18 13:10:55 +01:00
3b728c739f Fix link to Getting Started documentation 2025-11-18 11:16:03 +01:00
6c14093059 Merge branch 'master' into fork/HiFiPhile/xfer_close 2025-11-18 10:18:27 +07:00
98f7b0c7ba Merge branch 'master' into fork/HiFiPhile/dwc2_iso_incomp 2025-11-18 09:36:16 +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
1173502223 circcleci run all job with large, also try to fix context deadline exceeded with espressif build 2025-11-17 23:03:51 +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
6b28a4478c 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 12:09:30 +07:00
20c3644224 Merge pull request #3322 from embedded-ideas/master
Bufferless (on the fly) video data generation for the video device class
2025-11-14 20:04:07 +01: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
fc5415bff6 Merge pull request #3335 from ldube/master
Prevent tu_edpt_number() from returning an invalid endpoint number
2025-11-14 14:52:43 +01:00
a3a5a41be8 Merge pull request #3339 from hathach/cdc-edpt-stream
migrate cdc device to edpt stream API
2025-11-14 14:23:46 +07:00
c9a9e94ae5 tweak to dual host info device cdc to make it easier to pass hil test 2025-11-14 11:56:13 +07:00
1f8968f622 Merge remote-tracking branch 'origin/cdc-edpt-stream' into cdc-edpt-stream 2025-11-13 13:57:18 +07:00
aac7ad1eb6 cdc device tx_persistent for dual host info to help with hil test 2025-11-13 13:56:02 +07:00
2b07fa6e6a Apply suggestions from code review
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-11-13 12:47:36 +07:00
397a3af8af clear endpoint stream when open for cdc_host and midi_host 2025-11-13 12:31:27 +07: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
8b8f1f80b4 Merge pull request #3337 from hathach/midi-edpt-stream
migrate midi_device to use edpt stream API
2025-11-12 20:34:39 +07:00
fc661abc18 migrate midi_device to use edpt stream API
also add tud_midi_n_packet_write/read_n()
2025-11-12 17:46:38 +07:00
8a094e807b Merge pull request #3278 from c1570/improved_docs
Documentation improvements
2025-11-11 13:19:59 +07:00
a1ae5b20cc update doc 2025-11-11 10:53:39 +07:00
6364a4df7a Merge branch 'master' into fork/c1570/improved_docs 2025-11-10 11:02:20 +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
dc196b2b95 Prevent tu_edpt_number() from returning an invalid endpoint number 2025-11-07 18:08:14 -05: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
f188a400ec Typo
Signed-off-by: HiFiPhile <admin@hifiphile.com>
2025-11-07 15:50:49 +01:00
4fcce0fbc9 Implement RX FIFO threshold adjustment
Signed-off-by: HiFiPhile <admin@hifiphile.com>
2025-11-07 15:50:49 +01:00
239ed48e22 Cleanup
Signed-off-by: HiFiPhile <admin@hifiphile.com>
2025-11-07 12:48:32 +01:00
58f29518a8 Fixup
Signed-off-by: HiFiPhile <admin@hifiphile.com>
2025-11-07 12:18:15 +01:00
f9bbad7576 Merge remote-tracking branch 'tinyusb/master' into audio_ep_in_target_fifo_size 2025-11-07 12:00:09 +01:00
bec9676493 osal/none: add nested count to spin lock
Signed-off-by: HiFiPhile <admin@hifiphile.com>
2025-11-07 11:32:41 +01:00