Commit Graph

3660 Commits

Author SHA1 Message Date
hathach
ac4e649e56 code format 2024-03-31 18:41:59 +07:00
hathach
2012a0d369 fix hid close not clear data 2024-03-31 15:48:26 +07:00
IngHK
14ce05fea3 Merge remote-tracking branch 'remotes/hathach/master' into max3421_nak_retry 2024-03-31 10:28:53 +02:00
IngHK
b644e4d955 fixed spelling 2024-03-31 10:27:54 +02:00
IngHK
fe304576d0 reactivated TU_ASSERT(_hcd_data.hirq & HIRQ_SNDBAV_IRQ,); 2024-03-31 10:27:15 +02:00
IngHK
8ded6d3d2e added some description to tusb_option.h 2024-03-31 10:27:15 +02:00
IngHK
c1a17a7369 removed debug code 2024-03-31 10:27:15 +02:00
IngHK
fbb2818864 added multiple attemp counting per frame 2024-03-31 10:27:14 +02:00
IngHK
79bc09a68c improved code readability 2024-03-31 10:27:00 +02:00
IngHK
f3fccaad26 improved/fixed trigger 1st retryable EP 2024-03-31 10:27:00 +02:00
IngHK
0bb26c97c3 removed redundant return true; 2024-03-31 10:27:00 +02:00
IngHK
009d85722b replaced bits xfer_pending, xfer_complete and retry_pending by common 4 bits state 2024-03-31 10:26:59 +02:00
IngHK
11a54bc8e1 renamed define NAK_RETRY_HANDLING to CFG_TUH_MAX3421_MAX_ATTEMPS_PER_FRAME as official option 2024-03-31 10:26:39 +02:00
IngHK
818c64efec fixed EP0 control handling 2024-03-31 10:26:39 +02:00
IngHK
998090d1a7 added further debug log outputs 2024-03-31 10:26:12 +02:00
hathach
85420c61c7 minor clean up 2024-03-31 13:49:41 +07:00
HiFiPhile
8055bc88d8 Code refactor. 2024-03-30 10:36:29 +07:00
HiFiPhile
4116a962a6 Flush FIFO on bus reset. 2024-03-30 10:36:28 +07:00
HiFiPhile
cab1106416 dwc2: add endpoint allocation support. 2024-03-30 10:36:27 +07:00
hathach
b9400df4c8 fix rp2 debug build with level 3 2024-03-29 11:23:36 +07:00
hathach
ddb1034a9c use hub_addr=0, hub_port=0 for removing root hub port 2024-03-28 21:45:52 +07:00
Scott Shawcroft
d50003e33d Fake unplug devices when a root hub is deinit 2024-03-28 21:41:59 +07:00
hathach
3dcb7362aa fix build when CFG_TUH_HUB == 0 2024-03-28 19:18:20 +07:00
hathach
0da1da942a enhance hub removal using while loop to unroll recursive instead of event queue. 2024-03-28 16:32:02 +07:00
Camila
307cce92c4 Improved SDK 3.2.0 compatibility
- Used usbdev_allocreq for compatibility with SDK 3.2.0
- Wrapped previous code in #ifdef for legacy compatibility
2024-03-26 19:48:08 +01:00
IngHK
9fdb1c1684 draft MAX3421E NAK retry handling next frame 2024-03-26 08:12:24 +01:00
hathach
fbb20373c1 implement hcd_deinit() for max3421 2024-03-26 10:26:42 +07:00
Ha Thach
5b0e255f7e Merge pull request #2530 from hathach/add-tuh-deinit 2024-03-25 19:15:39 +07:00
Ha Thach
0814ca0cc7 Merge pull request #2515 from Lurcy38/ReAlignMaster 2024-03-25 19:14:58 +07:00
Ha Thach
29f016ae15 fix pre-commit 2024-03-25 18:59:05 +07:00
Ha Thach
0610070d07 Update dcd_stm32_fsdev_pvt_st.h 2024-03-25 18:44:51 +07:00
hathach
a7a65e5d6d add delete API for rtthread 2024-03-25 18:30:03 +07:00
hathach
98b8e960aa Merge branch 'master' into add-tuh-deinit 2024-03-25 17:46:28 +07:00
HiFiPhile
3ec22e24ed Merge pull request #2472 from cdesjardins/master
Do not enable the Mode mismatch interrupt source, it is not cleared
2024-03-24 15:27:44 +01:00
acscd
c8805c61f9 Add files via upload 2024-03-22 20:05:52 -05:00
Ha Thach
67cd8349d6 Merge pull request #2526 from hathach/fix-uvc-hardfault
Fix uvc hardfault
2024-03-22 21:23:14 +07:00
hathach
e84c9f3e22 implement tuh_init()
change usbh driver init() return type from void to bool
2024-03-22 16:12:57 +07:00
hathach
31f68495cf update osal API
add osal_semaphore_delete(), osal_mutex_delete(), osal_queue_delete()
2024-03-22 16:10:26 +07:00
hathach
5774ac9886 add tu_edpt_stream_deinit() 2024-03-22 12:53:31 +07:00
hathach
2cf171095e code format 2024-03-22 12:45:23 +07:00
hathach
74bd264758 adding deinit() stub for usbh/hcd class driver
add TUSB_VERSION_BUILD, also add TUSB_VERSION_NUMBER
2024-03-22 11:42:33 +07:00
Ha Thach
60764de564 Merge pull request #2527 from tannewt/idf5.2.1
Tweaks for ESP-IDF 5.2.1
2024-03-21 10:21:29 +07:00
Scott Shawcroft
61a31db8ec Tweaks for ESP-IDF 5.2.1 2024-03-20 15:20:24 -07:00
hathach
ff12544c9a added dedicate buffer for probe commit payload 2024-03-20 22:45:46 +07:00
hathach
5630030a22 improve uvc debug message 2024-03-20 17:55:31 +07:00
hathach
6352081ded code format 2024-03-20 17:55:31 +07:00
Li Junru
5d1f6934fb fix: uvc multiple interface support
1. fix next interface may have IAD_DESC
2. fix vs_itf can't be open on bulk mode.
2024-03-18 10:20:36 +08:00
Tommie Gannert
9e674fa109 [usbtmc] cast to uintptr_t to get rid of const for usbd_edpt_xfer. 2024-03-15 15:02:13 +01:00
henneboi
f9c85ae47b IAR Warning: Fixed due to an boolean operation between enum (Pa089)
Warning[Pa089]: enumerated type mixed with another enumerated type	...tusb_uac2_audio.c	199
This issue stops the build if we treat warning as error
2024-03-14 09:13:12 +01:00
henneboi
5a854ef2dc dcd_stm32_fsdev.c: Fix a bug seend with stm32h5xxx when the driver is compiled with cubeide O1/O2/O3 2024-03-14 09:13:12 +01:00