|
bfab364bd1
|
打开log 防止初始化完成之前进入usb中断
|
2025-09-20 15:42:22 +08:00 |
|
copilot-swe-agent[bot]
|
da9284e88b
|
Fix obsolete cnt assignment in _tu_fifo_peek() overflow check
Co-authored-by: hathach <249515+hathach@users.noreply.github.com>
|
2025-09-03 10:42:17 +00:00 |
|
Scott Shawcroft
|
ddb8f0fe73
|
Add ESP32-C5 and ESP32-C61 definitions
|
2025-08-15 10:15:24 -07:00 |
|
peppapighs
|
2298c2f410
|
Fix AT32F405xx missing USB HS definition
|
2025-08-05 18:17:27 +07:00 |
|
Ha Thach
|
8f46021eba
|
Merge pull request #3183 from rppicomidi/fix_3159
Fix #3159: Handle MIDI interface after audio streaming interface
|
2025-08-02 20:34:25 +07:00 |
|
hathach
|
12a1d0e7ed
|
use tu_desc_in_bounds() for descriptor loop
|
2025-08-02 11:23:15 +07:00 |
|
Ha Thach
|
a16c7a27e4
|
Merge pull request #3191 from hathach/at32
support at32 mcu (2)
|
2025-08-01 10:39:47 +07:00 |
|
Ha Thach
|
9990e4bf0c
|
Merge pull request #2963 from HiFiPhile/stm32_cache
Add DWC2 cache maintenance routines for STM32
|
2025-07-07 22:02:30 +07:00 |
|
hathach
|
3eb0451879
|
change CFG_TUSB_MEM_DCACHE_LINE_SIZE_DEFAULT (not defined) to 1
use stock iar linker
|
2025-07-07 20:31:49 +07:00 |
|
zhiqiang
|
73bf9aeaa6
|
support at32 mcu
|
2025-07-07 14:13:15 +08:00 |
|
HiFiPhile
|
3287cfaf76
|
Use DMA enable for DCache condition
Signed-off-by: HiFiPhile <admin@hifiphile.com>
|
2025-07-05 12:50:00 +02:00 |
|
hathach
|
6e88895dbc
|
always define CFG_TUH_WCH_USBIP_USBFS=1 for ch32v20x since only port1 support host mode
reformat hcd usbfs
add uart rx for ch32v20x bsp
|
2025-07-05 11:26:48 +07:00 |
|
hathach
|
970c8b744e
|
Merge branch 'master' into fork/HiFiPhile/stm32_cache
|
2025-07-03 17:07:52 +07:00 |
|
hathach
|
5c974cee23
|
usbh make TU_API_SYNC() public, to implement sync() API, change return of sync API from uint8_t to tusb_xfer_result_t
|
2025-06-20 12:51:29 +07:00 |
|
hathach
|
9503883ba7
|
usbh: add new API tuh_descriptor_get_device_local()
cdc host: remove the local desc_dev and the get_device descriptor call for ftdi and pl2303
|
2025-06-18 23:44:03 +07:00 |
|
HiFiPhile
|
e19ff3ecae
|
Add cache line size alignment to buffer macro
Signed-off-by: HiFiPhile <admin@hifiphile.com>
|
2025-06-13 22:49:06 +02:00 |
|
HiFiPhile
|
e84efd2771
|
Add STM32 DWC2 cache support
Signed-off-by: HiFiPhile <admin@hifiphile.com>
|
2025-06-13 15:21:04 +02:00 |
|
hathach
|
7d66a3e775
|
merge n6 and h7rs (same config)
|
2025-06-12 21:20:49 +07:00 |
|
James Sandison
|
56c9521abd
|
chore: squash previous commits from other branches
|
2025-06-04 11:21:27 +10:00 |
|
hathach
|
9aea7751f2
|
dwc2 only enter critical in isr with multiple core CPUs
|
2025-05-19 20:04:20 +07:00 |
|
hathach
|
67389f37f2
|
follow up to pr3118, interface also end with IAD. Add more checks
|
2025-05-16 16:39:53 +07:00 |
|
hathach
|
e8a84f9076
|
enum For string descriptor (langid, manufacturer product, serila): always get the first 2 bytes to determine the length first. otherwise, some device may have buffer overflow.
|
2025-04-18 10:53:12 +07:00 |
|
hathach
|
db537861b2
|
device cdc: rename tud_cdc_configure_fifo/_t to tud_cdc_configure/_t
add tx_overwritabe_if_not_connected for cdc driver configure
|
2025-03-24 22:58:21 +07:00 |
|
hathach
|
ee234a84ca
|
hack: force/overwrite endpoint mps to 64 for device that incorrectly report 512 bytes for bulk in fullspeed mode.
|
2025-03-06 11:03:47 +07:00 |
|
hathach
|
39e6375b74
|
midi host: skip rx data with all zeroes
|
2025-03-06 10:26:45 +07:00 |
|
hathach
|
8c0c21189c
|
Merge branch 'master' into fork/atoktoto/midihost
# Conflicts:
# src/host/usbh.c
|
2025-03-05 18:25:31 +07:00 |
|
hathach
|
5f447b76ad
|
- add tuh_descriptor_get_string_langid() API
- host enumeration always get language id, manufacturer, product and serial string. Which is required by some device such as 8bitdo
|
2025-03-03 23:22:23 +07:00 |
|
hathach
|
71e046d9ff
|
add tuh_midi_descriptor_cb()
|
2025-02-24 10:55:03 +07:00 |
|
hathach
|
6ebd362cfd
|
Merge branch 'master' into fork/atoktoto/midihost
# Conflicts:
# src/host/usbh.c
|
2025-02-21 10:59:40 +07:00 |
|
hathach
|
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 |
|
hathach
|
bad6cbe489
|
update midi host to use endpoint stream API
|
2025-02-13 15:54:31 +07: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
|
7f61a5a43b
|
made change per reviews, remove dcd_edpt_close(), rename and move thing around
|
2024-11-28 15:56:47 +07:00 |
|
hathach
|
c514a8c879
|
Merge branch 'master' into fork/pschatzmann/rp2040-iso
|
2024-11-28 11:02:23 +07:00 |
|
David (Pololu)
|
568c785da1
|
Add support for the STM32C0 and the NUCLEO-C071RB.
|
2024-11-27 22:28:32 +07:00 |
|
Ha Thach
|
dbc2c8d972
|
Fix missing protoype warning, change TUD_EPBUF_TYPE_DEF order (#2889)
* change TUD_EPBUF_TYPE_DEF order
* add and fix -Wmissing-prototypes warnings for cmake (skip make)
|
2024-11-27 18:28:12 +07:00 |
|
hathach
|
d9ef3cd1b3
|
default CFG_TUH_DWC2_DMA_ENABLE to 0
|
2024-11-27 11:54:11 +07:00 |
|
hathach
|
123f1affb7
|
update device_info example to work with p4 dcache
|
2024-11-27 00:01:37 +07:00 |
|
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 |
|