hathach
bad6cbe489
update midi host to use endpoint stream API
2025-02-13 15:54:31 +07:00
hathach
e0b192b633
- use CFG_TUH_MIDI as number of midi host instance
...
- comment out tuh_descriptor_device_cb/tuh_desc_configuration_cb since it is unrelated to this PR
2025-02-12 22:16:08 +07:00
hathach
7c405236cf
fix host midi build
2025-02-12 11:50:57 +07:00
hathach
294fb268d7
pre-commit fix
2025-02-12 11:39:26 +07:00
hathach
85247e50dd
clean up
2025-02-12 11:34:32 +07:00
hathach
87adc63226
Merge branch 'master' into fork/atoktoto/midihost
...
# Conflicts:
# hw/bsp/rp2040/family.cmake
# src/class/midi/midi.h
# src/class/midi/midi_device.c
# src/device/usbd_control.c
# src/host/hcd.h
# src/host/usbh.c
# src/host/usbh.h
2025-02-12 11:28:16 +07:00
hathach
ea38115d6c
make sure TOTAL_DRIVER_COUNT is not overflow 8-bit
2025-02-11 21:20:42 +07:00
hathach
5a39bcf79c
remove freeeRTOSConfig in examples
2025-02-11 21:19:09 +07:00
Ha Thach
457c2b55da
Merge pull request #2914 from ReimuNotMoe/master
...
Various fixes for the Microchip Chipidea FS driver
2025-02-11 16:50:44 +07:00
Ha Thach
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
hathach
a232644cbd
add full hid usage for Digitizer Page (0x0D), move thing around a bit.
2025-02-07 16:38:14 +07:00
hathach
cd0ca4832d
Merge branch 'refs/heads/master' into fork/jay94ks/styluspen
2025-02-07 16:37:51 +07:00
hathach
3ffe8dbfee
fix stringop-overread warning for msc device with memmove
2025-02-07 12:48:17 +07:00
Jannis Konrad
169d2d7a1f
use speed enum
2025-02-06 08:50:25 +01:00
Jannis Konrad
f7fa4d0edb
ch32v3 fs: signal bus speed
2025-02-05 17:36:38 +01:00
HiFiPhile
8d2310247c
Fix CI.
...
Signed-off-by: HiFiPhile <admin@hifiphile.com >
2025-02-02 14:01:15 +01:00
HiFiPhile
84f8876c7c
Use return code to choose async io.
...
Signed-off-by: HiFiPhile <admin@hifiphile.com >
2025-01-31 16:26:10 +01:00
HiFiPhile
b31036dede
Merge remote-tracking branch 'upstream/master' into h7rs
2025-01-31 10:38:06 +01:00
HiFiPhile
cc626f35d2
msc_device: add async IO support.
...
Signed-off-by: HiFiPhile <admin@hifiphile.com >
2025-01-29 15:16:02 +01:00
HiFiPhile
d1ee2bf18f
Fix Auto speed display.
...
Signed-off-by: HiFiPhile <admin@hifiphile.com >
2025-01-29 15:14:25 +01:00
hathach
7641060252
Merge branch 'master' into zephyr-support
2025-01-25 23:48:05 +07:00
hathach
8c7998b0e9
fix ci
2025-01-25 22:24:00 +07:00
HiFiPhile
f6f20e17ab
Add NUCLEO-H7S3L8 BSP.
...
Signed-off-by: HiFiPhile <admin@hifiphile.com >
2025-01-24 16:56:40 +01:00
hathach
31071ccf0e
kind of work with zephyr with pca10056 with cmake -DBUILD_ZEPHYR
2025-01-23 17:10:48 +07:00
HiFiPhile
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
hathach
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
hathach
91214b4614
zephyr
2025-01-21 16:28:29 +07:00
hathach
c8130afe9b
bump up cmake min to 3.20
2025-01-21 16:28:26 +07:00
hathach
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
Tomas Rezucha
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
pschatzmann
b91d5ebb45
rp2040 correct dcd_edpt_iso_activate
2025-01-15 10:18:16 +01:00
HiFiPhile
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
Roman Leonov
dee6b36923
feature(tusb): Added teardown API
2025-01-15 09:45:29 +01:00
Dan Halbert
76fe0393ed
src/class/hid/hid_host.c: fix logging calls for epbuf
2025-01-15 14:54:49 +07:00
Tomas Rezucha
679065c3d6
fix(ncm): Use IN buffer for transmit checks
2025-01-14 16:56:24 +01:00
Reimu NotMoe
655092d568
dcd_pic: check USBBUSY bit on PIC32s
2024-12-27 04:17:26 +08:00
Reimu NotMoe
a4169114ec
dcd_pic: let the user manage shared GPIO/VBUS pin
2024-12-27 01:16:15 +08:00
Reimu NotMoe
6e11406831
dcd_pic: handle EP0 timeout/stall correctly
2024-12-27 01:16:15 +08:00
Reimu NotMoe
0192b2a9b0
dcd_pic: implement dcd_deinit()
2024-12-27 00:59:45 +08:00
Reimu NotMoe
f409472998
dcd_pic: handle remote wakeup more correctly
2024-12-27 00:57:22 +08:00
Reimu NotMoe
8907a817a2
dcd_pic: handle bus resume correctly
2024-12-27 00:50:32 +08:00
Reimu NotMoe
99e6b32a7d
dcd_pic: change license header and credit people accordingly
2024-12-27 00:36:42 +08:00
Reimu NotMoe
8022477031
dcd_pic: add readme
2024-12-27 00:36:31 +08:00
hathach
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
hathach
22a6777c2d
enable CFG_TUD/THU_MEM_DCACHE_ENABLE for imxrt with M7 by default
2024-12-17 20:53:50 +07:00
hathach
a39e30db92
Merge branch 'refs/heads/master' into fork/HiFiPhile/rt1170
2024-12-17 11:16:27 +07:00