Ha Thach
5453c7e97f
Merge pull request #1370 from hathach/fix-esp-idf
...
fix build with esp32s2, also use dwc2 for esp example
2022-03-04 15:20:51 +07:00
hathach
f72da8ee7d
fix build with esp32s2, also use dwc2 for esp example
2022-03-04 14:45:26 +07:00
Ha Thach
7c627f58d7
Merge pull request #1343 from Daft-Freak/patch-1
...
Open OUT endpoint for HID host
2022-02-28 20:00:40 +07:00
Ha Thach
8e84529c8d
Merge pull request #1345 from alexandre-perrin/iar-cpp-verify-static
...
Fix CPP compilation with IAR
2022-02-28 17:02:33 +07:00
Ha Thach
c9b0fbc907
Merge pull request #1354 from hathach/mcu-specific
...
Mcu specific
2022-02-26 21:30:07 +07:00
Ha Thach
6dd4d50213
Merge pull request #1352 from ETCLabs/fix-ehci-isr-status-clear-error
...
Updated the clearing of the status register bits to use a straight '=…
2022-02-26 18:05:59 +07:00
Ha Thach
f392054e70
Merge pull request #1353 from ETCLabs/iar-compiler-error-on-src-host-usbh.c
...
The IAR compilier does not resolve references to fields in the anonym…
2022-02-26 18:05:35 +07:00
hathach
2fe3a925fb
add highspeed detect for f723/730/733
2022-02-26 17:34:29 +07:00
hathach
a4ba3f2891
add TUP_USBIP_DWC2
2022-02-26 17:13:06 +07:00
hathach
11c89d43ab
more internal rename
2022-02-26 17:06:50 +07:00
hathach
bc63f59af2
mcu specific rename
2022-02-26 15:23:29 +07:00
Ha Thach
244154e087
Merge pull request #1311 from Wini-Buh/CCRX_Ext
...
Solve problems with CCRX toolchain
2022-02-26 14:34:18 +07:00
Tom Peterson
c06ecbef0c
The IAR compilier does not resolve references to fields in the anonymous structs defined within the usbh_dev0_t and usbh_device_t structs as they are defined. The problem seems to relate to the placement of the 'volatile' keyword at the struct level. I fixed the problem by removing the 'volatile' from the struct level, and instead placing it on each of the field declarations within the structs.
2022-02-25 16:49:55 -06:00
Tom Peterson
39fdbc8ffc
Updated the clearing of the status register bits to use a straight '=', rather than an '|='. Use of the latter caused an extra, unwanted read of the status register before the write-to-clear operation, which, in some cases, allowed new status bits to assert (relative to the initial read of the status register two statements earlier), and then be cleared blindly and unconditionally during the write-back. This had the potential (and, in my case, observed) effect of dropping the handling of an enabled interrupt. Ultimately, the system would lock up in a busy state, with no hope of clearing the condition. See Issue #1339 for more information.
2022-02-25 12:39:09 -06:00
Ha Thach
5b7a01ba79
Merge pull request #1350 from hathach/enhance-multipl-ports
...
Enhance rhports management
2022-02-26 01:00:07 +07:00
Ha Thach
13a4582ce2
Merge pull request #1349 from iabdalkader/fix_inquiry_data
...
Set the standard inquiry response additional length field.
2022-02-26 00:22:55 +07:00
iabdalkader
8eeda60bd0
Set the standard inquiry response additional length field.
...
* The standard inquiry response additional length field needs to be set to
the length in bytes of the remaining standard inquiry data (i.e. N - 5),
otherwise the kernel driver issues a warning about short inquiry response..
2022-02-25 18:42:23 +02:00
hathach
0997589c45
more symbol rename
2022-02-25 23:05:15 +07:00
hathach
89115253da
internal symbol rename
2022-02-25 22:45:05 +07:00
hathach
309540473b
minor house keeping
2022-02-25 22:26:35 +07:00
hathach
99ad3ae2ca
rename and move dcd_attr.h to tusb_mcu_attr.h
2022-02-25 18:35:21 +07:00
hathach
a8af609dfe
auto detect max rhport speed based on mcu
2022-02-25 18:35:21 +07:00
hathach
31aa077cb0
rename TUSB_OPT_HOST_ENABLED to CFG_TUH_ENABLED
2022-02-25 18:35:21 +07:00
hathach
d10326cb4e
rename TUSB_OPT_DEVICE_ENABLED to CFG_TUD_ENABLED
...
TUSB_OPT_DEVICE_ENABLED still usable for backward compatible
2022-02-25 18:35:21 +07:00
hathach
4a5a53b3b8
improve rphort management for usbd
2022-02-25 18:35:21 +07:00
Ha Thach
b797d1aa50
Merge pull request #1340 from tannewt/hid_to_cdc
...
Add concurrent host and device example
2022-02-25 18:21:37 +07:00
hathach
a8d6e82395
enhance dual role examples
2022-02-25 17:36:05 +07:00
Alexandre Perrin
81e33477ea
Fix CPP compilation with IAR
...
IAR defines __STDC_VERSION__ in cpp as well.
Which causes TU_VERIFY_STATIC to be defined as _Static_assert
instead of cpp's static_assert.
This reorders __cplusplus__ to be first, then to fallback to
__STDC_VERSION__ if not CPP.
2022-02-23 18:27:52 +01:00
Charlie Birks
83b638f230
Open OUT endpoint for HID host
2022-02-23 13:03:20 +00:00
Charlie Birks
c0a65ba0f6
Support interrupt OUT in RP2040 HCD
2022-02-23 12:25:01 +00:00
hathach
566e3abcea
increase version, update doc for release
2022-02-23 11:55:57 +07:00
Ha Thach
e04f15ff3d
Merge pull request #1280 from kasjer/kasjer/nrf5x-dma-race
...
nrf5x: Fix DMA access race condition
2022-02-22 21:00:51 +07:00
Ha Thach
4612332af7
Merge pull request #1331 from hathach/fix-esp-build
...
fix build with latest esp idf
2022-02-18 16:22:50 +07:00
hathach
52645fcc1b
fix build with latest esp idf
2022-02-18 13:07:21 +07:00
hathach
a53e83665e
fix HID_REPORT_ID_N()
2022-02-17 12:12:42 +07:00
Ha Thach
fcca8bb4ca
Merge pull request #1327 from hathach/msc-request-sense
...
Add msc request sense callback
2022-02-15 23:17:58 +07:00
hathach
46f4f7ff49
minor rename set sense function
2022-02-15 22:53:23 +07:00
hathach
391edc7afb
msc example response PREVENT_ALLOW_MEDIUM_REMOVAL command as unsupported command
...
LUN1 of msc_disk_dual will be set to not ready to simulate medium not
present (e.g SD card removed)
2022-02-15 22:40:08 +07:00
hathach
456c06aa5e
add tud_msc_request_sense_cb() as weak callback
...
set default error sense to NOT READY, Medium not present
2022-02-14 18:17:49 +07:00
Ha Thach
63cb3cdc74
Merge pull request #1304 from kkitayam/add_hcd_for_frdm_kl25z
...
Add hcd driver for frdm kl25z
2022-02-09 16:14:50 +07:00
Wini-Buh
5414cf275b
Merge branch 'hathach:master' into CCRX_Ext
2022-02-02 21:06:37 +01:00
Ha Thach
d6fb1859a4
Merge pull request #1291 from kasjer/kasjer/da1469x-fix-resume
...
da1469x: fix resume
2022-02-02 20:20:39 +07:00
Roland
7beb92864e
Merge branch 'CCRX_Ext' of https://github.com/Wini-Buh/tinyusb into CCRX_Ext
2022-02-01 23:49:20 +01:00
Roland
e1f0c484c6
Modifications for CCRX toolchain
2022-02-01 23:45:52 +01:00
Ryzee119
453ba529a6
OHCI: Fix array out of bounds issue
...
If using a USB hub, a request outside the array size can occur
Original line:
ffb257ac17/src/portable/ohci/ohci.h (L162)
It can happen in a few places but one such example is here:
ffb257ac17/src/portable/ohci/ohci.c (L460)
ie. if HUB address is 5, this would be an array index out of bounds on control endpoints as `CFG_TUH_DEVICE_MAX+1` is only 5.
This fix just includes num of hubs in the reserve array size.
Fixing locally fixed this issue.
2022-01-28 14:02:34 +10:30
kkitayam
03d2e32dc1
Fix handling for pending transfers
2022-01-27 23:38:19 +09:00
kkitayam
60a0be82da
Change hcd_edpt_xfer to send at the next SOF
2022-01-27 22:25:36 +09:00
kkitayam
cc06a3585e
Add handling for NAK response
2022-01-27 20:57:41 +09:00
kkitayam
cdab869472
Fix handling control transfer
2022-01-27 20:57:41 +09:00
kkitayam
a4bc6075ce
Add HCD functions for KL25Z
2022-01-27 20:57:40 +09:00