hathach
|
f27486e19a
|
add tuh_hid_itf_get_info() and change tuh_cdc_itf_get_info() to use new tuh_itf_info_t
|
2023-03-22 10:00:42 +07:00 |
|
hathach
|
e44e461ce3
|
add tuh_set_interface
|
2023-03-21 12:55:52 +07:00 |
|
hathach
|
3623ba1884
|
fix trailing space and new line
temporarily disable codespell
|
2023-03-17 16:12:49 +07:00 |
|
hathach
|
317177c83d
|
update host example, add pio-pico-usb for rp2040
|
2023-03-17 14:06:25 +07:00 |
|
hathach
|
498989ee00
|
use tu_static instead of static _fuzz_thread
|
2023-02-22 16:23:40 +07:00 |
|
Ha Thach
|
557bf82336
|
Merge pull request #1867 from silvergasp/thread_local_globals
fix: Change all static variables to thread when fuzzing
|
2023-02-22 12:54:32 +07:00 |
|
hathach
|
03ec49450d
|
rename maros from FUZZ to _FUZZ, change TU_STATIC to static _fuzz_thread
|
2023-02-22 11:47:09 +07:00 |
|
Jeff Trull
|
7e2c5fcc8a
|
Correct bitfields for cdc_desc_func_telephone_call_state_reporting_capabilities_t
|
2023-02-12 20:52:17 -08:00 |
|
Jeff Trull
|
f48ae4aad7
|
Adjust reserved bitfields to make SDCC happy
- keep each field at or under 16b
- For optimal packing, segment fields to 8b boundaries
|
2023-02-10 15:54:04 -08:00 |
|
Nathaniel Brough
|
18c3095346
|
fix: Change all static variables to thread when fuzzing
|
2023-01-20 15:45:31 -08:00 |
|
hathach
|
48d4a67ec5
|
add tuh_cdc_peek()
|
2022-12-24 01:11:13 +07:00 |
|
hathach
|
15a02d04df
|
fix incorrect rx buf in cdc
|
2022-12-22 21:35:55 +07:00 |
|
hathach
|
396716cc2c
|
clean up
|
2022-12-22 20:26:32 +07:00 |
|
hathach
|
f33883c308
|
add tuh_cdc_get_local_line_coding()
|
2022-12-22 19:41:39 +07:00 |
|
hathach
|
14d45b580e
|
correct host cdc enum
|
2022-12-22 19:17:09 +07:00 |
|
hathach
|
05c119ce97
|
cdc host, add set line coding API
|
2022-12-22 18:28:06 +07:00 |
|
hathach
|
11233e4d3e
|
minor clean up
|
2022-12-22 11:43:57 +07:00 |
|
hathach
|
2d536123c8
|
finish moving edpt stream to tusb.c
|
2022-12-22 11:31:37 +07:00 |
|
hathach
|
e3c9d94500
|
fix stream read count computation
|
2022-12-22 11:16:39 +07:00 |
|
hathach
|
8323e4b79a
|
moving edpt_stream API into common tusb.c
|
2022-12-22 08:52:01 +07:00 |
|
hathach
|
9e8ea44925
|
add tuh_cdc_write_clear, rename read_flush() to read_clear()
|
2022-12-21 17:49:50 +07:00 |
|
hathach
|
cd9008e5a9
|
add tuh_cdc_tx_complete_cb() callback
|
2022-12-21 13:05:45 +07:00 |
|
hathach
|
84a483f5ea
|
add more host cdc API
tuh_cdc_write_available(), tuh_cdc_read_flush(), tuh_cdc_rx_cb()
callback
|
2022-12-21 12:47:00 +07:00 |
|
hathach
|
badb30a6c3
|
correct cdc host app
|
2022-12-21 12:25:13 +07:00 |
|
hathach
|
22b62f8712
|
add tu_edpt_stream_write_zlp_if_needed()
|
2022-12-21 12:07:12 +07:00 |
|
hathach
|
76021c7359
|
rename tud_edpt_stream_write_xfer
|
2022-12-21 11:49:28 +07:00 |
|
hathach
|
cb2af4c0bc
|
minor debug log
|
2022-12-21 11:46:58 +07:00 |
|
hathach
|
37529c41da
|
fix ci
|
2022-12-21 10:46:47 +07:00 |
|
hathach
|
854e5222ae
|
finalizing cdc host, has a working read/write
TODO: first character seems not to get echoed. set control line state
seems to failed with LOG < 2
|
2022-12-21 00:26:46 +07:00 |
|
hathach
|
7004914d8c
|
fix hid host incorrect edpt release if failed to transmit
add CDC_CONTROL_LINE_STATE_DTR/RTS, TUSB_INDEX_INVALID enum
|
2022-12-20 12:06:59 +07:00 |
|
hathach
|
fc9321ce26
|
correct cdc usbh_driver_set_config_complete()
|
2022-12-16 23:54:21 +07:00 |
|
hathach
|
4811b3463f
|
stub
|
2022-12-16 17:08:37 +07:00 |
|
hathach
|
bd1f7f86ce
|
add common EPSIZE for bulk/iso in full and highspeed
adding cdc host fifo tx/rx
|
2022-12-16 17:08:37 +07:00 |
|
hathach
|
f62f973956
|
minor rename
|
2022-12-16 17:08:37 +07:00 |
|
hathach
|
f0c51eae44
|
cdc check for bNumEndpoints before checking for endpoint descriptor
|
2022-12-16 17:08:37 +07:00 |
|
hathach
|
4f03695084
|
adding tuh_cdc_mount_cb/tuh_cdc_umount_cb
start adding cdc_app.c to example
|
2022-12-16 17:08:37 +07:00 |
|
hathach
|
88e6da7273
|
use OSAL_MUTEX_REQUIRED to replace CFG_FIFO_MUTEX/TUSB_OPT_MUTEX
add macro to swallow mutex API in order to simplify code with mutex
|
2022-12-15 18:03:01 +07:00 |
|
hathach
|
19400c8556
|
fix typo, add -Wno-error=unreachable-code for fuzz due to latest cdc changes
|
2022-12-08 10:30:22 +07:00 |
|
Tomas Rezucha
|
603effbb77
|
cdc: Fix autoflush for FIFO < MPS
|
2022-12-06 07:49:26 +01:00 |
|
Bastien Nocera
|
6a2cf67289
|
Fix typos
|
2022-12-04 19:43:23 +07:00 |
|
hathach
|
a0ef489890
|
fix all warnings with host rp2040
|
2022-06-27 17:11:24 +07:00 |
|
hathach
|
4f6e770eda
|
add more warning option, also fix -Wconversion with rp2040
-Wuninitialized, -Wunused, -Wredundant-decls
|
2022-06-24 19:46:19 +07:00 |
|
hathach
|
8b9cf152a0
|
rhport argument in usbd_ API() is not used (always use the initialized port)
remove the usage of TUD_OPT_RHPORT in class driver
|
2022-06-02 16:51:17 +07:00 |
|
hathach
|
821be65b03
|
rename usbh_edpt_open() to tuh_edpt_open()
|
2022-03-19 14:59:31 +07:00 |
|
hathach
|
4795cca04a
|
add parse config descriptor to example
move usbh_edpt_open() to public API, remove rhport from its signature
|
2022-03-19 00:43:31 +07:00 |
|
hathach
|
8750e3b577
|
move daddr into xfer struct
|
2022-03-18 16:39:35 +07:00 |
|
hathach
|
f89ff939d8
|
rename user_arg to user_data
|
2022-03-17 22:37:51 +07:00 |
|
hathach
|
55428d7dd2
|
rename tuh_control_xfer_t to tuh_xfer_t
|
2022-03-17 20:52:16 +07:00 |
|
hathach
|
8aedb2ff37
|
slightly change the signature of tuh_control_xfer
|
2022-03-17 17:25:53 +07:00 |
|
hathach
|
68bfd048a5
|
change tuh_control_xfer_t struct
|
2022-03-17 12:53:52 +07:00 |
|