ab75998316
Merge branch 'master' into add-stm-hs
2020-06-30 01:55:57 +07:00
268ab9eaa8
Merge pull request #399 from duempel/redesign_synopsys_receive
...
Improvements to Synopsys EP OUT
2020-06-29 16:02:40 +07:00
99df7789a7
Add author name to dcd_synopsys.c
2020-06-29 10:55:03 +02:00
4f69bcea7e
Remove EP0 remaining bytes manipulation
...
Renaming edpt_xact to edpt_schedule_packets
2020-06-26 17:18:25 +02:00
b2ef8cdd42
dcd_samd: Provide implementation for OPT_MCU_SAME5X
2020-06-25 18:51:04 -05:00
d4d6e06c1d
added OPT_MCU_SAME5X option
2020-06-24 00:53:17 +07:00
067287ef91
Add transaction (edpt_xact) as sub transfer
...
A transfer can have one or multiple transactions.
Usually only EP0 splits one xfer into multiple xact.
2020-06-18 17:18:28 +02:00
9ffb9b69a4
Disable SOF in dcd_stm32_fsdev
...
Signed-off-by: Mengsk <admin@hifiphile.com >
2020-06-18 14:18:00 +02:00
57b553e023
Fix IAR warnings.
...
Pa039 : use of address of unaligned structure member.
Pe188: enumerated type mixed with another type.
2020-06-17 10:08:33 +02:00
2b1c7730b7
fix hs port1 build with net endpoint
2020-06-16 00:53:06 +07:00
667eaa6dd6
fix stm32h743 priority with freeRTOS
2020-06-16 00:03:52 +07:00
2dd1be13e5
Enhance EP FIFO allocation for both Fullspeed and Highspeed
...
- Update shared RX FIFO calculation with FS/HS
- IN FIFO EP
- Interrupt -> use EPSize
- Bulk/ISO -> use max(EPSize, remaining-fifo / non-opened-EPIN)
2020-06-15 23:17:49 +07:00
bc7e24b659
Fix wrong comment for IAD checks.
2020-06-14 14:22:10 +02:00
4399dd1b06
cherry pick PR399 commit : Interrupt time improvements
2020-06-14 19:13:31 +07:00
f438aedccb
overwrite setup packet
2020-06-14 18:29:38 +07:00
95966c2201
improve usbd log for control transfer
2020-06-14 18:29:02 +07:00
a347de6e50
revert CFG_TUSB_RHPORT0_MODE to previous way
2020-06-14 18:28:45 +07:00
b25bbf4776
Fix alignment.
2020-06-14 12:58:16 +02:00
3012175351
Fix alignment.
2020-06-14 12:57:00 +02:00
48b2e6cf78
Fix too strict checks on subclass and interface of iad descriptor.
2020-06-13 13:51:50 +02:00
e92118635c
adding speed detect on bus reset
2020-06-01 13:40:18 +07:00
710c54f8cb
allow hs ep open with 512 bytes
2020-06-01 01:36:09 +07:00
f771afe6af
fixed EP0 size to 64 since LS is not supported in device mode
...
- set turn-around and report actual speed in Enum Done
- add dcd_event_bus_reset() helper to report speed
2020-05-31 23:43:29 +07:00
5ffba8536d
able to detect as hs
2020-05-31 19:41:22 +07:00
5efeaf2ac1
Merge pull request #413 from kasjer/kasjer/ble-over-usb
...
Bluetooth HCI transport over USB
2020-05-31 15:07:56 +07:00
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
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
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
ff9994116e
fix nrf hanged (blocking wait) when called within critical section
2020-05-21 21:22:12 +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