Commit Graph

6209 Commits

Author SHA1 Message Date
cde16b802b Merge pull request #1836 from HiFiPhile/Pe381
Fix IAR warning: Warning[Pe381]: extra ";" ignored
2023-01-06 09:10:11 +07:00
8c591e2c45 More warning fixes 2023-01-04 12:40:01 +01:00
18043131d0 Merge pull request #1823 from silvergasp/fix_cluster_fuzz_flags
fix(fuzz): Make sanitizer flags optional
2023-01-04 13:44:33 +07:00
82f105e32b Fix IAR warning: Warning[Pe381]: extra ";" ignored 2023-01-02 21:18:10 +01:00
1dcffc655d fix(fuzz): Make sanitizer flags optional
Currently OSS fuzz expects to have complete control over the
sanitizer flags. As we currently have these set it's causing
problems with the OSS fuzz build. Instead we should use the
provided variables from the OSS fuzz build environment. For
local testing we'll create a set a well defined defaults.
2022-12-28 21:07:29 +00:00
549bee94ad Merge pull request #1819 from hathach/fix-ncm-warning
fix ncm warning
2022-12-27 19:02:57 +07:00
d0ca6ca8f7 fix ncm warning 2022-12-27 18:21:56 +07:00
301b6af6c6 Merge pull request #1801 from tyustli/tyustli_sem_reset
[add] semaphore reset support for rt-thread
2022-12-26 13:09:47 +07:00
4b5880671c Merge pull request #1814 from hathach/more-host-cdc
add tuh_cdc_peek()
2022-12-25 00:50:18 +07:00
48d4a67ec5 add tuh_cdc_peek() 2022-12-24 01:11:13 +07:00
48f4d8b7f7 Merge pull request #1810 from hathach/fix-cdc-buf
fix incorrect rx buf in cdc
2022-12-22 22:34:20 +07:00
15a02d04df fix incorrect rx buf in cdc 2022-12-22 21:35:55 +07:00
2777df411f Merge pull request #1809 from hathach/host-cdc
Support Host CDC
2022-12-22 21:29:00 +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
c99af908f1 fix typo 2022-12-22 11:41:27 +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
edc559cb4d fix ci 2022-12-21 12:29:51 +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
b3e63c335a updat cdc host app 2022-12-21 11:47:07 +07:00
cb2af4c0bc minor debug log 2022-12-21 11:46:58 +07:00
d1ea3844f7 rename TU_LOG_VAR to TU_LOG_PTR, print out setup of failed control transfer when LOG=1 2022-12-21 11:04:57 +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
97984b4203 Merge pull request #1803 from jbruneaux31/patch-1
Update osal_freertos.h to fix FreeRTOS wrong task switch
2022-12-20 18:34:04 +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
a46ad8fcdf Update osal_freertos.h
Fix FreeRTOS task switch even if not required (unitialized variable usage)
2022-12-19 13:58:54 +01:00
e992ff46d2 Update osal_rtthread.h 2022-12-19 17:25:35 +08:00
7d76c172db [add] semaphore reset support for rt-thread
add  semaphore reset support for rt-thread
2022-12-19 17:18:47 +08:00
fc9321ce26 correct cdc usbh_driver_set_config_complete() 2022-12-16 23:54:21 +07:00
4811b3463f stub 2022-12-16 17:08:37 +07:00
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
f62f973956 minor rename 2022-12-16 17:08:37 +07:00
f0c51eae44 cdc check for bNumEndpoints before checking for endpoint descriptor 2022-12-16 17:08:37 +07:00
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
159aa599be Merge pull request #1799 from hathach/update-osal-mutex
Update osal mutex
2022-12-16 17:05:25 +07:00
1e99480ad2 fix ci with usbh and unit test 2022-12-16 15:19:40 +07:00
96d2be905b fix build with usbtmc 2022-12-15 18:47:54 +07:00
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
ab18b8794f Merge pull request #1797 from hathach/fix-midi-len
fix midi MS Header wTotalLength computation
2022-12-14 16:24:42 +07:00