Commit Graph

3983 Commits

Author SHA1 Message Date
d6d29897f3 add get device qualifier descriptor 2020-05-28 23:16:16 +07:00
56d46483e4 Add bt hci device class
Code implements USB transport for bluetooth HCI.
2020-05-28 10:58:49 +02:00
077437b3dc Add non standard request handling in class
For some reason bluetooth stack implementations send class requests
to device instead of interface.
To implement HCI interface over USB non device addressed requests
for class need to be handled.
2020-05-28 10:11:37 +02:00
b8783e10a9 Merge pull request #418 from hathach/enhance-usbd-driver-open
Enhance usbd driver open() API
2020-05-28 15:04:15 +07:00
53b749fd72 check max_len for vendor and hid 2020-05-28 14:44:26 +07:00
fb214f7cf7 rename to drv_len to be consistent 2020-05-28 13:57:49 +07:00
10cd3f24bf initial transfer failed in open() shouldn't cause the driver open to fail. 2020-05-28 13:48:02 +07:00
c1db36a15c update vendor open() 2020-05-28 12:19:06 +07:00
bec5b5f9da update usbtmc open() 2020-05-28 12:13:48 +07:00
13860e9f94 update net open() 2020-05-28 11:51:25 +07:00
8f560bf275 update midi open() 2020-05-28 11:41:37 +07:00
89a3d1f6d1 update hid open() 2020-05-28 11:19:12 +07:00
7a15d2e0d2 improve msc 2020-05-28 00:56:33 +07:00
2eeeda1bcf change signature for dfu runtime 2020-05-28 00:46:32 +07:00
e340404968 changing usbd driver open() return type, add max_len
only done with cdc and msc, push this interim for feedback first
2020-05-27 19:01:59 +07:00
d4bf777c94 try to get synopsys work with OTG HS + external PHY 2020-05-27 11:01:33 +07:00
227bffe04b adding h743 uart, but not enabled yet since it conflict with OTG_FS2 2020-05-27 01:14:52 +07:00
b4804d1592 random clean up for tdi 2020-05-26 22:15:38 +07:00
0482f0d686 update h743eval with rhport=1 highspeed 2020-05-26 22:15:00 +07:00
947c3eb10d multiple port support for global otg base 2020-05-26 16:07:48 +07:00
b7ab60aa44 suporting multiple port (OTG FS + HS) for stm32 2020-05-26 15:52:02 +07:00
fad088719e merge CFG_TUSB_RHPORT1_MODE into CFG_TUSB_RHPORT0_MODE
each port is 1 byte for easy maintenance
2020-05-26 15:21:23 +07:00
62a746bdc7 wip 2020-05-26 12:18:36 +07:00
ba9c774a2a board test work fine 2020-05-23 13:29:30 +07:00
d108ea4326 implement hcd_uframe_number for ohci
able to get 8 byte descriptors using LPC1769 + base, but failed to reset
and set address.
2020-05-22 21:45:34 +07:00
4c01099a3d update makefile to build with ohci host
update ses project for lpc1769 with rtt
2020-05-22 20:57:52 +07:00
9be2f1bf3d Add basic UAC2 structure - untested 2020-05-22 12:09:34 +02:00
f308990ab5 Merge branch 'master' into update-host 2020-05-22 15:28:22 +07:00
de88294e05 Merge pull request #416 from hathach/fix-nrf-called-within-critical
fix nrf hanged (blocking wait) when called within critical section
2020-05-21 22:36:24 +07:00
ff9994116e fix nrf hanged (blocking wait) when called within critical section 2020-05-21 21:22:12 +07:00
dc5445e2f4 Merge pull request #414 from hathach/add-queue-is-empty
added tud_task_event_ready()
2020-05-20 15:31:09 +07:00
8b66098335 fix freeRTOS logic 2020-05-20 15:21:11 +07:00
a0fe3a80e7 remove queue lock/unlock per review 2020-05-20 15:09:46 +07:00
d8a15aca77 remove osal_queue_t const qhdl from osal API
since it doesn't make any differences.
2020-05-20 14:38:34 +07:00
88a455a9b9 added tud_task_event_ready()
to check if there is pending events in the tud task without executing
it. Useful to check before entering low power mode with WFI/WFE
2020-05-20 14:31:45 +07:00
4e8d414bc6 added osal_queue_empty() API
ported for osal none/freertos/mynewt
2020-05-20 13:38:41 +07:00
58cedf4c06 usb0 host on mcb1800 work with fullspeed mode.
use usbh_edpt_open() to correctly map ep2drv[]
2020-05-19 00:55:43 +07:00
81b1f97ef7 suppress cast-align warnings for net device driver 2020-05-18 13:23:40 +07:00
76bf96bcb0 Merge pull request #411 from hathach/fix-cast-align-warning
enable -Wcast-align
2020-05-18 13:21:37 +07:00
550746097b fix cast-align warning for nuc505 2020-05-18 13:03:41 +07:00
a7db945cff temporariyly suppress cast-align warning for net_device and net example 2020-05-17 15:34:14 +07:00
1a8ce043ed enable -Wcast-align
suppress vendor sdk driver at board.mk
2020-05-17 14:24:15 +07:00
42edbc0006 Allow EP0 to use xfer sizes larger than one packet 2020-05-15 22:26:14 +02:00
28696de390 Interrupt time improvements 2020-05-15 18:21:44 +02:00
17869f0999 Merge pull request #406 from k0d/stm32f746nucleo
Add support for stm32f746nucleo board
2020-05-15 15:54:12 +07:00
3c43009278 Add support for stm32f746nucleo board 2020-05-15 10:23:01 +02:00
be9f938bd3 Merge pull request #405 from hathach/follow-pr404
Follow pr404
2020-05-14 16:18:20 +07:00
27299a5c47 add test for fifo size 2020-05-14 15:39:42 +07:00
b0d49e55de refactor copy to and from fifo 2020-05-14 14:24:55 +07:00
f445274634 add unit test for fifo write_n and read_n 2020-05-14 11:59:51 +07:00