Commit Graph

76 Commits

Author SHA1 Message Date
hathach 0921edaf59 use tud_inited() instead of tusb_inited() 2023-03-22 09:23:11 +07:00
hathach 25d802532c
fix spelling 2023-03-17 18:34:43 +07:00
hathach 0c174c17ad
fix ci with building fuzz 2023-03-17 17:04:11 +07:00
hathach 3623ba1884
fix trailing space and new line
temporarily disable codespell
2023-03-17 16:12:49 +07:00
hathach e62d1a03ac
integrate top.mk into make.mk 2023-03-06 13:25:56 +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 bcf5e5f729
missing some files 2023-02-22 12:10:22 +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
hathach 6257123157 Merge branch 'master' into support-iar 2023-01-30 16:44:22 +07:00
Nathaniel Brough 02f1f05697 feat(fuzz): Adds seed corpus for cdc and msc classes 2023-01-29 09:38:05 -08:00
hathach f4c3f0800d add test_common_func.c 2023-01-21 17:47:40 +07:00
Nathaniel Brough 18c3095346 fix: Change all static variables to thread when fuzzing 2023-01-20 15:45:31 -08:00
hathach 2d7849282a
use TU_FIFO_INIT to replace TU_FIFO_DEF 2023-01-07 16:33:11 +07:00
hathach e885ced0fe
using clang with ceedling unit-test with -fsanitize=address 2023-01-07 16:24:05 +07:00
hathach b42d298b81 Merge branch 'master' into fix-fifo-memory-overflow 2023-01-06 10:52:25 +07:00
Nathaniel Brough 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
hathach 1e99480ad2 fix ci with usbh and unit test 2022-12-16 15:19:40 +07:00
hathach 75989673e5 add test_write_double_overflowed for fifo 2022-12-09 15:39:57 +07:00
hathach bae7fe5be7 add test fifo overwritable + overflow, that cause buffer overflow 2022-12-08 13:10:24 +07:00
hathach bf8f4f9521 move build Fuzzer into pre-commit 2022-12-08 11:31:39 +07:00
hathach 56f846cf74 move fuzz into test/fuzz 2022-12-08 10:39:54 +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 a652212f27 update ceedling to 0.31.1 2022-12-08 09:14:38 +07:00
MasterPhi 74b51d43e1 Add test CI. 2021-06-30 20:30:03 +02:00
hathach 18c35bb89e some text fomarting, update unit test to test get buffer info for fifo 2021-05-02 15:01:28 +07:00
Reinhard Panhuber de933c45bc Remove all remainings with peek_at 2021-04-30 14:56:14 +02:00
hathach 5734cf4bdd fix #614 typo 2021-01-29 11:36:45 +07:00
hathach 6e6e6265e4 use dcd_event_bus_reset() with speed to replace bus_signal 2021-01-08 22:34:36 +07:00
hathach f17d6f15e0 fix unit test 2020-09-01 23:39:29 +07:00
hathach f4e3c6fd8e clean up 2020-09-01 17:12:31 +07:00
hathach acde49ccc9
enable pull-up in dcd_init() instead of usbd 2020-08-01 20:14:58 +07:00
hathach 5ca748a68e
rename CFG_TUD_MSC_BUFSIZE to CFG_TUD_MSC_EP_BUFSIZE
rename CFG_TUD_HID_BUFSIZE to CFG_TUD_HID_EP_BUFSIZE
2020-07-16 15:34:16 +07:00
hathach c67b3a242e update example config and descriptor with better Highspeed support 2020-06-15 23:34:09 +07:00
hathach 0482f0d686 update h743eval with rhport=1 highspeed 2020-05-26 22:15:00 +07:00
hathach 27299a5c47 add test for fifo size 2020-05-14 15:39:42 +07:00
hathach f445274634 add unit test for fifo write_n and read_n 2020-05-14 11:59:51 +07:00
hathach 017c95037f add usbd edpt open
- RTT mode is blocking to prevent log lost
- Improve logging message
2020-04-26 14:51:44 +07:00
hathach 6f9c256ad0
complete remove dcd_set_config(), fix unit test 2020-04-17 13:52:34 +07:00
Nathan Conrad 715c4dbbf8 stm32fsdev: Implement dcd_connect. 2020-04-09 17:03:12 -04:00
Peter Lawrence 794212d44e revise argument order for TUD_CONFIG_DESCRIPTOR macro 2020-03-31 10:53:47 -05:00
Peter Lawrence 87f313da48 add provision for multiple configurations 2020-03-30 13:47:17 -05:00
Chang Feng 8d97e58192
Add langid to tests.
Signed-off-by: Chang Feng <chang_196700@hotmail.com>
2020-02-26 13:37:26 +08:00
hathach 24009cb689 fixed unit test with dcd_edpt0_status_complete 2019-12-10 08:16:11 +07:00
hathach 38b14725f7 rename OPT_MCU_IMXRT10XX to OPT_MCU_MIMXRT10XX 2019-11-22 17:40:12 +07:00
hathach 281e8cd9ec rename OPT_MCU_RT10XX to OPT_MCU_IMXRT10XX 2019-11-22 15:42:46 +07:00
hathach f623dbc425 config clean up 2019-11-22 12:41:47 +07:00
hathach f5d737aa7e moving irq to bsp for lpc17/40 2019-11-21 23:19:38 +07:00
hathach 5209091c28
Merge branch 'master' into fix-issue-207 2019-11-05 10:20:30 +07:00