Commit Graph

3389 Commits

Author SHA1 Message Date
2012a0d369 fix hid close not clear data 2024-03-31 15:48:26 +07:00
85420c61c7 minor clean up 2024-03-31 13:49:41 +07:00
8055bc88d8 Code refactor. 2024-03-30 10:36:29 +07:00
4116a962a6 Flush FIFO on bus reset. 2024-03-30 10:36:28 +07:00
cab1106416 dwc2: add endpoint allocation support. 2024-03-30 10:36:27 +07:00
b9400df4c8 fix rp2 debug build with level 3 2024-03-29 11:23:36 +07:00
ddb1034a9c use hub_addr=0, hub_port=0 for removing root hub port 2024-03-28 21:45:52 +07:00
d50003e33d Fake unplug devices when a root hub is deinit 2024-03-28 21:41:59 +07:00
3dcb7362aa fix build when CFG_TUH_HUB == 0 2024-03-28 19:18:20 +07:00
0da1da942a enhance hub removal using while loop to unroll recursive instead of event queue. 2024-03-28 16:32:02 +07:00
fbb20373c1 implement hcd_deinit() for max3421 2024-03-26 10:26:42 +07:00
5b0e255f7e Merge pull request #2530 from hathach/add-tuh-deinit 2024-03-25 19:15:39 +07:00
0814ca0cc7 Merge pull request #2515 from Lurcy38/ReAlignMaster 2024-03-25 19:14:58 +07:00
29f016ae15 fix pre-commit 2024-03-25 18:59:05 +07:00
0610070d07 Update dcd_stm32_fsdev_pvt_st.h 2024-03-25 18:44:51 +07:00
a7a65e5d6d add delete API for rtthread 2024-03-25 18:30:03 +07:00
98b8e960aa Merge branch 'master' into add-tuh-deinit 2024-03-25 17:46:28 +07:00
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
67cd8349d6 Merge pull request #2526 from hathach/fix-uvc-hardfault
Fix uvc hardfault
2024-03-22 21:23:14 +07:00
e84c9f3e22 implement tuh_init()
change usbh driver init() return type from void to bool
2024-03-22 16:12:57 +07:00
31f68495cf update osal API
add osal_semaphore_delete(), osal_mutex_delete(), osal_queue_delete()
2024-03-22 16:10:26 +07:00
5774ac9886 add tu_edpt_stream_deinit() 2024-03-22 12:53:31 +07:00
2cf171095e code format 2024-03-22 12:45:23 +07:00
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
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
61a31db8ec Tweaks for ESP-IDF 5.2.1 2024-03-20 15:20:24 -07:00
ff12544c9a added dedicate buffer for probe commit payload 2024-03-20 22:45:46 +07:00
5630030a22 improve uvc debug message 2024-03-20 17:55:31 +07:00
6352081ded code format 2024-03-20 17:55:31 +07:00
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
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
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
7c66f9b2a4 Merge pull request #2473 from kaidegit/patch-1
use rt-thread 5+ mq recv api
2024-03-13 16:28:28 +01:00
834e2c9560 usbd only process last setup packet in the event queue 2024-03-13 11:46:23 +07:00
6dc714b6de - only abort ep0 if it is active
- rename reset_ep0_pid() to reset_ep0()
- minor update log message
2024-03-13 11:41:58 +07:00
2f0ad918cc Merge branch 'master' into fix-rp2040-ctrl-xfer 2024-03-12 16:59:12 +07:00
5653232144 reformat code 2024-03-11 21:59:30 +07:00
1d3969acbd - usbh enumeration: move _parse_configuration_descriptor after SET_CONFIGURATION is successful
- usbh: abort all pending xfer when SET_CONFIGURATION is complete
- use tu_edpt_release in tuh_edpt_abort_xfer instead of usbh_edpt_release
- rename _xfer_complete -> _control_xfer_complete
2024-03-04 17:44:53 +07:00
ff76eca311 code reformat 2024-03-04 17:38:44 +07:00
4f5d80d397 add tuh_hid_receive_abort() API 2024-03-01 17:40:38 +07:00
4ed02ae5f9 reformat code hid_host.c
- fix ceedling with ruby 3.1
- allow overwrite CMAKE_C_COMPILER/CMAKE_CXX_COMPILER from command line
2024-03-01 17:34:14 +07:00
473d400cfd work around possible RP2040 erratum
RP2040 device controller does not seem to clear pending transactions
configured in EP0 buffer controls when the host aborts a control
transfer. This causes assertion failures, including when a buffer
AVAILABLE flag set for a previous transfer causes an unexpected
transaction completion.
2024-02-26 09:25:51 -06:00
23450d4f6b fixed compiler warning src/tusb.c 2024-02-24 15:51:02 +01:00
a52b4647ec only save/restore CLK_RECOVER_IRC_EN/CTRL if FSL_FEATURE_USB_KHCI_IRC48M_MODULE_CLOCK_ENABLED is defined to 1 2024-02-24 17:18:30 +07:00
21de8245ae Merge pull request #2168 from emb4fun/nxp_k64
Added support for the NXP K64 series
2024-02-24 01:11:01 +07:00
65a2e5cdf8 fix build with cpu without USB_CLK_RECOVER using old dcd_khci driver 2024-02-24 00:53:05 +07:00
3d3bf45102 frdm k64f usb work well, add kinetis_k to ci cmake 2024-02-24 00:36:07 +07:00
be5cc44f55 Merge pull request #2487 from hathach/update-cdc_msc_freertos-example
slightly change cdc_msc_freertos example
2024-02-22 20:15:56 +07:00
13d26d2166 slightly change cdc_msc_freertos example 2024-02-22 19:20:28 +07:00
a2446068d3 Merge pull request #2420 from zx96/use-cfg-tud-msc-log-level
msc_device: Fix check for including MSC lookup tables
2024-02-22 18:03:51 +07:00