Commit Graph

7695 Commits

Author SHA1 Message Date
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
Koji KITAYAMA
a4101c4174 Merge pull request #2520 from lijunru-hub/fix/uvc_support_multiple_interface
fix: uvc multiple interface support
2024-03-19 22:40:13 +09: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
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
HiFiPhile
7c66f9b2a4 Merge pull request #2473 from kaidegit/patch-1
use rt-thread 5+ mq recv api
2024-03-13 16:28:28 +01:00
Ha Thach
15775727e7 Merge pull request #2492 from tlyu/fix-rp2040-ctrl-xfer
work around possible RP2040 erratum
2024-03-13 12:02:08 +07:00
hathach
834e2c9560 usbd only process last setup packet in the event queue 2024-03-13 11:46:23 +07:00
hathach
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
hathach
2f0ad918cc Merge branch 'master' into fix-rp2040-ctrl-xfer 2024-03-12 16:59:12 +07:00
Ha Thach
6b7ceed25c Merge pull request #2516 from hathach/minor-code-format
Minor code format
2024-03-12 16:55:00 +07:00
hathach
2a4b27ed33 add led blinky to cdc_dual_ports example 2024-03-11 22:00:21 +07:00
hathach
5653232144 reformat code 2024-03-11 21:59:30 +07:00
Camila
eed3747661 Changes required for SDK 3.2.0:
- Define EP_ALLOCREQ
 - Define EP_FREEREQ
 - Define EP_ALLOCBUFFER
 - Define EP_FREEBUFFER

Those were previously defined in spresense-exported-sdk, but now have been removed.
2024-03-11 13:11:07 +01:00
IngHK
2786a61e8b fixed FTDI set control line 2024-03-10 08:21:11 +01:00
IngHK
ee92e582b3 added defines CFG_TUH_CDC_DTR_CONTROL_ON_ENUM & CFG_TUH_CDC_RTS_CONTROL_ON_ENUM 2024-03-10 08:20:30 +01:00
IngHK
a9cc07fc83 added line control function using cdc_line_control_state_t 2024-03-10 08:20:12 +01:00
IngHK
e0551043ca added use of cdc_line_control_state_t type in CDCh 2024-03-10 08:15:06 +01:00
IngHK
dea27d28bc added explicite (uint16_t) casts inside tu_htole16() 2024-03-10 08:14:00 +01:00
IngHK
e6d27b6d3e fixed IAR compile error 2024-03-10 08:13:22 +01:00
Deadman
0a2444e100 sparkfun_samd21_mini_usb board support 2024-03-09 03:21:52 +01:00
Ha Thach
a0e5626bc5 Merge pull request #2503 from hathach/tuh-set-config-abort-all-ep
[host] abort all pending transfer when SET_CONFIGURATION is complete
2024-03-04 18:07:35 +07:00
hathach
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
hathach
ff76eca311 code reformat 2024-03-04 17:38:44 +07:00
hathach
9b6f13716f correct rp2040 host with max3421 2024-03-04 16:14:53 +07:00
Ha Thach
6a9bca9ed3 Merge pull request #2500 from hathach/add-tuh-hid-abort
Add tuh hid abort
2024-03-04 15:48:44 +07:00
hathach
4f5d80d397 add tuh_hid_receive_abort() API 2024-03-01 17:40:38 +07:00
hathach
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
IngHK
e7308e313a improved TU_LOGs 2024-02-29 10:46:29 +01:00
IngHK
3cf9cb98e6 small PL2303 improvements 2024-02-29 10:46:29 +01:00
IngHK
edf1320391 removed expendable ACM check 2024-02-29 10:46:28 +01:00
IngHK
d3d61da038 improved & fixed compiler warnings device descriptor handling 2024-02-29 10:46:28 +01:00
IngHK
f97e31226a FTDI fixed itf_num and some improvement 2024-02-29 10:46:28 +01:00
IngHK
7f7576fa62 Merge remote-tracking branch 'remotes/hathach/master' into cdch_upgrade 2024-02-29 10:45:58 +01:00
Taylor Yu
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
Ha Thach
2720392a15 Merge pull request #2490 from IngHK/compiler_warning
fixed compiler warning src/tusb.c
2024-02-26 11:59:11 +07:00
IngHK
23450d4f6b fixed compiler warning src/tusb.c 2024-02-24 15:51:02 +01:00
IngHK
af5e75c394 Merge remote-tracking branch 'remotes/hathach/master' into cdch_upgrade 2024-02-24 13:03:51 +01:00
IngHK
46a861b0e3 improved PL2303 TU_LOGs 2024-02-24 13:01:58 +01:00
IngHK
da93fcfc6d improved TU_LOGs 2024-02-24 13:01:58 +01:00
IngHK
2b507dba4d small changes & code style 2024-02-24 13:01:38 +01:00
IngHK
ea175a78aa updated contribution, readme and some comments 2024-02-24 13:00:46 +01:00
IngHK
aabee25e18 added PL2303 support 2024-02-24 12:58:59 +01:00
IngHK
4547737833 improved CP210x support 2024-02-24 12:58:59 +01:00
IngHK
7fef5943ef improved FTDI support 2024-02-24 12:58:45 +01:00
IngHK
0b5f85eee0 created set_line_coding_sequence() and void set_line_coding_stage1_complete() to be reused by FTDI & CP210x 2024-02-24 12:57:54 +01:00
IngHK
db511fb2f3 fixed CFG_TUH_CDC_LINE_CONTROL_ON_ENUM handling. only set if defined. value 0 is also valid 2024-02-24 12:57:54 +01:00
IngHK
138567af3e fixed #2448 CH34x ch34x_set_line_coding() callback bug 2024-02-24 12:57:54 +01:00