Commit Graph

4550 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
1634d1175d Merge pull request #3325 from tswan22/master
Add STM32U3 Device
2025-11-07 02:05:08 -08:00
5d351828cb Apply suggestions from code review
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-11-07 16:31:17 +07: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
1f84dd595a fix compile issue when enable both host and device for dwc2 2025-11-06 18:22:37 +07:00
0172f40e66 update espressif cmake 2025-11-06 11:39:10 +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
22f01aea0d fix more warnings/alerts 2025-11-03 15:14:52 +07:00
00f374682e fixing alert by scanning tool 2025-11-03 11:46:54 +07:00
67b2a5c2e1 remove binary prefix for portability 2025-11-03 11:17:39 +07:00
8e9ba21815 fix alert using input in gh action. fix some conversion int 2025-11-03 10:46:53 +07:00
bda7efb1b3 fix #2942, include stdio if CFG_TUSB_DEBUG > 0 and CFG_TUSB_DEBUG_PRINTF is not defined 2025-11-03 10:46:09 +07:00
ca44c772f7 Merge branch 'master' of https://github.com/hathach/tinyusb 2025-11-01 12:51:40 -04:00
9d46cca576 add STM32U3 device (adjusted from STM32U0) 2025-11-01 12:51:31 -04:00
a6c16d1475 Merge pull request #3248 from ArcaneNibble/ohci-upstream
ohci: Implement support for d-cache operations
2025-11-01 09:32:03 +07:00