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
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
HiFiPhile
5c8b3d97f0
Use FIFO size as condition.
2024-03-03 20:11:20 +01: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
Tommie Gannert
5ce7b14711
add notification support for device class USBTMC.
...
The ep_int_in is already used for responding to USB488
READ_STATUS_BYTE requests, but that EP is defined for all of USBTMC.
This extends the functionality to let callers send notifications and
receive ACKs.
2024-02-26 11:43:45 +01: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
IngHK
22a12c7668
improved ACM checks
2024-02-24 12:57:54 +01:00
IngHK
ea86bbe5f7
added continue enum after config fail
2024-02-24 12:57:53 +01:00
IngHK
dcadf8c2a2
created set_function_call()
2024-02-24 12:57:53 +01:00
IngHK
7dd435cb87
changed to use of p_cdc->requested_line_state
2024-02-24 12:57:53 +01:00
IngHK
2f50f5a426
changed to use of p_cdc->requested_line_coding
2024-02-24 12:57:53 +01:00
IngHK
829ea52873
splitted cdch_internal_control_complete() into driver's _internal_control_complete() and moved them into driver's sections. no functional change
2024-02-24 12:57:39 +01:00
hathach
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
IngHK
47777a6305
improved TU_LOGs
2024-02-23 23:35:59 +01:00
IngHK
069c68ad04
sorted driver functions into Control Request, Driver API, Enumeration and Helper. no functional changes
2024-02-23 23:27:38 +01:00
Ha Thach
21de8245ae
Merge pull request #2168 from emb4fun/nxp_k64
...
Added support for the NXP K64 series
2024-02-24 01:11:01 +07:00
hathach
65a2e5cdf8
fix build with cpu without USB_CLK_RECOVER using old dcd_khci driver
2024-02-24 00:53:05 +07:00
hathach
3d3bf45102
frdm k64f usb work well, add kinetis_k to ci cmake
2024-02-24 00:36:07 +07:00
Jerry Palacios
ec91660119
Revert "Merge branch 'hathach:master' into MCX"
...
This reverts commit 6afd4a5789 , reversing
changes made to 5c14bd13da .
2024-02-22 16:11:23 -06:00
jerpa77
6afd4a5789
Merge branch 'hathach:master' into MCX
2024-02-22 15:47:45 -06:00
Ha Thach
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
hathach
13d26d2166
slightly change cdc_msc_freertos example
2024-02-22 19:20:28 +07:00
Ha Thach
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
Jerry Palacios
5c14bd13da
MCX A and MCX N merged to MCX family
2024-02-20 18:02:42 -06:00
Bob Abeles
3f2df94457
video_device: fix uninitialized warning
2024-02-20 08:16:39 -08:00
Ha Thach
65e60f3123
Merge pull request #2463 from kasjer/kasjer/nrf5x-isoout-corruption-detection
...
nrf5x: Handle ISOOUT CRC errors
2024-02-20 14:06:08 +07:00