hathach
d415bd4d7b
add missing musb type file
2021-11-08 17:39:37 +07:00
hathach
f65917f51a
rename to simply OPT_MCU_MSP432E4, add msp432e to ci
2021-11-08 17:29:26 +07:00
hathach
6fea50f735
musb work well with tm4c123
2021-11-08 16:41:29 +07:00
hathach
23e6e0ef33
merge pull request 670 for tm4c123gxl bsp
2021-11-08 16:41:29 +07:00
kkitayam
26461d1efe
Fix DCD_EVENT_XFER_COMPLETE was signaled, even after EP is closed
2021-11-07 18:25:11 +09:00
kkitayam
0b3c8c4a59
Implement dcd_edpt_xfer_fifo for dcd_musb
2021-11-06 00:06:27 +09:00
kkitayam
50ca0dda2c
Add dcd_musb.c
2021-11-06 00:06:26 +09:00
kkitayam
f183d0810b
Add files for msp432e4
2021-11-06 00:06:26 +09:00
Ha Thach
ab760290a5
Merge pull request #1181 from liamfraser/rp2040-hcd-assert-fix
...
Fix invalid assert in RP2040 host mode when compiled in debug mode
2021-11-05 21:40:42 +07:00
Jerzy Kasenberg
d20a5b3a09
bth: Add IAD to BT descriptor
...
Bluetooth's specification defines IAD for primary controller.
While it seems that Windows and Linux can leave without this,
there is no reason TinyUSB should not provide it.
2021-11-05 13:03:31 +01:00
Jerzy Kasenberg
ec8ece2c9d
bth: Update driver to interface association changes
...
Two interfaces that are required by Bluetooth Primary Controller
do not have IAD according to Bluetooth specification.
Those two interfaces were opened separately in process_set_config().
Later interface association was inferred for BTH (along with other
drivers), since then only one call to open() is place for BTH driver
that should prepare both interfaces at once.
To make it work again btd_open() parses two interfaces at once.
2021-11-05 12:33:15 +01:00
Liam Fraser
e692fa9ae4
RP2040 HCD: Move invalid ep->active assert in hw_trans_complete. The check for ep->active should only happen if a setup packet was just sent. Otherwise the transaction is handled in hw_handle_buff_status.
2021-11-05 09:39:31 +00:00
Ha Thach
c04006bc13
Merge pull request #1180 from hathach/add-xmc4500
...
Add xmc4500
2021-11-05 14:38:23 +07:00
hathach
d87a897a7b
xmc4500 ported, cdc msc example run fine
2021-11-05 13:13:21 +07:00
hathach
a3fc107d94
xmc4500 led blinky, button ok
2021-11-05 11:57:36 +07:00
Jerzy Kasenberg
e35bb6341c
broadcom/dcd: Fix mynewt build
...
dcd_synopsys.c included broadcom/interrupts.h before
preprocessor check whether file should be used.
Since mynewt build does not include all folders it resulted in build
error.
Now offending include is moved few lines after preprocessor check.
2021-11-04 21:46:17 +01:00
hathach
f90f5ea369
adding g4 family with g474nucleo, able to blink led and button
2021-11-04 16:16:51 +07:00
Ha Thach
fc59515bfd
Merge pull request #1163 from hathach/generalize-synopsys-dwc2
...
Generalize synopsys dwc2
2021-11-04 13:41:25 +07:00
hathach
6cfdf697eb
add hint/question with ISB
2021-11-04 12:42:28 +07:00
hathach
b51d038b65
fix issue with bcm2711 caching issue by ading ISB() after dwc2_dcd_int_enable90
...
also add hwcfg_list for reference
2021-11-04 12:30:11 +07:00
hathach
e16506cb52
clean up
2021-11-03 12:24:10 +07:00
hathach
7e68894726
grouping stm32L4 family in bsp
2021-11-02 16:10:40 +07:00
hathach
b809429873
minor clean up
2021-11-02 14:51:15 +07:00
hathach
aa682d7301
add fix for stm32l4 (version 3.10a) which generate transfer complete when setup recieved and control out data complete
2021-11-02 13:52:30 +07:00
Ha Thach
9245b8f89f
Merge pull request #1164 from suda-morris/refactor/update_include_header_esp32xx_dcd
...
update dcd_esp32sx with correct include list
2021-11-01 15:24:51 +07:00
hathach
215e0595ab
change F207 to use new dwc2
2021-10-31 00:09:40 +07:00
hathach
b85a6898af
remove dcd_efm32
2021-10-30 20:45:58 +07:00
hathach
9cd5a87c64
add support for EFM32GG
...
merge GG12 GG12 to simply OPT_MCU_EFM32GG
2021-10-30 20:42:55 +07:00
hathach
660e8b8c88
skip snpsid check for gd32, abstract phyfs turnaround, set max timeout calibration.
...
still has issue with gd32 with msc (does work with running with rtt as
log).
2021-10-29 16:08:19 +07:00
hathach
6c67fc4125
correctly init hs phy for bcm
2021-10-29 00:53:30 +07:00
hathach
7def380058
support bcm2711 on pi4, enhance dcd init with utmi and ulpi hs phy
2021-10-28 12:52:18 +07:00
Gordon McNab
6a658007a5
Changes to use ft90x-sdk as submodule or installed SDK from toolchain.
2021-10-27 12:30:51 +01:00
hathach
49aa69a301
update bcm dcd
2021-10-26 23:57:48 +07:00
hathach
07829510e7
Merge branch 'tannewt-rpi' into generalize-synopsys-dwc2
2021-10-26 23:43:35 +07:00
hathach
9f1cd1a753
add synopsys id check, rename GCCFG_* to STM32_GCCFG-*
2021-10-26 23:10:26 +07:00
hathach
bb5dab5c2e
add hw config struct
2021-10-26 22:48:01 +07:00
hathach
68fa9d4064
enhance fifo read/write
2021-10-26 13:56:56 +07:00
hathach
5d05f8758f
more clean up
2021-10-26 13:36:43 +07:00
hathach
4ebfd00d67
clean up
2021-10-26 13:33:40 +07:00
hathach
de413183d4
use dwc2->epin
2021-10-26 13:07:00 +07:00
hathach
e7655a7567
update the access epout
2021-10-26 13:02:26 +07:00
hathach
34844c9061
use dwc2->fifo[]
2021-10-26 12:53:29 +07:00
hathach
5e1a031800
complete dwc2 regs struct
2021-10-26 12:22:41 +07:00
hathach
3755814f57
add epin, epout to dwc2 regs
2021-10-26 11:49:59 +07:00
hathach
8df078dc9e
more rename
2021-10-26 11:11:46 +07:00
hathach
7369d2441d
update dwc2_type
2021-10-26 00:55:24 +07:00
hathach
460052c8a0
spacing
2021-10-25 21:20:58 +07:00
suda-morris
7d0d6f85f2
update dcd_esp32sx with correct include list
2021-10-25 21:53:14 +08:00
hathach
dbd31895bc
change usage of TU_CHECK_MCU() to prevent macro conflict
2021-10-25 17:04:03 +07:00
hathach
85e18b9172
house keeping
2021-10-25 15:58:12 +07:00
hathach
4ccf60954d
moving esp32s2 to dwc2, abstract dwc2_set_turnaround()
2021-10-25 15:51:41 +07:00
Tod Kurt
9f014b059a
properly handle Program Change and Channel Aftertouch messages
2021-10-25 00:07:59 -07:00
hathach
a0202df920
add TU_ARGS_APPLY(), TU_CHECK_MCU() now could check list of mcus
2021-10-25 13:49:59 +07:00
hathach
61c80840c3
update dwc int enable/disable
2021-10-25 00:40:21 +07:00
hathach
4ab931a361
more clean up
2021-10-25 00:23:18 +07:00
hathach
0e7c103e98
minor rename
2021-10-25 00:11:17 +07:00
hathach
32742571da
switch gd32 and stm32f4 to use new dwc2 driver
2021-10-25 00:06:57 +07:00
hathach
06de6b725c
adding generalized dwc2 driver
2021-10-24 23:24:46 +07:00
Ha Thach
55e0b5882a
Merge pull request #1160 from cr1901/msp-fix
...
msp430x5xx: Set base of transmit_packet buffer earlier to avoid incre…
2021-10-24 17:28:11 +07:00
hathach
109b7a6661
more wMaxPacketSize
2021-10-24 14:39:02 +07:00
hathach
5af989384b
remove ep descriptor wMaxPacketSize bitfield due to endian issue
2021-10-24 13:11:21 +07:00
hathach
6f5b197a98
indent
2021-10-24 08:44:58 +07:00
William D. Jones
07c74c76d0
msp430x5xx: Set base of transmit_packet buffer earlier to avoid incrementing past unsent data.
2021-10-23 14:04:44 -04:00
Ha Thach
311c05b401
Merge branch 'master' into fix-warnings
2021-10-23 21:23:56 +07:00
Ha Thach
b541c0f5e0
Merge pull request #1150 from kkitayam/change_input_terminal_type_to_camera
...
UVC example: change input terminal type to camera from external
2021-10-23 20:48:52 +07:00
Scott Shawcroft
2ef200003d
Update broadcom library
2021-10-22 09:31:24 -07:00
Scott Shawcroft
35b62810c3
Update submodule
2021-10-22 09:00:42 -07:00
hathach
5e437ee186
pi cm4 enumerated as full speed device
2021-10-22 21:55:15 +07:00
kkitayam
b3b6b4f785
Update _negotiate_streaming_parameters() to handle some requests
2021-10-19 21:49:00 +09:00
Ha Thach
4bfab30c02
Merge pull request #1139 from hathach/release-0.12.0
...
update changelog and increase version for 0.12.0
2021-10-19 13:27:53 +07:00
kkitayam
4fd0ee4eef
Implement GET_DEF and GET_LEN handling on Probe/Commit entities of streaming interface
2021-10-18 21:53:38 +09:00
hathach
6fcf4bee8c
suppress null-dereference by usbh and lwip
2021-10-18 11:42:00 +07:00
hathach
a7dd5b616c
fix -Wnull-dereference in midi_device
2021-10-18 01:11:27 +07:00
hathach
826b34a8ac
enable -Wnull-dereference
2021-10-18 00:13:40 +07:00
hathach
099d3b377f
add volatile to EPx_REGS for -Wcast-qual
...
since gcc does difference between volatile struct and member when
casting pointer
2021-10-17 17:33:14 +07:00
hathach
31cd366935
more -Wcast-qual
2021-10-17 17:32:03 +07:00
hathach
a5f516893b
more with -Wcast-qual
2021-10-17 16:36:53 +07:00
kkitayam
7325dd6335
Change input terminal type to camera
2021-10-16 12:06:13 +09:00
hathach
0b249618b0
fix -Wcast-qual
2021-10-15 23:54:31 +07:00
Jerzy Kasenberg
bf4b133084
dcd_da146xx: Drop unexpected data
...
USB3CV tool verifies MSC device by sending too short or
too long packets.
In case of too long packets (msc_device requested 31 bytes
but incoming data had 32 bytes) extra byte(s) were left in
FIFO resulting in some data mismatch later on.
Now if more data is received in packet that expected extra
bytes are just dropped.
2021-10-15 12:02:15 +02:00
Jerzy Kasenberg
49aa0b72a8
dcd_da146xx: Fix EPIN stall notification handling
...
Normal TX handler for IN non-0 endpoints is called during
outgoing transfer or just after it was finished.
It may need to fill TX fifo with same data if TX_DONE is present
but ACK_STAT is not.
It may need to fill more data when called during transfer.
But it may also be called when STALL was sent.
In this case TX_DONE is set ACK_STAT is not, just like for packets
that were sent but no ACK was received.
Code was trying to send something again. There was nothing to send
so empty ZLP was scheduled for stalled endpoint.
This ZLP was later send to host where valid response was required.
This change checks if notification was for STALL endpoint and
does not try to fill TX FIFO in that case.
2021-10-15 12:02:15 +02:00
hathach
7596cb3079
update some sense warning from -Wconversion
2021-10-15 15:54:32 +07:00
graham sanderson
06d9555389
More warning cleanup
...
- physically suppress warnings in TinyUSB headers using pragmas so they don't break -Werror compilation of external files that include them
- fix compiler warnings in rp2040 port
- add cmake method to rp2040 port to allow an external project to suppress warnings in TinyUSB itself
2021-10-14 15:23:26 -05:00
graham sanderson
7667299b48
Remove compiler warning
2021-10-14 12:13:39 -05:00
kkitayam
2a795d5fd0
Fix GUID of video compression formats
2021-10-14 23:15:35 +09:00
hathach
5cfe293001
update changelog and increase version for 0.12.0
2021-10-13 17:32:34 +07:00
Ha Thach
9da234cd7c
Merge pull request #1101 from kasjer/kasjer/da146xx-bus-reset-sleep
...
da146xx bus reset and sleep reworked
2021-10-13 16:33:54 +07:00
Scott Shawcroft
4ab14867da
Trying to get USB init
2021-10-12 16:47:53 -07:00
Ha Thach
379537cb6d
Merge branch 'master' into add_uvc
2021-10-12 22:01:02 +07:00
kkitayam
67f1603833
Fix a typo
2021-10-12 23:35:19 +09:00
hathach
4d9e44e09c
more rename
2021-10-12 01:12:26 +07:00
hathach
7afcb1e5d5
minor code clean up without functionality changes
2021-10-12 00:56:20 +07:00
hathach
4d170614dc
rename some video constants
2021-10-11 23:18:24 +07:00
hathach
b3bfce2cb7
update the descriptor endpoint ISO for nrf5x
2021-10-11 16:07:34 +07:00
Ha Thach
ecec0370ca
Merge pull request #1107 from majbthrd/add_ncm
...
add NCM driver in a compatible manner : hathach/tinyusb#550
2021-10-11 15:57:46 +07:00
hathach
a6723f556d
add ncm.h for magic number
...
mostly clean up magic number
2021-10-11 12:36:03 +07:00
hathach
a8eea9f6a5
add backward compatible with warnings for CFG_TUD_NET
2021-10-09 11:28:55 +07:00
Gordon McNab
5e6edecaa3
Streamline settings for board.
2021-10-07 17:00:28 +01:00
Gordon McNab
8c40a74f29
Sort out board settings.
2021-10-06 17:13:44 +01:00
Gordon McNab
9966b8a5d6
Change author in header to Bridgetek Pte Ltd.
2021-10-06 16:54:52 +01:00
Gordon McNab
37c5eeb51d
Rename directories to indicate that FT930 and FT900 devices are both covered by the same SDK and src/portable code. Board makefile includes __FT900__ macro for FT90x and __FT930__ macro for boards with FT93x.
2021-10-06 16:50:55 +01:00
Gordon McNab
62c613f6d2
Add initial port for FT9xx series from Bridgetek.
...
Add FT90X and FT93X to the list of devices in tusb_option.h. 1700 for FT90x and 1701 for FT93x.
Set endpoint attributes for FT90x and FT93x in dcd_attr.h.
Add FT90x routines for USB device in src/portable/bridgetek/ft90x/dcd_ft90x.c
The location for hardware header files and libraries is hw/mcu/bridgetek/ft90x/hardware. There are no files in the repository, but files will be linked as a submodule in the future. The required files can be copied from or linked to the location "C:/Program Files(x86)/Bridgetek/FT9xx Toolchain/Toolchain/hardware" once the toolchain is installed.
Makefile for the MM900EV1B board for developing with an FT900 device is present. Use "BOARD=mm900ev1b".
2021-10-05 13:54:47 +01:00
hathach
431650fb7d
Merge branch 'j4cbo-ncm' into majbthrd-add_ncm
2021-10-05 16:32:37 +07:00
hathach
a867d87072
rename CFG_TUD_NET to CFG_TUD_ECM_RNDIS
2021-10-05 16:00:07 +07:00
hathach
31cfd5a684
Merge branch 'add_ncm' of https://github.com/majbthrd/tinyusb into majbthrd-add_ncm
2021-10-05 11:39:32 +07:00
Charlie Birks
aa97b419b2
Handle HID devices with OUT endpoint listed first
...
This happens on my PowerA wired Switch pro controller
2021-10-04 11:43:12 +01:00
Ha Thach
d9bda631d4
Merge pull request #1120 from hathach/enhance
...
house keeping update
2021-10-01 23:31:21 +07:00
hathach
fec2d15989
clean up vendor open
2021-10-01 23:00:09 +07:00
hathach
75ad0c7d31
clean up
2021-10-01 22:53:14 +07:00
hathach
fdd1e4fbf0
more usbd clean up
2021-10-01 21:52:29 +07:00
Ha Thach
c851229eea
Merge pull request #1063 from HiFiPhile/uac_fifo
...
UAC2: Add xfer_fifo support for dcd_transdimension.
2021-10-01 00:17:51 +07:00
hathach
7708997a67
change scsis status to phase error when total_bytes < block_count
2021-09-30 20:14:23 +07:00
hathach
14514d7087
Merge branch 'master' of https://github.com/szymonh/tinyusb into szymonh-master
2021-09-30 20:02:32 +07:00
kkitayam
4ca466b00b
Update comments
2021-09-29 22:59:46 +09:00
kkitayam
9bcab53c2c
Implement frame rate settings
2021-09-29 22:53:26 +09:00
kkitayam
dba5e7b17d
Implement negotiation process for streaming parameters
2021-09-29 21:23:19 +09:00
kkitayam
0c89292a8d
Fix transfer failure when reconnecting
2021-09-29 21:23:19 +09:00
kkitayam
a15c354329
Fix typo
2021-09-29 21:23:18 +09:00
kkitayam
f7bbdea0b8
Refactor application API parameters
2021-09-29 21:23:17 +09:00
kkitayam
0d6496886c
Change frame buffer management
2021-09-29 21:23:17 +09:00
kkitayam
d88cc23ca5
Refactor packet handling
2021-09-29 21:23:17 +09:00
kkitayam
cd3f6eac2f
Fix streaming payload handling
2021-09-29 21:23:16 +09:00
kkitayam
3cb4bb391d
Separate a handling resource into controller and streaming
2021-09-29 21:23:16 +09:00
kkitayam
2b4e02f192
Implement some mandatory requests on streaming interface
2021-09-29 21:23:16 +09:00
kkitayam
4995d9cbd2
Fix handling for set_interface
2021-09-29 21:23:15 +09:00
kkitayam
20572a6ed2
Fix regarding standard video stream request
2021-09-29 21:23:15 +09:00
kkitayam
d026f17457
fix: configuration descriptor has incorrectly sizes
...
update some descriptors
2021-09-29 21:23:15 +09:00
kkitayam
019c1ab09e
add tentative example
2021-09-29 21:23:14 +09:00
kkitayam
033d6b28ff
moved ISO attributes from audio to common
2021-09-29 21:23:14 +09:00
kkitayam
e8de411322
cleanup open()
2021-09-29 21:23:14 +09:00
kkitayam
97d5d1e491
add files for video class device
2021-09-29 21:23:14 +09:00
hathach
1d5bdf7d39
add same7x to board list
2021-09-29 16:29:15 +07:00
hathach
0b31c40b9f
Merge branch 'master' into enhance
2021-09-29 16:18:17 +07:00
hathach
2f2fb3d8d9
clean up
2021-09-29 16:18:11 +07:00
hathach
f3c1b2a60d
clean up
2021-09-29 15:31:03 +07:00
hathach
103309b88b
Merge branch 'master' of github.com:hathach/tinyusb into zhangslice-master
...
examples/device/hid_composite_freertos/src/FreeRTOSConfig/FreeRTOSConfig.h
2021-09-29 15:27:41 +07:00
szymonh
db862ae725
Assure msc device block size is not zero
2021-09-27 21:11:44 +02:00
Peter Lawrence
03d7988df3
add NCM driver in a compatible manner : hathach/tinyusb#550
2021-09-25 17:05:58 -05:00
Ha Thach
958cf2cfba
Merge pull request #1102 from kasjer/kasjer/usbd-small-ep0-enumeration-workaround
...
usbd: Workaround for non standard device descriptor request
2021-09-25 18:37:24 +07:00
hathach
73872a5df0
add CFG_TUSB_OS_INC_PATH for os include path
...
useful for freertos/ prefix with esp IDF
2021-09-25 16:16:55 +07:00
Scott Shawcroft
0a6ca65e3f
MMU works
2021-09-24 16:14:01 -07:00
Ha Thach
1c17cb1c45
Merge pull request #1103 from kasjer/kasjer/da146xx-close-cleanup
...
dcd_da146xx: Remove registers pointer from xfer_ctl_t
2021-09-24 20:55:16 +07:00
Ha Thach
cd865f896b
Merge pull request #1096 from kasjer/kasjer/da146xx-close-all
...
dcd_da146xx: Implement dcd_edpt_close_all()
2021-09-24 20:53:06 +07:00
Jerzy Kasenberg
c62c1433e7
usbd: Workaround for non standard device descriptor request
...
Windows and Linux host during enumeration requests device
descriptor with request size set to 64 bytes when device
was in default state (no address).
Those systems do not want 64 bytes though since usb descriptors is
only 18 bytes long so they silently expect that only one packet
will be received possibly 18 bytes for EPS > 16 or 8 or 16 bytes
for smaller EP0.
For devices with CFG_TUD_ENDPOINT0_SIZE size 8 or 16 there was
workaround that reduced request size to CFG_TUD_ENDPOINT0_SIZE
and that was enough to satisfy Windows and Linux hosts.
However USBCV testing application also requests device descriptor
but with size set to 18 bytes. Workaround for Window/Linux
prevented USBVC to tests devices with 8 bytes EP0 size since it
send only 8 bytes while application did wanted 18 bytes.
Solution that satisfies both cases it to check if in default state device
descriptor request wants more bytes than descriptor size (18).
If so host is expecting to receive less bytes then requested
and workaround would be applied since Linux/Windows only try
to read one packet.
If 18 bytes was requested as is the case for USBCV, core returns
descriptor in 2 or 3 packets as application expects.
2021-09-24 14:19:04 +02:00
Jerzy Kasenberg
fbac58e3e4
dcd_da146xx: Implement dcd_edpt_close_all()
...
Unconditionally disables all endpoints except EP0.
2021-09-24 10:46:16 +02:00
Jerzy Kasenberg
1503955860
dcd_da146xx: Clear transfer data on dcd_edpt_close
...
Closing endpoint clears data in affected xfer_ctl_t
2021-09-24 09:28:51 +02:00
Jerzy Kasenberg
f172c5ee13
dcd_da146xx: Remove registers pointer from xfer_ctl_t
...
Note: this commit does not change any logic.
xfer_ctl_t structure keeps all dynamic data connected with transfer.
It used to have pointer to register set that was constant and was there
for convenience only.
Removing register pointer from structure makes cleanup easier as whole
structure can be erased with memset like function.
In many cases functions were using local variable regs and xfer->regs which
were same, that could be confusing so this part is unified.
Few macros were added for easy conversion between epnum, xfer, and regs.
2021-09-24 09:28:51 +02:00
Jerzy Kasenberg
428eedcd04
dcd_da146xx: Update bus handling
...
So far bus reset was handled (with some holes in it).
Sleep and remote wakeup were not really tested and did not work.
With this change:
- bus reset is reworked
- remote wakeup works
- bus signal sleep is handled
2021-09-23 14:12:50 +02:00
Jerzy Kasenberg
c427712449
dcd_da146xx: Handle only enabled interrupts
...
Not much of an improvement but handle only interrupts
that were enabled and are expected.
2021-09-23 14:12:50 +02:00
Ha Thach
4766e7f348
Merge pull request #1093 from szymonh/master
...
Enforced buffer boundaries for hid devices
2021-09-23 13:31:46 +07:00
Ha Thach
3e569f8e79
Merge pull request #1094 from kasjer/kasjer/da146xx-vbus-handling
...
dcd_da146xx: Add VBUS handling
2021-09-18 23:12:40 +07:00
hathach
ea595d3161
update dcd attr for mm32
2021-09-18 16:53:16 +07:00
hathach
3333703d25
Merge branch 'master' into zhangslice-master
2021-09-18 13:35:26 +07:00
Scott Shawcroft
2499c9382d
rpi start. doesn't work
2021-09-17 16:51:34 -07:00
Jerzy Kasenberg
6d8677a78a
dcd_da146xx: Add VBUS handling
...
DA146xx are Bluetooth devices that may be battery
powered and when not connected to USB host there
is no need for USB peripheral to be running.
This change allows to enable USB peripheral when
VBUS is present otherwise USB is down reducing
power consumption.
tud_vsub_changed() function must be called
whenever VBUS change was detected.
For bus-powered devices this function should be called
at startup since VBUS must be present while device
is working.
2021-09-17 12:10:17 +02:00
hathach
b363afc091
minor clean up
2021-09-17 00:46:29 +07:00
hathach
c65cc75c6b
use correct resume detection for kl25z
2021-09-17 00:44:39 +07:00
hathach
8dfe0898e7
minor update to dcd khci
2021-09-17 00:43:10 +07:00
kkitayam
fbe1bf375c
Fix stall interrupt handling
2021-09-15 21:39:02 +09:00
hathach
93ed3034c0
merge master and minor clean up
2021-09-15 18:35:52 +07:00
hathach
f39656b6d7
Merge branch 'master' of github.com:hathach/tinyusb into kkitayam-impl_close_all_for_khci
2021-09-15 18:29:28 +07:00
Ha Thach
03866ddf9b
Merge pull request #1062 from HiFiPhile/fifo_dcd_transdimension
...
Improvements for dcd_transdimension
2021-09-15 16:07:06 +07:00
MasterPhi
0ded1c5bac
Reset EP flags on close.
2021-09-14 21:08:12 +02:00
hathach
a23944035d
correct assoc_itf_count for bth driver
2021-09-15 00:51:01 +07:00
hathach
b474522245
make vendor driver more flexible
...
- skip additional custom descriptor between interface and endpoints
- can have up to 2 bulk endpoint ( 1 in & 1 out)
2021-09-14 21:30:38 +07:00
hathach
25ea8f9c9e
update configuration parser
2021-09-14 21:02:38 +07:00
MasterPhi
3639168066
Fix warning.
2021-09-14 11:58:22 +02:00
hathach
5404d6d8ae
usbd pre-compute total interface length without replying on driver open
2021-09-14 12:47:20 +07:00
Ha Thach
6d3fb7eb98
Merge pull request #1087 from HiFiPhile/nuc_wkp
...
NUC126: fix remote_wakeup
2021-09-14 11:40:55 +07:00
szymonh
2d6407e7a5
Enforced buffer boundaries for hid devices
2021-09-13 22:56:25 +02:00
Ha Thach
1c3215257e
Merge pull request #1091 from hathach/esp32sx-compliance
...
Esp32sx compliance
2021-09-13 21:26:29 +07:00
hathach
cdc63459eb
esp32sx implement dcd_remote_wakeup(), fully compliance to chapter9 test suite
2021-09-13 16:49:38 +07:00
hathach
e64bfb9ff5
implement dcd_edpt_close_all(), pass chapter9 test suite (without remote wakeup)
2021-09-13 16:16:37 +07:00
szymonh
50e3c0054f
Add size check to tud_bt_hci_cmd_cb call in bth_device.c
2021-09-13 10:23:03 +02:00
hathach
43e6555fd0
clean up
2021-09-13 13:09:38 +07:00
hathach
ce5db06ba0
clear PID along with clear stall
2021-09-13 12:05:49 +07:00
hathach
6feda5ae8f
Merge branch 'nuc_wkp' of https://github.com/HiFiPhile/tinyusb into HiFiPhile-nuc_wkp
2021-09-13 11:52:16 +07:00
szymonh
d5f2c34eaa
Prevent buffer overflow in bth_device.c
2021-09-12 20:24:54 +02:00
hathach
9bed4e2e21
refactor nxp TDI dcd_edpt_xfer_fifo
2021-09-13 00:45:15 +07:00
hathach
038ec341f8
Merge branch 'fifo_dcd_transdimension' of https://github.com/HiFiPhile/tinyusb
2021-09-12 17:39:32 +07:00
hathach
dd60ce784c
nxp tdi: implement dcd edpt close all
2021-09-11 21:29:04 +07:00
hathach
1f7ade2b75
nxp tdi: fix error td prevent further transfer
2021-09-11 19:27:37 +07:00
MasterPhi
22571ec98e
reset PID to DATA0 on clear_stall.
2021-09-10 16:04:47 +02:00
MasterPhi
8886de0d8a
Fix remote_wakeup
2021-09-10 13:05:15 +02:00
MasterPhi
580893b3fe
Shorter expr.
2021-09-10 11:17:33 +02:00
kkitayam
2998f67eac
Fix dcd_edpt_clear_stall to reset data toggle
2021-09-10 00:18:43 +09:00
Mengsk
283783c082
dcd_edpt_xfer_fifo: use qtd_init if restriction not met.
2021-09-09 16:45:18 +02:00
hathach
ad8c0ee818
nxp tdi: enhance qhd using DCD_ATTR_ENDPOINT_MAX
2021-09-09 20:26:03 +07:00
hathach
f948cbe471
nxp tdi implement remote wakeup
...
enhance bus reset, unplugged, suspend, resume detection
2021-09-09 17:04:04 +07:00
hathach
27800f7e4f
remove connected check for DCD_EVENT_UNPLUGGED since previous bus reset can clear this
...
implement unplugged detection for trans dimension dcd
2021-09-09 16:01:05 +07:00
hathach
f81368174b
add other speed descriptor callback tud_descriptor_other_speed_configuration_cb()
...
example implement tud_descriptor_device_qualifier_cb() and
tud_descriptor_other_speed_configuration_cb() on high speed device to
fully compliant to usbcv
2021-09-09 15:17:19 +07:00
kkitayam
780852efb3
Fix stall handling
2021-09-09 00:55:02 +09:00
kkitayam
22b5b47045
Implement dcd_edpt_close_all for NXP khci
2021-09-08 21:52:27 +09:00
Ha Thach
d66d817c38
Merge pull request #1080 from hathach/rx-msc-compliance
...
Renesas RX reset PID to DATA0 when open endpoint
2021-09-08 18:31:42 +07:00
Ha Thach
5f141a4c13
Merge pull request #1077 from hathach/st-synopsy-compliance
...
St synopsy compliance
2021-09-08 18:00:44 +07:00
hathach
d077574097
reset PID to DATA0 when open endpoint
2021-09-08 17:56:22 +07:00
Ha Thach
c5e6e87d13
Merge pull request #1076 from kkitayam/impl_close_all_for_rx
...
Implement dcd_edpt_close_all() for Renesas RX family
2021-09-08 17:53:42 +07:00
hathach
67e80f60e3
fix build with gd32vf103
2021-09-08 13:35:11 +07:00
hathach
4ac136d81d
implement remote wakeup for stm synopsys
2021-09-08 00:57:07 +07:00
hathach
a54a974fa5
make synopsys usbcv compliance
...
- implement dcd_edpt_close_all()
- reset dtoggle when open endpoint
- correct dev interrupt mask on bus reset
2021-09-07 23:02:57 +07:00