6268 Commits

Author SHA1 Message Date
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
hathach
a3827b87fe test ci paths 2022-12-08 09:30:42 +07:00
hathach
a652212f27 update ceedling to 0.31.1 2022-12-08 09:14:38 +07:00
Ha Thach
d9817ebe17
Merge pull request #1487 from tore-espressif/fix/cdc_autoflush
cdc: Fix autoflush for FIFO < MPS
2022-12-06 14:19:58 +07:00
Tomas Rezucha
603effbb77 cdc: Fix autoflush for FIFO < MPS 2022-12-06 07:49:26 +01:00
Ha Thach
f03c28ec31
Merge pull request #1776 from hathach/hid-fido
Hid fido
2022-12-05 14:32:49 +07:00
hathach
d58120647a rename to match fido sample uf2_hid..h 2022-12-05 13:18:05 +07:00
Ha Thach
71a5906865
Merge pull request #1767 from pete-pjb/master
Allow the use of non-static allocation for FreeRTOS mutexes & queues
2022-12-05 12:45:48 +07:00
hathach
de5a67bf3b clean osal_freertos, update freertos examples to work with configSUPPORT_DYNAMIC_ALLOCATION only
note: for example to build with configSUPPORT_STATIC_ALLOCATION = 0, one
of heap_n.c must be included in makefile/cmake
2022-12-05 12:09:41 +07:00
Ha Thach
279e2d6aeb
Merge pull request #1774 from hathach/add-codespell
Add codespell to ci run
2022-12-04 22:25:54 +07:00
hathach
feed1a83a9 add ignore-words to make it easier to 2022-12-04 21:28:30 +07:00
hathach
b37870c964 test exclude-file.txt, add action concurrency 2022-12-04 21:08:47 +07:00
hathach
b9314bddc5 check exclude file 2022-12-04 20:52:02 +07:00
hathach
e3df3ac5ce add codespell config and ci run 2022-12-04 20:29:24 +07:00
Ha Thach
d6d2499ad6
Merge pull request #1695 from hadess/wip/hadess/fix-typos
Fix typos
2022-12-04 20:26:59 +07:00
hathach
43b255f413 more typos 2022-12-04 19:44:01 +07:00
Bastien Nocera
6a2cf67289 Fix typos 2022-12-04 19:43:23 +07:00
pete-pjb
52261ac02d Back out another of my changes I am still investigating. 2022-12-02 10:13:35 +00:00
pete-pjb
3816869fce Some reverts and changes after discussion. 2022-12-02 10:00:19 +00:00
pete-pjb
c31b95c916 Added CFG_TUSB_MEM_SECTION define to struct _ctrl_xfer in usbh.c 2022-12-01 17:53:35 +00:00
PeterB
ae588d796e Alter tuh_task_ext() function so no need to return when using FreeRTOS 2022-12-01 16:06:15 +00:00
Ha Thach
f24f47d038
Merge pull request #1765 from hathach/rp2040-host-bulk-comment
Rp2040 host bulk comment
2022-12-01 10:10:40 +07:00
pete-pjb
25abb10de1 Fix white space issue. 2022-11-30 13:26:59 +00:00
Pete Bone
0ddd5591af
Merge branch 'hathach:master' into master 2022-11-30 13:43:45 +01:00
hathach
c9c7dfa868
more clean up 2022-11-30 18:59:58 +07:00
hathach
069215c538
white spaces 2022-11-30 18:58:30 +07:00
pete-pjb
d588167a39 Modify FreeRTOS integration to allow non-static allocation. 2022-11-30 11:33:24 +00:00