feb41eeceb
Merge pull request #2950 from espressif/fix/ncm_buffer_validation
...
fix(ncm): Return invalid NTBs to free list
2025-01-22 21:02:35 +01:00
5b32df5abd
add s3 undefined speed note for racing issue with reset.
...
fix dcd_event_sof() with frame number
2025-01-20 22:47:32 +07:00
6476ff1241
fix(ncm): Return invalid NTBs to free list
...
In case we received invalid datagram, we silently fail
a the buffer was not returned to empty list -> it was lost.
If this happened more than CFG_TUD_NCM_OUT_NTB_N times, we run out of
NTBs and all OUT transfers are NACKed.
Closes https://github.com/espressif/esp-usb/issues/107
2025-01-15 19:16:58 +01:00
880aae4be2
Merge pull request #2947 from espressif/fix/ncm_buffer_checks
...
fix(ncm): Use IN buffer for transmit checks
2025-01-15 10:16:16 +01:00
76fe0393ed
src/class/hid/hid_host.c: fix logging calls for epbuf
2025-01-15 14:54:49 +07:00
679065c3d6
fix(ncm): Use IN buffer for transmit checks
2025-01-14 16:56:24 +01:00
ab9472f584
update doc, bump up release 0.18.0
...
revert OPT_MCU_RAXXX value back to 1403
2024-12-25 12:23:56 +07:00
22a6777c2d
enable CFG_TUD/THU_MEM_DCACHE_ENABLE for imxrt with M7 by default
2024-12-17 20:53:50 +07:00
a39e30db92
Merge branch 'refs/heads/master' into fork/HiFiPhile/rt1170
2024-12-17 11:16:27 +07:00
b1eae1e5e4
Merge pull request #2906 from hathach/add-ra8m1
...
Add ra8m1_ek
2024-12-17 11:14:57 +07:00
8eeddaab36
Merge pull request #2897 from shdeb/hid_pid_defs
...
Adding HID Usage Table Physical Input Device Page (0x0F)
2024-12-13 18:29:53 +07:00
ad0ac6780d
change OPT_MCU_RAXXX, fix missing prototype warnings.
2024-12-13 17:33:21 +07:00
91799b0df5
Merge branch 'master' into fork/HiFiPhile/rt1170
2024-12-11 16:20:02 +07:00
29fa07d2ad
Merge branch 'master' into fork/HiFiPhile/rt1170
2024-12-11 15:10:12 +07:00
d502a0c481
fix correct DWC2_EP_COUNT
2024-12-11 15:02:02 +07:00
ed4b1a9b68
Merge pull request #2656 from lijunru-hub/feat/uvc_support_frame_based
...
feat(uvc): support format frame based
2024-12-06 16:25:32 +07:00
3f335df508
Adding HID Usage Table Physical Input Device Page (0x0F)
2024-12-06 11:43:54 +05:30
3653c23240
Disable DWC HCD interrupt with MAX3421 enabled
...
hcd_int_handler isn't found otherwise.
2024-12-02 12:35:32 -08:00
df91c12ab2
Reformat audio class.
...
Signed-off-by: HiFiPhile <admin@hifiphile.com >
2024-11-30 23:31:28 +01:00
0d9a24c416
Fix HCD build.
...
Signed-off-by: HiFiPhile <admin@hifiphile.com >
2024-11-30 23:18:22 +01:00
0bca377d52
Fix typo.
...
Signed-off-by: HiFiPhile <admin@hifiphile.com >
2024-11-30 21:57:47 +01:00
f2ed60e9fc
Update audio class with dcache support.
...
Signed-off-by: HiFiPhile <admin@hifiphile.com >
2024-11-30 21:49:33 +01:00
3351c366ab
Restore DCache clean/invalidate.
...
Signed-off-by: HiFiPhile <admin@hifiphile.com >
2024-11-30 20:48:09 +01:00
c41d9db3b1
Merge branch 'master' into rt1170
...
Signed-off-by: HiFiPhile <admin@hifiphile.com >
2024-11-30 18:05:04 +01:00
2179fb1bd9
Merge pull request #2891 from roma-jam/fix/dcd_dwc2_counters
...
fix(dcd_dwc2): Fix EP IN counters assignment and usage
2024-11-29 14:07:30 +07:00
ecc65a86c8
refactor(usbd_control): Updated the buffer name for deeper debug
2024-11-28 13:16:06 +01:00
239443c197
fix(dcd_dwc2): Correct usage of dwc2_controller
2024-11-28 13:11:54 +01:00
741fdaaee7
fix(dcd_dwc2): Reset allocated_epin_count on bus reset and close all ep
2024-11-28 13:01:07 +01:00
c6dccffa2d
Merge pull request #2847 from pschatzmann/rp2040-iso
...
Rp2040 - ISO API to make Audio work / Merge to master
2024-11-28 16:13:20 +07:00
7f61a5a43b
made change per reviews, remove dcd_edpt_close(), rename and move thing around
2024-11-28 15:56:47 +07:00
c514a8c879
Merge branch 'master' into fork/pschatzmann/rp2040-iso
2024-11-28 11:02:23 +07:00
3cacb01459
Merge branch 'refs/heads/master' into fork/GuavTek/recover_zero_length_desc
2024-11-28 10:36:17 +07:00
4212db1b83
Move desc_len sanity checks to start of loops
2024-11-27 22:19:42 +01:00
568c785da1
Add support for the STM32C0 and the NUCLEO-C071RB.
2024-11-27 22:28:32 +07:00
dbc2c8d972
Fix missing protoype warning, change TUD_EPBUF_TYPE_DEF order ( #2889 )
...
* change TUD_EPBUF_TYPE_DEF order
* add and fix -Wmissing-prototypes warnings for cmake (skip make)
2024-11-27 18:28:12 +07:00
ae7cdcd070
fix typo
2024-11-27 12:18:54 +07:00
d9ef3cd1b3
default CFG_TUH_DWC2_DMA_ENABLE to 0
2024-11-27 11:54:11 +07:00
9e4b855e53
minor clean up
2024-11-27 11:35:21 +07:00
453d69517b
fix multiple flag on compiling
2024-11-27 11:10:06 +07:00
123f1affb7
update device_info example to work with p4 dcache
2024-11-27 00:01:37 +07:00
67e92e6688
add TUH_EPBUF_DEF for cdc host
2024-11-26 22:07:28 +07:00
f7efcf3c47
msc host, use usbh_get_enum_buf() for set_config() process
2024-11-26 18:02:59 +07:00
e9a3f88894
add buffer note for host msc api
2024-11-26 17:28:27 +07:00
d9f3e7dd25
add TUH_EPBUF_DEF for hid host
2024-11-26 16:32:19 +07:00
a5f9947a20
msc host work ok with p4 dma
2024-11-26 13:38:03 +07:00
be25aa31f6
hcd dwc2 add dcache support, usbh correctly use cache line size with TUH_EPBUF_DEF
2024-11-26 10:20:38 +07:00
833eb7d22d
change dcd_dcache_*() API return type from void to bool
2024-11-25 19:11:19 +07:00
c09eedaf24
try to fix circleci with kinetis
2024-11-25 17:45:54 +07:00
07d47ba487
fix ncm incorrect length for notify connection
2024-11-22 20:21:12 +07:00
5c18a32aaa
add TUD_EPBUF_DEF for ecm rndis, also separate notify and control buffer, use edpt_claim() to prevent race condition
2024-11-22 20:09:29 +07:00