3623ba1884
fix trailing space and new line
...
temporarily disable codespell
2023-03-17 16:12:49 +07:00
317177c83d
update host example, add pio-pico-usb for rp2040
2023-03-17 14:06:25 +07:00
296ce528fc
Updated host hid_controller example to demo tuh_hid_send_report
2023-03-13 16:31:25 +07:00
f6774d5611
Implemented tuh_hid_send_report
2023-03-13 16:31:25 +07:00
95cfa37bf5
fix: Fix wrong destsz used with tu_memcpy_s
...
Bug: #1935
2023-03-05 18:47:48 -08:00
5d3084a714
add TUP_USBIP_FSDEV and TUP_USBIP_FSDEV_STM32, clean up ifdef with stm32
2023-03-01 11:22:04 +07:00
3c38c7dc25
Merge pull request #1828 from HiFiPhile/stm32_fsdev
...
stm32_fsdev & ISO EP buffer allocation improvements
2023-02-28 23:45:02 +07:00
ffdc100cb9
rename ep_num to ep_idx, minor clean up
2023-02-28 17:11:59 +07:00
65ac519715
Merge pull request #1852 from silvergasp/mem_s
...
fix: Replace device calls to memcpy with tu_memcpy_s
2023-02-27 10:22:53 +07:00
e34aeb5cf6
minor clean up
2023-02-27 09:11:35 +07:00
498989ee00
use tu_static instead of static _fuzz_thread
2023-02-22 16:23:40 +07:00
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
03ec49450d
rename maros from FUZZ to _FUZZ, change TU_STATIC to static _fuzz_thread
2023-02-22 11:47:09 +07:00
fde7577117
Fix issue 1909
2023-02-15 20:02:12 -08:00
7e2c5fcc8a
Correct bitfields for cdc_desc_func_telephone_call_state_reporting_capabilities_t
2023-02-12 20:52:17 -08:00
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
3422e05684
change length in tud_hid_report_complete_cb() from uint8 to uint16
2023-02-04 11:43:23 +07:00
18c3095346
fix: Change all static variables to thread when fuzzing
2023-01-20 15:45:31 -08:00
daec3c24d8
fix warnings with arithmetic on void* pointer
2023-01-20 15:30:45 +07:00
2e47210c1a
fix: Replace device calls to memcpy with tu_memcpy_s
...
Introduces a new function tu_memcpy_s, which is effectively
a backport of memcpy_s. The change also refactors calls
to memcpy over to the more secure tu_memcpy_s.
2023-01-13 15:20:32 -08:00
83cc71feaf
Merge pull request #1820 from Staacks/master
...
Fix UVC probe and commit on MacOS
2023-01-07 23:30:30 +07:00
6e23c596cc
Merge pull request #1837 from pete-pjb/master
...
Fix typo in audio.h. Specifiy _ctrl_xfer struct in CFG_TUSB_MEM_SECTION in usbh.c
2023-01-06 10:24:55 +07:00
8c591e2c45
More warning fixes
2023-01-04 12:40:01 +01:00
f5cffeedec
Fix typo in audio.h. Specifiy _ctrl_xfer struct in CFG_TUSB_MEM_SECTION
...
Add NULL check to loop in list_remove_qhd_by_addr() function in ehci.c
2023-01-03 10:33:36 +00:00
82f105e32b
Fix IAR warning: Warning[Pe381]: extra ";" ignored
2023-01-02 21:18:10 +01:00
51bb27a131
Optimize descriptor looping.
2022-12-31 13:37:22 +01:00
21bdafcfef
Add ISO buffer allocation.
2022-12-30 01:08:04 +01:00
e4f07206f8
UAC : Enable fifo based transfer on stm32_fsdev
2022-12-29 19:34:12 +01:00
95ba158a10
Fix UVC probe and commit on MacOS
2022-12-27 23:02:33 +01:00
d0ca6ca8f7
fix ncm warning
2022-12-27 18:21:56 +07:00
48d4a67ec5
add tuh_cdc_peek()
2022-12-24 01:11:13 +07:00
15a02d04df
fix incorrect rx buf in cdc
2022-12-22 21:35:55 +07:00
396716cc2c
clean up
2022-12-22 20:26:32 +07:00
f33883c308
add tuh_cdc_get_local_line_coding()
2022-12-22 19:41:39 +07:00
14d45b580e
correct host cdc enum
2022-12-22 19:17:09 +07:00
05c119ce97
cdc host, add set line coding API
2022-12-22 18:28:06 +07:00
11233e4d3e
minor clean up
2022-12-22 11:43:57 +07:00
2d536123c8
finish moving edpt stream to tusb.c
2022-12-22 11:31:37 +07:00
e3c9d94500
fix stream read count computation
2022-12-22 11:16:39 +07:00
8323e4b79a
moving edpt_stream API into common tusb.c
2022-12-22 08:52:01 +07:00
9e8ea44925
add tuh_cdc_write_clear, rename read_flush() to read_clear()
2022-12-21 17:49:50 +07:00
cd9008e5a9
add tuh_cdc_tx_complete_cb() callback
2022-12-21 13:05:45 +07:00
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
badb30a6c3
correct cdc host app
2022-12-21 12:25:13 +07:00
22b62f8712
add tu_edpt_stream_write_zlp_if_needed()
2022-12-21 12:07:12 +07:00
76021c7359
rename tud_edpt_stream_write_xfer
2022-12-21 11:49:28 +07:00
cb2af4c0bc
minor debug log
2022-12-21 11:46:58 +07:00
37529c41da
fix ci
2022-12-21 10:46:47 +07:00
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
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