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
jbruneaux31
a46ad8fcdf
Update osal_freertos.h
...
Fix FreeRTOS task switch even if not required (unitialized variable usage)
2022-12-19 13:58:54 +01:00
tyustli
e992ff46d2
Update osal_rtthread.h
2022-12-19 17:25:35 +08:00
tyustli
7d76c172db
[add] semaphore reset support for rt-thread
...
add semaphore reset support for rt-thread
2022-12-19 17:18:47 +08: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
Ha Thach
159aa599be
Merge pull request #1799 from hathach/update-osal-mutex
...
Update osal mutex
2022-12-16 17:05:25 +07:00
hathach
660343d200
update fifo per PanRe review
2022-12-16 16:55:25 +07:00
hathach
1e99480ad2
fix ci with usbh and unit test
2022-12-16 15:19:40 +07:00
hathach
96d2be905b
fix build with usbtmc
2022-12-15 18:47:54 +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
Gordon McNab
9f440e5c69
Update SDK for FT9xx to include 3rdparty sources
2022-12-15 10:27:49 +00:00
Ha Thach
ab18b8794f
Merge pull request #1797 from hathach/fix-midi-len
...
fix midi MS Header wTotalLength computation
2022-12-14 16:24:42 +07:00
hathach
a05adfce86
fix midi MS Header wTotalLength computation
2022-12-14 14:38:40 +07:00
Louis Burda
9e7e8908a3
Fix ifdefs for disabled uart stdio in rp2040 family
2022-12-13 11:00:03 +01:00
hathach
04a5c03ea8
fix int conversion warnings
2022-12-12 11:54:33 +07:00
hathach
ce064de6fd
clean up
2022-12-10 00:18:11 +07:00
hathach
82852774a7
add fifo implementation note
...
- handle/fix double overflowed with write()
- other minor clean upp
2022-12-09 18:20:09 +07:00
hathach
75989673e5
add test_write_double_overflowed for fifo
2022-12-09 15:39:57 +07:00
Ha Thach
f4f85bad54
Merge pull request #1783 from scoudreau/usbtmc-high-speed
...
usbtmc: correct packet size bug
2022-12-09 09:52:23 +07:00
Ha Thach
ec2902bd3f
Merge pull request #1784 from scoudreau/interrupt-descriptor-polling-interval
...
Correct interrupt polling interval in descriptor
2022-12-09 09:45:40 +07:00
scoudreau
007ed1f0fe
Added missing typecast to pass build checks
2022-12-08 14:50:34 +01:00
Sebastien COUDREAU
071da47944
Correct interrupt polling interval in descriptor
...
Use macro argument instead of 0x16 constant value.
At least Linux kernel was complaining about this value:
"config 1 interface 0 altsetting 0 endpoint 0x82 has an invalid bInterval 22, changing to 8"
(warning obtained using usbtmc device config)
2022-12-08 11:44:15 +01:00
Sebastien COUDREAU
15ab35d9b8
usbtmc: correct packet size bug
...
Code was only reading the first 64 bytes of a 512 bytes packet.
2022-12-08 11:35:32 +01:00
hathach
3e32fa36b8
enhance tu fifo
...
- rename wr/rd absolute to index, and rel to pointer.
- fix crash with _tu_fifo_remaining()
- change get_relative_pointer() to idx2ptr() and merge with _ff_mod()
2022-12-08 16:39:24 +07:00
hathach
bae7fe5be7
add test fifo overwritable + overflow, that cause buffer overflow
2022-12-08 13:10:24 +07:00
Ha Thach
d4620d99d3
Merge pull request #1716 from silvergasp/master
...
fuzz: Add support for fuzzing
2022-12-08 12:18:32 +07:00
hathach
c19bffb1d9
clean up
2022-12-08 11:48:53 +07:00
hathach
d0758d0733
correct ci paths filter
2022-12-08 11:47:01 +07:00
hathach
4deec2f4be
fix ci
2022-12-08 11:40:43 +07:00
hathach
33ea178cd9
update build fuzzer step
2022-12-08 11:37:13 +07:00
hathach
ffd008dc75
update build fuzzer
2022-12-08 11:36:19 +07:00
hathach
bf8f4f9521
move build Fuzzer into pre-commit
2022-12-08 11:31:39 +07:00
hathach
86a3315bcf
update fuzzer ci
2022-12-08 10:42:29 +07:00
hathach
56f846cf74
move fuzz into test/fuzz
2022-12-08 10:39:54 +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
Nathaniel Brough
6492f4a18d
feat(fuzz): Adds net class fuzzer
2022-12-08 10:13:35 +07:00
Nathaniel Brough
9cc93e6d41
.github: Add fuzzer builder
2022-12-08 10:13:35 +07:00
Nathaniel Brough
92b5f2d2e8
fuzz: Add msc fuzz harness
2022-12-08 10:13:35 +07:00
Nathaniel Brough
aedae6201b
fuzz: Add support for fuzzing
...
Adds support for fuzzing with basic cdc fuzzer.
2022-12-08 10:13:35 +07:00
Ha Thach
ab8cfb3d5b
Merge pull request #1781 from hathach/update-unit-test
...
Update unit test
2022-12-08 10:11:21 +07:00
hathach
a29b3dd690
update .codespell
2022-12-08 10:05:52 +07:00
hathach
34081f6c5c
update ci
2022-12-08 10:00:25 +07:00
hathach
be4f4e4f79
move ceedling tests to test/unit-test
2022-12-08 09:59:02 +07:00
hathach
4b50ca2a61
add missing ceedling files
2022-12-08 09:54:15 +07:00
hathach
91d5fa5639
add paths to all workflows
2022-12-08 09:44:26 +07:00