hathach
79cbe93fcf
separate flush tx/rx fifo
2024-04-11 11:02:54 +07:00
HiFiPhile
03cfe90f3e
flush fifo in dcd_edpt_close_all()
2024-04-10 22:21:53 +02:00
hathach
a173e6ed13
revert pr2245
2024-04-10 17:02:35 +07:00
Luke A
804a73a454
Adding tuh_hid_get_report(...) to hid_host.h
...
This allows USB host functionality to call HID_REQ_CONTROL_GET_REPORT on the IN Endpoint, and read the report buffer in the callback.
2024-04-10 15:46:57 +07:00
Ha Thach
b0829ed999
Merge pull request #2586 from hathach/fix-2097
2024-04-10 10:36:27 +07:00
hathach
1e41b9725a
remove the usage of TU_BIT() and TU_GENMASK() from tusb_types.h
2024-04-10 10:13:36 +07:00
hathach
724ef1af8d
set txfifo empty level to complete and change back fifo tx to normal size
2024-04-10 09:58:43 +07:00
hathach
2bce68a065
Merge branch 'master' into dwc2-interrupts
2024-04-09 22:04:43 +07:00
Ha Thach
a5b109b699
Merge pull request #1580 from MatiMcFly/master
...
Fixing Renesas register write protection and some compiler warnings in static code analysis
2024-04-09 17:25:23 +07:00
hathach
6c2f71ad19
make veryfi static in ccrx consistent with the rest
2024-04-09 17:12:15 +07:00
HiFiPhile
b0568e32a5
Fix tud_video_n_streaming check
2024-04-09 11:11:06 +02:00
Matthias Schär
5c7876d444
Fixed behavior of the PRCR register. Previous write protection will be recovered.
2024-04-09 12:13:38 +07:00
Ha Thach
42decf28f1
Merge pull request #1835 from MasterQ32/otg_bringup
...
Implements deinit functions for host/device mode switch
2024-04-08 23:48:52 +07:00
hathach
be25a3fc20
revert usbd driver name change to be backward compatible
2024-04-08 22:56:22 +07:00
hathach
4bc6a5feb7
fix unused warning
2024-04-08 22:22:00 +07:00
hathach
366564e952
fix missing if mutex required
2024-04-08 22:13:05 +07:00
hathach
c3c0648456
add class driver deinit
2024-04-08 22:07:56 +07:00
Felix "xq" Queißner
47c12a07f2
Implements tuh_deinit() and tud_deinit() to uninitialize host/device mode.
2024-04-08 19:00:35 +07:00
Ha Thach
d33fe38a62
Merge pull request #1363 from tobozo/master
...
HID Mouse with absolute positioning
2024-04-08 18:33:40 +07:00
Ha Thach
b90eccccfd
Merge pull request #2575 from HiFiPhile/dwc2_free
...
dwc2: remove fifo free code.
2024-04-08 18:27:21 +07:00
Ha Thach
872864e397
Merge pull request #2567 from HiFiPhile/iso_alloc
...
ISO endpoint allocation improvments
2024-04-08 16:24:50 +07:00
hathach
cbbfbbb57e
add cpuctl and pinctl to tuh_configure() option for max3421
2024-04-08 13:16:08 +07:00
HiFiPhile
e642066562
Move TUP_DCD_EDPT_ISO_ALLOC outside usbd_edpt_close() loop.
2024-04-06 19:02:50 +02:00
HiFiPhile
e160366a1e
dwc2: remove fifo free code.
2024-04-05 19:12:28 +02:00
hathach
c97c3418c7
minor update bsp
2024-04-05 20:31:55 +07:00
hathach
1c5abc835f
Merge branch 'master' into MCX
2024-04-05 17:59:38 +07:00
hathach
5ce4585884
fix pre-commit format
2024-04-05 17:14:51 +07:00
hathach
caf2c5e0b7
reverted un-related file changes
2024-04-05 17:04:33 +07:00
Ha Thach
5738757e2c
Merge pull request #2421 from antoniovazquezblanco/debug
...
Log outbound xfer bytes while in debug
2024-04-04 18:34:26 +07:00
Ha Thach
802ad885ab
minor update
2024-04-04 17:15:38 +07:00
hathach
93fb3b00de
fix build with gcc 11
2024-04-04 12:51:07 +07:00
hathach
7910cc2981
fix build with rp2040 + max3421
...
- forward MAX3421_HOST=1 from makefile to cmake
- add feather_rp2040_max3421 board to run with ci for rp2040 + max3421
2024-04-04 10:55:14 +07:00
Ha Thach
66cdf6d097
Merge pull request #2514 from camilaodsouza/sdk_3.2_update
...
Changes required for new SDK 3.2.0
2024-04-03 23:58:18 +07:00
hathach
11722cc533
add note for sdk v2 and v3, also add check if allocreq failed
2024-04-03 23:08:15 +07:00
HiFiPhile
2e4d4e4a01
Add endpoint ISO allocation to video class.
2024-04-02 20:54:33 +02:00
HiFiPhile
db28437218
Move endpoint alloc define to tusb_mcu.h
2024-04-02 20:54:33 +02:00
HiFiPhile
60acb990b6
Merge pull request #1702 from battlesnake/uac2-interrupt-endpoint
...
UAC2 supports interrupt-endpoint for providing control-change notifications to the host
2024-04-02 20:19:58 +02:00
Ha Thach
f8dc3b97be
check cfg_param pointer
2024-04-02 22:47:50 +07:00
Ha Thach
9fb1fb9044
correct max nak
2024-04-02 20:39:06 +07:00
Ha Thach
8936096846
max3421 limit max nak
2024-04-02 19:56:39 +07:00
hathach
18a458679f
Merge branch 'master' into MCX
2024-04-02 18:14:49 +07:00
Ha Thach
bc75881a40
Merge pull request #2563 from wjklimek1/master
...
Support for STM32H503 MCU
2024-04-02 17:24:09 +07:00
Ha Thach
2265bfeab6
Merge pull request #2543 from IngHK/max3421_nak_retry
...
MAX3421E NAK retry handling next frame
2024-04-02 17:13:54 +07:00
hathach
172c9f70c7
clean up
2024-04-02 16:55:49 +07:00
hathach
7d3d60f96d
add hcd_configure() to change max NAK dynamically
2024-04-02 16:38:40 +07:00
hathach
e802fe0677
refactor: add hxfr per endpoint
2024-04-02 16:04:03 +07:00
hathach
bd2210b812
always limit number of NAK per endpoint per usb frame to save cpu usage. Default to 1 NAK per endpoint
2024-04-02 12:36:00 +07:00
HiFiPhile
7ca988018e
UAC2: fix mounted condition.
2024-04-01 20:02:45 +02:00
HiFiPhile
05f9cab191
UAC2: refactor interrupt endpoint support.
2024-04-01 20:02:35 +02:00
Wojciech Klimek
057278c0c6
Support for STM32H503 MCU - review changes
...
Implemented changes suggested in the review:
- restored original name of SystemClock_Config() function
- some GPIO clocks are only enabled if macros are defined
- moved GPIO clocks init back to family.c
2024-04-01 14:51:46 +02:00