hathach
5d00488907
get hcd work esp32p4 but only in slave mode. In DMA channel's HCDMA is increased but data transfer over USB is not correct.
2024-11-08 17:23:43 +07:00
hathach
80ad7c4e87
add tusb_time_millis_api() and default/weak tusb_time_delay_ms_api(). Which is required for host and some device without RTOS.
2024-11-04 17:20:58 +07:00
hathach
df55d587df
update handle in/out, separate allocated and xfer result to make it easier to manage. Fix channel disable/deallocated.
2024-10-29 18:23:56 +07:00
hathach
063661e3a3
more progress on dwc2 hcd, initial code for edpt xfer
2024-10-25 00:20:34 +07:00
hathach
61b33ca926
testing hcd with f723 due to h743eval issue with mfx vbus drive.
2024-10-18 22:16:21 +07:00
pschatzmann
1b17bc04f9
RP2040 New ISO API
2024-10-15 23:09:05 +02:00
hathach
4012e15075
move core init code to dwc2 common. update/correct build for esppressif
2024-10-15 17:55:24 +07:00
hathach
1f18be93db
change the tusb_rhport_init_t struct, exclude the rhport to make API more consistent
2024-10-14 18:27:52 +07:00
hathach
92602b9de3
change tusb_init(), tusb_rhport_init() to use init struct for expandability
2024-10-11 13:41:53 +07:00
hathach
57aac432b5
add new tusb_int_handler(rhport, in_isr) as common irq handler
...
update tusb_init() to take rhport and role, defined as macro with optional argument for backward compatible
2024-10-10 16:28:36 +07:00
hathach
db15f63736
Merge branch 'master' into fork/Maerdl/master
2024-10-02 18:22:06 +07:00
Haefner, Martin
3fa7da95bd
support stm32U0 device
2024-10-01 15:24:11 +02:00
hathach
67e5577b42
added p4, seems to work well and enumerated
2024-09-30 11:53:18 +07:00
hathach
7e472fa3ca
try to add esp32 p4 and esp-idf v5.3 support
2024-09-30 11:53:18 +07:00
hathach
a1244381b3
add CFG_TUD_DWC2_DMA, make it compile time option
2024-09-24 17:55:15 +07:00
Ha Thach
4b107a2b9e
Merge pull request #2450 from HiFiPhile/vendor_fifo
...
Allow vendor class to be used without FIFO.
2024-09-11 10:10:06 +07:00
hathach
dd1822ba03
reduce ep stream footprint by using is_mps512 since it only support bulk so far
2024-09-10 18:37:53 +07:00
hathach
3ab63fbc65
remove vendor ep_addr, use stream api instead
2024-09-10 18:27:22 +07:00
hathach
7373a02396
minor clean up
2024-09-10 18:13:38 +07:00
hathach
cc816dc9c0
change edpt stream api to take hwid from API to reduce memory footprint
2024-09-10 17:41:20 +07:00
hathach
c0030810dd
update edpt_stream to support non-buffered (no fifo) mode
2024-09-10 16:15:51 +07:00
hathach
867f17acea
change vendor device to use edpt stream API
2024-09-10 10:44:22 +07:00
HiFiPhile
3eea46056e
Merge pull request #2788 from dp111/cppcheck
...
make function prototypes match functions( found by cppcheck)
2024-09-04 20:06:47 +02:00
hathach
0bb7b992d8
dwc2: for esp32 force disconnect/connect using USB_WRAP otg pad override (DM=DP=0) in addition to dwc2's dctrl
2024-09-04 20:56:04 +07:00
dp111
8ab1e4fbd0
make function prototypes match ( found by cppcheck)
2024-09-03 19:38:34 +01:00
HiFiPhile
4349e99fb2
Merge pull request #2786 from dp111/breakinside
...
Put break inside #if
2024-09-02 13:50:59 +02:00
hathach
088486186f
rename TUD_ENDPOINT_EXCLUSIVE_NUMBER to TUD_ENDPOINT_ONE_DIRECTION_ONLY
2024-08-19 19:05:33 +07:00
hathach
8fdd8d9a7b
implement dcd_edpt_iso_alloc/dcd_edpt_iso_activate for musb. video_capture example with iso kind of work but not smoothly. audio example does not seems to work as expected
2024-08-19 12:04:24 +07:00
hathach
a6bee747b6
define and use TUD_ENDPOINT_EXCLUSIVE_NUMBER
2024-08-17 18:07:36 +07:00
hathach
eaf9cc1beb
more refactor to simplify musb driver
2024-08-17 13:33:53 +07:00
dp111
c34d5e7a71
Put break inside #if #endif
2024-08-16 21:43:41 +01:00
hathach
a9df933e0d
add TUP_USBIP_MUSB macro, minor rename
2024-08-15 15:24:04 +07:00
hathach
761399b5e0
Merge branch 'refs/heads/master' into fork/BrentK-ADI/max32_port
2024-08-14 06:33:42 +07:00
Scott Shawcroft
00eb0144cb
Fix ESPs without device support
...
The newer tusb_option.h assumes that there is a number of device
endpoints to check against.
2024-08-08 12:55:30 -07:00
hathach
6fb6602a09
- add tud_cdc_n_ready() though not used
...
- usbd now change _usbd_dev.cfg_num before calling driver's open()
2024-07-19 18:08:04 +07:00
hathach
4ce1cce40a
simplify dwc2 test mode
...
- all dwc2 ip seems to support test mode in both fs/hs -> remove TUP_USBIP_DWC2_TEST_MODE
- remove dcd_check_test_mode_support(), all should be supported
- move enum tusb_feature_test_mode_t to tusb_types.h
2024-07-12 20:17:14 +07:00
Brent Kowal
2353c4ffba
Add MAX78002 Support
...
-Added support for MAX78002, MAX78002EVKIT
-Added provisions for remaining MAX32 USB parts
2024-07-01 17:31:38 -04:00
Brent Kowal
0f288326cc
Initial Commit for MAX32 Support
...
Initial commit for the port of TUSB to MAX32xxx parts, staring with MAX32690
- Added dcd_max32.c (based on dcd_musb.c) for interfacing with the peripheral
- Added MAX32690 part family support
- Added max32690evkit board support
- Updated examples for unique EP number requirement
- Updated get_deps.py to fetch the MSDK
Known Issues / Additional Testing Required
- msc_dual_lun only shown 1 volume on Windows
- USBTMC does not have a valid Windowsdriver
- DFU does not have a valid Windows driver
- WebUSB is "Device not Recognized"
- Need to test build scripts with IAR and Clang
2024-06-28 16:55:27 -04:00
Ha Thach
007a8bd46d
Merge pull request #2672 from tinic/master
...
Add support for STM32U535xx/STM32U545xx
2024-06-15 10:56:24 +07:00
hathach
33f5547ed4
add ch32v103 bsp support, compile but does not run, probably due to compile/linker issue
2024-06-14 16:06:37 +07:00
Tinic Uro
bc576e7cee
Make it work.
2024-06-12 08:33:10 -07:00
Tinic Uro
60d7fcb1ee
Use correct backend.
2024-05-30 13:26:14 -07:00
hathach
4ce439a75a
add ch32 support for fsdev driver. v20x can select fsdev or usbfs with make/cmake PORT=0/1. default to fsdev
2024-05-24 13:58:44 +07:00
hathach
927015baae
wch usbfs/usbhs need to specify which driver to use. for v307 default to highspeed
2024-05-24 11:38:44 +07:00
Ha Thach
a068b81674
Merge pull request #2362 from dragonlock2/master
...
Add CH32V20x USB OTG/FS Driver
2024-05-20 18:47:22 +07:00
hathach
b19295c1c1
use correct wch usbhs, usbfs for ch32v307 using CFG_TUD_MAX_SPEED
2024-05-20 17:26:04 +07:00
hathach
5fee292606
temp code
2024-05-20 11:54:48 +07:00
Ha Thach
ccc7a36043
Merge pull request #2648 from tannewt/esp32c2_h2
...
Add esp32c2 and esp32h2 for max3421 support
2024-05-17 11:01:30 +07:00
Scott Shawcroft
d3098747c0
Add esp32c2 and esp32h2 for max3421 support
2024-05-16 11:17:05 -07:00
Matthew Tran
db60fa1c63
add CH32V20x USB OTG/FS driver
2024-05-15 20:01:00 +07:00