3636 Commits

Author SHA1 Message Date
Jan Dümpelmann
530bc2c39c Add name to contributor list 2020-06-29 09:57:17 +02:00
Jan Dümpelmann
4f69bcea7e Remove EP0 remaining bytes manipulation
Renaming edpt_xact to edpt_schedule_packets
2020-06-26 17:18:25 +02:00
Ha Thach
562c079cf4
Merge pull request #444 from jepler/same5x_bugfix
dcd_samd: Provide implementation for OPT_MCU_SAME5X
2020-06-26 14:40:57 +07:00
Jeff Epler
b2ef8cdd42 dcd_samd: Provide implementation for OPT_MCU_SAME5X 2020-06-25 18:51:04 -05:00
Ha Thach
d489581deb
Merge pull request #441 from hathach/add-same5x
added OPT_MCU_SAME5X option
2020-06-26 01:31:39 +07:00
hathach
504b152f88 update readme 2020-06-26 01:30:33 +07:00
Ha Thach
d5bfb70b72
Merge pull request #442 from czeslawmakarski/pr/update-nrfx-to-nrfx-2.2.0
Update NRFX to v2.2.0
2020-06-25 13:45:27 +07:00
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
Reinhard Panhuber
28505cf03e Merge branch 'master' into uac2
Conflicts:
	src/device/usbd.c
2020-06-20 11:10:35 +02:00
Reinhard Panhuber
948728b82e Merge remote-tracking branch 'origin/uac2' into uac2 2020-06-20 11:02:04 +02:00
Reinhard Panhuber
1af77233ed Merge branch 'master' of https://github.com/PanRe/tinyusb.git into uac2 2020-06-20 10:53:09 +02:00
Reinhard Panhuber
ada82b840f Get update from tinyusb. 2020-06-20 10:51:21 +02: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
862d1667f0 Fix alignment. 2020-06-14 12:55:52 +02:00
Reinhard Panhuber
930817221d Merge branch 'fix-too-strict-iad-checks' into uac2
Conflicts:
	src/device/usbd.c
2020-06-14 12:36:59 +02:00
Reinhard Panhuber
48b2e6cf78 Fix too strict checks on subclass and interface of iad descriptor. 2020-06-13 13:51:50 +02:00
Reinhard Panhuber
4362665fb3 Fix mic audio descriptor, fix too strict check on IAD desc. in usbd.c 2020-06-13 12:36:05 +02:00
Reinhard Panhuber
d2f1bb58b3 Merge branch 'master' into uac2 2020-06-11 14:35:44 +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