Commit Graph

4031 Commits

Author SHA1 Message Date
70ddb7a867 more hub improve, handle more failed transfer with polling interrupt status endpoint 2025-02-19 15:50:42 +07:00
27a4895b79 complete separate hub epbuf from itf
add hub_get_status(), hub_clear_feature()
2025-02-19 12:58:03 +07:00
48a43a675c move status_change to epbuf
improve hub_xfer_cb()
rename internal complete function
2025-02-19 11:27:33 +07:00
792a446405 usbh always retry control transfer (max 3) in case of XFER_RESULT_FAILED.
added tuh_connected()
2025-02-17 22:40:19 +07:00
18d566b94c improve hub: retry if hub interrupt endpoint failed
bump up pio-usb to latest
2025-02-17 17:06:51 +07:00
5a39bcf79c remove freeeRTOSConfig in examples 2025-02-11 21:19:09 +07:00
457c2b55da Merge pull request #2914 from ReimuNotMoe/master
Various fixes for the Microchip Chipidea FS driver
2025-02-11 16:50:44 +07:00
24b2abbb05 Merge pull request #2982 from hathach/fix-stringop-overread-warning
fix stringop-overread warning for msc device with memmove
2025-02-10 13:47:52 +07:00
a232644cbd add full hid usage for Digitizer Page (0x0D), move thing around a bit. 2025-02-07 16:38:14 +07:00
cd0ca4832d Merge branch 'refs/heads/master' into fork/jay94ks/styluspen 2025-02-07 16:37:51 +07:00
3ffe8dbfee fix stringop-overread warning for msc device with memmove 2025-02-07 12:48:17 +07:00
169d2d7a1f use speed enum 2025-02-06 08:50:25 +01:00
f7fa4d0edb ch32v3 fs: signal bus speed 2025-02-05 17:36:38 +01:00
7641060252 Merge branch 'master' into zephyr-support 2025-01-25 23:48:05 +07:00
8c7998b0e9 fix ci 2025-01-25 22:24:00 +07:00
31071ccf0e kind of work with zephyr with pca10056 with cmake -DBUILD_ZEPHYR 2025-01-23 17:10:48 +07:00
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
6080f89f3d - change to use CMAKE_SYSTEM_CPU to prevent CMAKE_SYSTEM_PROCESSOR conflict with zephyr
- change tinyusb CMakeLists.txt to function tinyusb_target_add() instead of defining tinyusb lib target
2025-01-22 22:31:08 +07:00
91214b4614 zephyr 2025-01-21 16:28:29 +07:00
c8130afe9b bump up cmake min to 3.20 2025-01-21 16:28:26 +07: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
655092d568 dcd_pic: check USBBUSY bit on PIC32s 2024-12-27 04:17:26 +08:00
a4169114ec dcd_pic: let the user manage shared GPIO/VBUS pin 2024-12-27 01:16:15 +08:00
6e11406831 dcd_pic: handle EP0 timeout/stall correctly 2024-12-27 01:16:15 +08:00
0192b2a9b0 dcd_pic: implement dcd_deinit() 2024-12-27 00:59:45 +08:00
f409472998 dcd_pic: handle remote wakeup more correctly 2024-12-27 00:57:22 +08:00
8907a817a2 dcd_pic: handle bus resume correctly 2024-12-27 00:50:32 +08:00
99e6b32a7d dcd_pic: change license header and credit people accordingly 2024-12-27 00:36:42 +08:00
8022477031 dcd_pic: add readme 2024-12-27 00:36:31 +08: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
Jay
5c4e4b1bc2 modified invalid marked unit exponent. 2024-12-23 22:26:08 +09:00
Jay
eb1c2b83ef trimed trailing whitespaces. 2024-12-23 22:19:35 +09:00
Jay
7e59b595f4 Update hid_device.h 2024-12-23 22:09:59 +09:00
Jay
15b1623aa3 add hid stylus pen device.
this works with android, for bypassing that absmouse does not support android.
note that, to hide cursor on android for every touch signal, find cursor option in android settings menu.

references:
1. https://stackoverflow.com/questions/28536602/hid-digitizer-descriptor-doesnt-perform-well-with-landscape-orientation
2. https://github.com/jonathanedgecombe/absmouse/blob/master/src/AbsMouse.cpp
2024-12-23 22:03:37 +09: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