20 Commits

Author SHA1 Message Date
hathach
e83e08343a
change dcd_init() return from void to bool 2024-10-14 19:42:22 +07:00
hathach
1f18be93db
change the tusb_rhport_init_t struct, exclude the rhport to make API more consistent 2024-10-14 18:27:52 +07:00
hathach
d997f0071e
change dcd_init() to take rhport struct 2024-10-11 15:31:49 +07:00
hathach
92602b9de3
change tusb_init(), tusb_rhport_init() to use init struct for expandability 2024-10-11 13:41:53 +07:00
hathach
57aac432b5
add new tusb_int_handler(rhport, in_isr) as common irq handler
update tusb_init() to take rhport and role, defined as macro with optional argument for backward compatible
2024-10-10 16:28:36 +07:00
Shawn Hoffman
616532892d make all python files executable and standardize interpreter 2024-09-17 12:17:12 -07:00
dp111
dde81f8f03 make function prototypes match definitions ( found with cppcheck) 2024-09-03 19:59:55 +01:00
hathach
3442a87d5b
- clang h743 build and run cdc_msc ok
- switch unit test back to gcc, since path to clang conflict on local setup (x86 and arm)
2024-04-19 23:16:57 +07:00
hathach
4ed02ae5f9
reformat code hid_host.c
- fix ceedling with ruby 3.1
- allow overwrite CMAKE_C_COMPILER/CMAKE_CXX_COMPILER from command line
2024-03-01 17:34:14 +07:00
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
3623ba1884
fix trailing space and new line
temporarily disable codespell
2023-03-17 16:12:49 +07:00
hathach
f4c3f0800d add test_common_func.c 2023-01-21 17:47:40 +07: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
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
be4f4e4f79 move ceedling tests to test/unit-test 2022-12-08 09:59:02 +07:00