Commit Graph

4520 Commits

Author SHA1 Message Date
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
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
6b3970d5ff Fixed trailing whitespaces in files (used wrong editor) 2025-10-31 17:29:58 +01:00
6837e47584 Merge branch 'master' into fork/ArcaneNibble/ohci-upstream 2025-10-31 14:21:17 +07: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
032de0b0df Video Class: New callback function added which allows to generate frame data on the fly
- If buffer is set to NULL, the callback will request payload data from a user function. This allows to work with dynamic content on platforms which are not able to hold a whole frame in memory.
- Callback uses the same "weak" linking as other callbacks for this class.
2025-10-30 12:21:21 +01:00
88305b1b34 Merge branch 'master' into add-ohci-lpc55
# Conflicts:
- hw/bsp/lpc17/family.cmake
- hw/bsp/lpc40/family.cmake
- hw/bsp/lpc55/family.cmake
2025-10-30 14:35:11 +07:00
53c155bf1b Implement tud_audio_set_ep_in_target_fifo_size function to set the target fifo size of the ep in flow control 2025-10-29 15:31:41 -04:00
d92b810df7 fix Identifiers that start with '__' or '_[A-Z]' are reserved.
fix compiling with nuc family
2025-10-28 14:14:01 +07:00
113a763bc3 fix warning with strict prototypes warnings 2025-10-28 11:10:29 +07:00
a12806a6cd fix descriptor warning when shifting zero 2025-10-28 00:17:26 +07:00
d55e074a36 improve warnings with rp2040 family 2025-10-27 17:11:42 +07:00
a6efc7d722 Merge pull request #3319 from peppapighs/dwc2-usbsuspm
dcd/dwc2: fix suspend interrupt indefinitely disabled on AT32F405
2025-10-25 23:11:26 +02:00
80309e4d13 dcd/dwc2: clear pending suspend interrupt before usb reset 2025-10-25 17:09:39 +08:00
9f1a86c0cb Ensure type promotion
Signed-off-by: HiFiPhile <admin@hifiphile.com>
2025-10-24 13:27:38 +02:00