Commit Graph

9949 Commits

Author SHA1 Message Date
7df6e7bd05 implement wanted char for cdc device without ep_buf 2025-11-22 00:56:24 +07:00
793d3b5dd1 more tusb fifo refactor: ff_peek_local() lock mutex if need to correct read pointer. More rename 2025-11-22 00:51:18 +07:00
ad34b92f0e Apply suggestions from code review
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-11-21 17:02:37 +01:00
a6df41d895 dcd/dwc2: add IN fifo configure
Signed-off-by: HiFiPhile <admin@hifiphile.com>
2025-11-21 16:55:41 +01:00
3842980adf dcd: add tud_configure()
Signed-off-by: HiFiPhile <admin@hifiphile.com>
2025-11-21 15:43:37 +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
c9b623aa63 edpt stream support xfer_fifo for device CFG_TUD_EDPT_DEDICATED_HWFIFO
cdc device omit ep buffer when hwfifo is supported
2025-11-21 17:02:56 +07:00
d0d56a51a1 more tu_fifo refactor 2025-11-21 14:51:54 +07:00
d4cdc096ca add more unit tests for tu_fifo 2025-11-21 12:58:28 +07:00
30198b2ab9 refactor tu_fifo, add tu_fifo_write/read/peek_n_access() 2025-11-20 18:35:28 +07: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
aa3aec0034 Revert "add find_hid_desc"
support rare case where hid descriptor is after endpoint descriptor
2025-11-20 11:15:32 +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
din
dba5d799f2 add find_hid_desc 2025-11-15 08:45:32 -06: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