Commit Graph

9740 Commits

Author SHA1 Message Date
e5d775def8 usbh: detach existing device first if an attach event is received
Signed-off-by: HiFiPhile <admin@hifiphile.com>
2025-11-27 19:11:21 +01:00
66ab814520 usbh: watch hub status before driver config
Signed-off-by: HiFiPhile <admin@hifiphile.com>
2025-11-26 23:34:56 +01:00
c05d809e3e usbh: Stop enumeration gracefully if EP0 can't be open
Signed-off-by: HiFiPhile <admin@hifiphile.com>
2025-11-26 23:06:15 +01:00
c785469881 Merge pull request #3351 from thamul/master
Doc: Typo in docs/integration.rst
2025-11-20 16:36:37 +07:00
a85f29b2ae Doc: Typo in docs/integration.rst
Signed-off-by: Thomas Rubin <tr@andav.de>
2025-11-20 10:26:41 +01:00
409c19364b Merge pull request #3313 from hathach/copilot/fix-dcd-edpt-xfer-issue
Add is_isr parameter to dcd_edpt_xfer, dcd_edpt_xfer_fifo, usbd_edpt_xfer, and usbd_edpt_xfer_fifo functions
2025-11-20 14:17:13 +07:00
cea86617f7 Merge branch 'master' into copilot/fix-dcd-edpt-xfer-issue 2025-11-20 11:29:27 +07:00
3af1bec1a9 Merge pull request #3350 from hathach/update-changelog
update changelog.rst
0.20.0
2025-11-20 09:41:11 +07:00
85adf694e6 Merge remote-tracking branch 'tinyusb/master' into copilot/fix-dcd-edpt-xfer-issue
Signed-off-by: HiFiPhile <admin@hifiphile.com>
2025-11-19 22:05:07 +01:00
551520ddb8 update changelog.rst 2025-11-20 00:09:39 +07:00
790c7a0d7a Merge pull request #3349 from hathach/update-agents
release 0.20.0
2025-11-20 00:06:15 +07:00
f6a77b87f0 Bump version to 0.20.0 2025-11-19 23:23:49 +07:00
9d7b401c3d remove copilot-instructions.md, update and use AGENTS.md instead 2025-11-19 22:26:10 +07:00
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
2f0a35f21a Merge remote-tracking branch 'tinyusb/master' into copilot/fix-dcd-edpt-xfer-issue
Signed-off-by: HiFiPhile <admin@hifiphile.com>
2025-11-11 14:11:20 +01:00
8a094e807b Merge pull request #3278 from c1570/improved_docs
Documentation improvements
2025-11-11 13:19:59 +07:00