hathach
|
77495cf119
|
improve logging, allow easier to turn off usbd, driver logging
can be useful when focusing on let's say usbh
|
2023-07-20 17:12:00 +07:00 |
|
hathach
|
9b7dee563e
|
able to response with good crc
|
2023-06-07 18:57:48 +07:00 |
|
hathach
|
1e998ce3bd
|
usbd: fix control transfer issue for chipidea hs when previous status and new setup complete in the same isr frame
change usbd edpt busy/stalled/claimed value to 0/1 instead of
(true/false) since they are 1-bit field.
|
2023-05-16 11:09:23 +07:00 |
|
hathach
|
0921edaf59
|
use tud_inited() instead of tusb_inited()
|
2023-03-22 09:23:11 +07:00 |
|
hathach
|
3623ba1884
|
fix trailing space and new line
temporarily disable codespell
|
2023-03-17 16:12:49 +07:00 |
|
Ha Thach
|
3c38c7dc25
|
Merge pull request #1828 from HiFiPhile/stm32_fsdev
stm32_fsdev & ISO EP buffer allocation improvements
|
2023-02-28 23:45:02 +07:00 |
|
hathach
|
ffdc100cb9
|
rename ep_num to ep_idx, minor clean up
|
2023-02-28 17:11:59 +07:00 |
|
hathach
|
498989ee00
|
use tu_static instead of static _fuzz_thread
|
2023-02-22 16:23:40 +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 |
|
Nathaniel Brough
|
18c3095346
|
fix: Change all static variables to thread when fuzzing
|
2023-01-20 15:45:31 -08:00 |
|
hathach
|
2a1b81e3c5
|
minimize tu_fifo size to 16
- remove non_used_index_space
- packed overwritable with item_size
|
2023-01-06 11:51:17 +07:00 |
|
Mengsk
|
21bdafcfef
|
Add ISO buffer allocation.
|
2022-12-30 01:08:04 +01:00 |
|
Mengsk
|
db65759b1e
|
Use weak for dcd_edpt_iso_alloc/dcd_edpt_iso_activate
|
2022-12-29 23:29:50 +01:00 |
|
Mengsk
|
fe8c170c98
|
Add dcd_edpt_iso_alloc() / dcd_edpt_iso_activate() for ISO EP buffer management.
|
2022-12-29 19:19:27 +01:00 |
|
hathach
|
edc559cb4d
|
fix ci
|
2022-12-21 12:29:51 +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 |
|
hathach
|
9ec92ff97b
|
rp2040 enable SOF as resumed signal when remote wakeup
|
2022-06-30 15:45:04 +07:00 |
|
hathach
|
1a1f633922
|
Merge branch 'master' into add-more-warnings
|
2022-06-27 12:50:50 +07:00 |
|
hathach
|
0b3503cb33
|
clean up usbd log level
|
2022-06-27 11:56:48 +07:00 |
|
hathach
|
0042eccb3b
|
fix redundant-decls warnings by usbd/usbh
|
2022-06-24 22:52:11 +07:00 |
|
hathach
|
4f6e770eda
|
add more warning option, also fix -Wconversion with rp2040
-Wuninitialized, -Wunused, -Wredundant-decls
|
2022-06-24 19:46:19 +07:00 |
|
hathach
|
040ef0640d
|
more dynamic controller for host
|
2022-06-10 14:53:03 +07:00 |
|
hathach
|
8451d05c50
|
revert sof_isr driver rename since it cause issue with existing code
also removed commented tud_sof_isr_set() API
|
2022-06-10 01:45:48 +07:00 |
|
hathach
|
8cbc34de11
|
add tuh_configure() for port/dynamic host behavior config
|
2022-06-08 01:17:01 +07:00 |
|
hathach
|
8b9cf152a0
|
rhport argument in usbd_ API() is not used (always use the initialized port)
remove the usage of TUD_OPT_RHPORT in class driver
|
2022-06-02 16:51:17 +07:00 |
|
Ha Thach
|
fdeac8508b
|
Merge pull request #1381 from hathach/add-sof-isr
Add SOF IRQ Handler
|
2022-05-31 22:25:14 +07:00 |
|
hathach
|
c5ba1ea8c1
|
changes proposal to audio feedback computation
|
2022-05-13 22:54:47 +07:00 |
|
hathach
|
85dcb73774
|
more clean up
|
2022-04-28 18:00:30 +07:00 |
|
hathach
|
ae5490e5a5
|
clean up
|
2022-04-27 20:52:56 +07:00 |
|
hathach
|
4a661dead0
|
add TU_ATTR_FAST_FUNC for rp2040 __not_in_flash() section
|
2022-04-27 17:57:52 +07:00 |
|
hathach
|
98bbb0d402
|
Merge branch 'master' into pio-host
|
2022-04-21 12:05:22 +07:00 |
|
hathach
|
b034c18077
|
add tud_task_ext(), tuh_task_ext() as exteneded version that take timeout and in_isr
also allow exit tud_task,tuh_task after processing all events for
running other background task for user
|
2022-04-20 18:29:41 +07:00 |
|
hathach
|
a90839688c
|
add msec timeout to osal_queue_receive(), tud_task() and tuh_task() both pending for event queue with timeout of 1 ms
|
2022-04-20 13:25:38 +07:00 |
|
hathach
|
a32cb1bb93
|
clean up pio driver
|
2022-04-18 17:49:21 +07:00 |
|
hathach
|
65b6b79e99
|
clean up and comment out tud_sof_isr_set
|
2022-03-29 16:53:45 +07:00 |
|
Reinhard Panhuber
|
92ac041869
|
Add todos and comments
|
2022-03-16 07:13:38 +01:00 |
|
Reinhard Panhuber
|
26339e694f
|
Merge remote-tracking branch 'upstream/add-sof-isr' into add-sof-isr
|
2022-03-14 20:40:57 +01:00 |
|
Reinhard Panhuber
|
f212899b54
|
Add SOF callback function for feedback value determination in uac - wip!
|
2022-03-14 20:40:33 +01:00 |
|
Ha Thach
|
41ffd54fa0
|
Merge branch 'master' into add-sof-isr
|
2022-03-14 11:57:01 +07:00 |
|
hathach
|
d56cde33ef
|
refactor usbd to also use common endpoint claim/release
|
2022-03-09 17:34:12 +07:00 |
|
hathach
|
a5fb20533c
|
adding tusb_private.h to implement common edpt claim
|
2022-03-09 17:17:36 +07:00 |
|
hathach
|
708f05668d
|
add tusb_debug.h remove tusb_error.h
move debug utils to new header
|
2022-03-09 16:44:19 +07:00 |
|
hathach
|
2f593e767c
|
update use of mutex for host
|
2022-03-09 12:26:56 +07:00 |
|
hathach
|
707a633de3
|
added dcd_sof_enable(), tud_sof_isr_set()
make number of interface configurable (default to 8)
CFG_TUD_INTERFACE_MAX
|
2022-03-07 23:03:51 +07:00 |
|
hathach
|
e08a875d52
|
add tuh_descriptor_get() and tuh_descriptor_device_get()
|
2022-03-04 19:26:54 +07:00 |
|
hathach
|
309540473b
|
minor house keeping
|
2022-02-25 22:26:35 +07:00 |
|
hathach
|
d10326cb4e
|
rename TUSB_OPT_DEVICE_ENABLED to CFG_TUD_ENABLED
TUSB_OPT_DEVICE_ENABLED still usable for backward compatible
|
2022-02-25 18:35:21 +07:00 |
|
hathach
|
4a5a53b3b8
|
improve rphort management for usbd
|
2022-02-25 18:35:21 +07:00 |
|
hathach
|
c5d2c82cbb
|
fix unreachable warnings with keil
|
2021-12-30 20:59:53 +07:00 |
|
Yunhao Tian
|
dba59217da
|
usbd: supress "statement is unreachable" warning on ARMCC
|
2021-11-30 17:19:10 +08:00 |
|