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
d132044b75
add tuh_midi_mount_cb_t struct for tuh_midi_mount_cb()
...
change tuh_midi_rx/tx_cb() to have xferred_bytes
rename tuh_midi_get_num_rx/tx_cables() to tuh_midi_get_rx/tx_cable_count()
use default empty callback instead of weak null to be compatible with keil compiler
2025-02-24 16:05:31 +07:00
hathach
bad6cbe489
update midi host to use endpoint stream API
2025-02-13 15:54:31 +07:00
hathach
9e4b855e53
minor clean up
2024-11-27 11:35:21 +07:00
hathach
67e92e6688
add TUH_EPBUF_DEF for cdc host
2024-11-26 22:07:28 +07:00
hathach
090964cd1b
apply TUD_EPBUF_DEF for device: bth, dfu, hid, msc
2024-11-22 12:25:37 +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
Bollen Nico
5d74fb43b3
Extend callback information
2024-10-29 20:41:13 +01:00
hathach
cc816dc9c0
change edpt stream api to take hwid from API to reduce memory footprint
2024-09-10 17:41:20 +07:00
hathach
6fb6602a09
- add tud_cdc_n_ready() though not used
...
- usbd now change _usbd_dev.cfg_num before calling driver's open()
2024-07-19 18:08:04 +07:00
hathach
be18af8235
revert changes to usbds configuration_reset() (deal with it in separated PR)
2024-07-19 17:10:53 +07:00
HiFiPhile
60b3d14d19
Check tud ready check for OUT xfer.
2024-07-19 17:02:53 +07:00
hathach
0ecf15bc61
follow up to #2253
...
- rename tud_hid_report_fail_cb() to tud_hid_report_failed_cb() and change its signature
- use default implementation for hid callbacks to be compatible with keil compiler
- code format
2024-07-17 14:35:23 +07:00
hathach
1f590c3628
- add tud_cdc_configure_fifo() to replace CFG_TUD_CDC_PERSISTENT_TX_BUFF
...
- new line, and code format
2024-07-12 16:53:21 +07:00
Andrew Leech
d01b2cfc0e
Add option to make CDC TX buffer persistent.
2024-05-08 19:41:02 +10:00
hathach
c097c85dcf
fix print lu format warnings with clang
2024-04-22 16:17:22 +07:00
hathach
62331f0207
fix nrfx v3 spim freq when init
...
fix clang build with nrf
2024-04-22 15:55:50 +07:00
hathach
c3c0648456
add class driver deinit
2024-04-08 22:07:56 +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
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
IngHK
e63a2f5c58
fix #2444 and other small things
2024-01-31 18:00:25 +01:00
hathach
00ba4e95ac
cdch: de-configure when closing, rename configured to mounted
2024-01-30 10:59:12 +07:00
IngHK
82be2477e8
fixed #2437
2024-01-29 12:04:00 +01:00
IngHK
769a237b19
accumulated review changes
2024-01-20 20:34:50 +01:00
hathach
87d509d416
make CFG_TUH_CDC_LINE_CODING_ON_ENUM optional for ch34x
2024-01-20 01:42:31 +07:00
hathach
55cb713264
- add new API tuh_cdc_set_data_format()
...
- add typedef for cdc enum
2024-01-19 16:56:32 +07:00
hathach
c196a2ed9c
move code around
2024-01-19 16:04:30 +07:00
hathach
98781bb903
- add ch34x_set_data_format()
...
- add ch34x_set_line_coding()
2024-01-19 15:58:05 +07:00
hathach
23c2d929a1
refactor process_internal_control_complete()
2024-01-19 12:40:37 +07:00
hathach
c568a6793e
- add requested line coding to make update data format easier
...
- change ch34x_xfer_get_itf_num() to simply 0
2024-01-19 12:14:45 +07:00
hathach
30eb35f17f
- revert the use of serial init for set line coding
...
- update ch34x_get_lcr and ch34x_get_factor_divisor
2024-01-19 01:06:24 +07:00
IngHK
3968a0fff8
implemented ch34x_set_line_coding() and some code cleanup
2024-01-17 16:04:31 +01:00
hathach
f221c0fb66
more clean up
2024-01-17 14:45:09 +07:00
IngHK
482a8068a5
change code style and code cleanup
2024-01-16 14:51:04 +01:00
hathach
46ac03ba85
change code style
2024-01-16 17:45:16 +07:00
hathach
55da1072b6
merge and cherry pick changes
2024-01-16 17:25:44 +07:00
hathach
07e3d5c691
fix number of endpoint for ch340x, also open notification even not used for now
2024-01-16 14:32:31 +07:00
IngHK
f7ef3c1b1c
Merge branch 'cdc_ch34x_support' of https://github.com/IngHK/tinyusb into cdc_ch34x_support
2024-01-16 08:20:23 +01:00
IngHK
4e6408ea49
CDCh host: further work on CH340/CH341 support
2024-01-16 08:07:22 +01:00
IngHK
43e655b896
Merge remote-tracking branch 'remotes/hathach/master' into cdc_ch34x_support
2024-01-16 07:57:06 +01:00
hathach
e2aa671346
move open() ad vid_pid_list into serial driver struct
2024-01-16 12:54:39 +07:00
hathach
57c6f8cfa2
Merge branch 'master' into cdc_ch34x_support
...
# Conflicts:
# src/class/cdc/cdc_host.c
2024-01-16 12:00:28 +07:00
hathach
aa58cdcfa6
change CFG_TUH_CDC_FTDI/CP210X_PID_LIST to CFG_TUH_CDC_FTDI/CP210X_VID_PID_LIST which contains both vid and pid.
2024-01-16 01:28:29 +07:00
hathach
1f2901e8b1
fix conflict of BIT() macro
2024-01-15 19:02:02 +07:00
hathach
d192868d62
fix sign-conversion warning
2024-01-15 18:25:15 +07:00
hathach
d92eb38c21
change code style
2024-01-15 16:56:18 +07:00
hathach
a67ee4f01b
Merge branch 'master' into cdc_ch34x_support
2024-01-15 16:17:42 +07:00
IngHK
c619a86141
bInterfaceClass number replaced by define
2024-01-11 08:53:47 +01:00
IngHK
91f65a36bf
[CDC] host: moved acm_open to other acm prototypes
2024-01-09 09:53:54 +01:00
IngHK
c2bbcc9f60
initial support of CH34x CDC device
2023-12-26 20:14:03 +01:00