Czeslaw Makarski
7c94176b4b
Update NRFX to v2.2.0
2020-06-24 15:07:28 +02:00
hathach
d4d6e06c1d
added OPT_MCU_SAME5X option
2020-06-24 00:53:17 +07:00
Ha Thach
1cb53dd23e
Merge pull request #438 from UweBonnes/debug
...
examples/readme.md: Add hint to build for debug
2020-06-22 11:11:00 +07:00
Uwe Bonnes
d96fa8d407
examples/readme.md: Add hint to build for debug.
2020-06-21 14:33:47 +02:00
Gavin Li
7ae47a9397
Call tud_cdc_tx_cb right after flush to keep tx fifo full
2020-06-20 22:12:10 -07:00
Ha Thach
bd41504f65
Merge pull request #433 from HiFiPhile/sof
...
Disable SOF in dcd_stm32_fsdev
2020-06-20 17:33:58 +07:00
Jan Dümpelmann
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
Mengsk
9ffb9b69a4
Disable SOF in dcd_stm32_fsdev
...
Signed-off-by: Mengsk <admin@hifiphile.com>
2020-06-18 14:18:00 +02:00
Gavin Li
8fe887198b
Add tx callback to cdc device
...
Useful for continuous transmission of data, which is difficult currently
because there is no notification of tx completion.
2020-06-18 01:13:44 -07:00
Ha Thach
2b27eed01a
Merge pull request #431 from HiFiPhile/unaligned
...
Fix IAR compiler warnings.
2020-06-17 17:24:40 +07:00
Mengsk
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
hathach
2b1c7730b7
fix hs port1 build with net endpoint
2020-06-16 00:53:06 +07:00
hathach
667eaa6dd6
fix stm32h743 priority with freeRTOS
2020-06-16 00:03:52 +07:00
hathach
c67b3a242e
update example config and descriptor with better Highspeed support
2020-06-15 23:34:09 +07:00
hathach
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
hathach
e89fea8237
update midi
2020-06-15 23:09:43 +07:00
hathach
0bfa839ac0
clean up, update other example config
2020-06-15 23:06:17 +07:00
Ha Thach
8a67f81397
Merge pull request #430 from PanRe/fix-too-strict-iad-checks
...
Fix too strict checks on subclass and protocol entries of iad descriptor.
2020-06-14 19:31:32 +07:00
Reinhard Panhuber
bc7e24b659
Fix wrong comment for IAD checks.
2020-06-14 14:22:10 +02:00
Jan Dümpelmann
4399dd1b06
cherry pick PR399 commit : Interrupt time improvements
2020-06-14 19:13:31 +07:00
hathach
f438aedccb
overwrite setup packet
2020-06-14 18:29:38 +07:00
hathach
95966c2201
improve usbd log for control transfer
2020-06-14 18:29:02 +07:00
hathach
a347de6e50
revert CFG_TUSB_RHPORT0_MODE to previous way
2020-06-14 18:28:45 +07:00
Reinhard Panhuber
b25bbf4776
Fix alignment.
2020-06-14 12:58:16 +02:00
Reinhard Panhuber
3012175351
Fix alignment.
2020-06-14 12:57:00 +02:00
Reinhard Panhuber
48b2e6cf78
Fix too strict checks on subclass and interface of iad descriptor.
2020-06-13 13:51:50 +02:00
Jerzy Kasenberg
0635bafe0a
Add DCD for Dialog DA1469x MCU
...
Dialog Semiconductor's BLE MCU DA1469x comes with full speed USB.
It's base on National Semiconductor discrete USB controller USBN9603/4.
This adds support for:
- control/interrupt/bulk endpoints (up to 64 bytes)
- ISO endpoint were not tested and may not work correctly
- reset/sleep/wakeup are handled
- code for VBUS changes is provided
2020-06-09 15:55:46 +02:00
Jerzy Kasenberg
56f3898ced
Add Dialog DA1469x register definition file
...
Register definition file along with some MCU headers was taken
from Dialog SDK for DA1469x MCUs.
Those files are needed for USB port.
2020-06-09 12:55:28 +02:00
Ha Thach
d9496256cf
Update feature_request.md
2020-06-01 15:17:45 +07:00
Ha Thach
5a1c86d948
Update bug_report.md
2020-06-01 15:17:05 +07:00
hathach
e92118635c
adding speed detect on bus reset
2020-06-01 13:40:18 +07:00
hathach
710c54f8cb
allow hs ep open with 512 bytes
2020-06-01 01:36:09 +07:00
hathach
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
hathach
5ffba8536d
able to detect as hs
2020-05-31 19:41:22 +07:00
Ha Thach
5efeaf2ac1
Merge pull request #413 from kasjer/kasjer/ble-over-usb
...
Bluetooth HCI transport over USB
2020-05-31 15:07:56 +07:00
Ha Thach
7258355e8e
Merge pull request #424 from hathach/fix-idf-usb-pin-init
...
fix idf usb pin init changes
2020-05-29 14:07:37 +07:00
hathach
e0490ae786
fix idf usb pin init changes
2020-05-29 13:06:33 +07:00
Ha Thach
e9b41cb97d
Merge pull request #421 from hathach/add-qualifier-descriptor
...
add get device qualifier descriptor
2020-05-28 23:34:42 +07:00
hathach
d6d29897f3
add get device qualifier descriptor
2020-05-28 23:16:16 +07:00
Jerzy Kasenberg
56d46483e4
Add bt hci device class
...
Code implements USB transport for bluetooth HCI.
2020-05-28 10:58:49 +02:00
Jerzy Kasenberg
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
Ha Thach
b8783e10a9
Merge pull request #418 from hathach/enhance-usbd-driver-open
...
Enhance usbd driver open() API
2020-05-28 15:04:15 +07:00
hathach
53b749fd72
check max_len for vendor and hid
2020-05-28 14:44:26 +07:00
hathach
fb214f7cf7
rename to drv_len to be consistent
2020-05-28 13:57:49 +07:00
hathach
10cd3f24bf
initial transfer failed in open() shouldn't cause the driver open to fail.
2020-05-28 13:48:02 +07:00
hathach
c1db36a15c
update vendor open()
2020-05-28 12:19:06 +07:00
hathach
bec5b5f9da
update usbtmc open()
2020-05-28 12:13:48 +07:00
hathach
13860e9f94
update net open()
2020-05-28 11:51:25 +07:00
hathach
8f560bf275
update midi open()
2020-05-28 11:41:37 +07:00
hathach
89a3d1f6d1
update hid open()
2020-05-28 11:19:12 +07:00