hathach
a5f9947a20
msc host work ok with p4 dma
2024-11-26 13:38:03 +07:00
hathach
833eb7d22d
change dcd_dcache_*() API return type from void to bool
2024-11-25 19:11:19 +07:00
hathach
1533e693ee
TUD_EPBUF_TYPE_DEF ncm_device
2024-11-22 15:45:08 +07:00
hathach
090964cd1b
apply TUD_EPBUF_DEF for device: bth, dfu, hid, msc
2024-11-22 12:25:37 +07:00
hathach
85e54b0fc3
use TUD_EPBUF_DEF to declare buffer memory for midi
2024-11-21 19:36:15 +07:00
hathach
dbdc5a239c
- move freertos_hooks to board.c
...
- add device/midi_test_freertos example
- update bth/dfu/midi device for cache line size
2024-11-21 17:49:38 +07:00
hathach
fa523a5682
make sure usb buffer occupies whole cache line when DCACHE is enabled for msc,cdc,hid
...
HIL enable device DMA for p4
2024-11-21 10:22:09 +07:00
hathach
b3b8bd88cb
add CFG_TUD_MEM_DCACHE_ENABLE, CFG_TUD_MEM_DCACHE_LINE_SIZE option
2024-11-20 21:30:29 +07:00
Ha Thach
9e674d4fae
Merge pull request #2881 from hathach/enhance-dwc2-dcd
2024-11-19 05:08:07 +07:00
Chintalagiri Shashank
c291b831e8
Make HS USB default for STM32H7RS
2024-11-16 12:32:26 +05:30
Chintalagiri Shashank
a780071d20
Add support for STM32H7RSxx
2024-11-16 12:32:26 +05:30
hathach
daef846aa7
rename CFG_TUD_DWC2_DMA to CFG_TUD_DWC2_DMA_ENABLE
2024-11-14 13:26:11 +07:00
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
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