Commit Graph

5659 Commits

Author SHA1 Message Date
Ha Thach 7180883fae
Merge pull request #1379 from Qianhao2579/master
Modify the wrong macro definition code
2022-03-07 16:09:16 +07:00
Ha Thach 1bd31c22e1
Merge pull request #1374 from kasjer/kasjer/stm32wb55
stm32wb55 support
2022-03-07 16:09:06 +07:00
Jerzy Kasenberg 76c8d4d95b Add support for nucleo-wb55rg 2022-03-07 09:35:12 +01:00
Jerzy Kasenberg a18ac84229 Add support for STM32WB mcu 2022-03-07 09:35:12 +01:00
QianHao 65bf5ddb1b Modify the wrong macro definition code 2022-03-07 08:04:49 +00:00
Ha Thach 4c6bb161e2
Merge pull request #1289 from kasjer/kasjer/vendor-update
vendor: Write improvements
2022-03-06 11:16:35 +07:00
Ha Thach f2c276d45e
Merge pull request #1372 from tannewt/fix_string_desc
Fix string descriptor fetch
2022-03-06 10:46:52 +07:00
Jerzy Kasenberg 2bef4410f9 Add stm32wb cmsis and hal driver submodules from ST 2022-03-05 17:53:57 +01:00
Scott Shawcroft f291243121
Fix string descriptor fetch 2022-03-04 11:38:02 -08:00
Rafael Silva 144ce092f0
Merge pull request #1371 from hathach/perigoso-patch-1
documentatio: fix bad supported dev table format
2022-03-04 16:18:26 +00:00
Ha Thach 8e0b8c15ea
Merge pull request #1369 from tannewt/host_string_desc
Add host string descriptor functions
2022-03-04 22:59:16 +07:00
Rafael Silva 4642cb8d0a
documentatio: fix bad supported dev table format 2022-03-04 15:35:32 +00:00
hathach 56c2d4b666 fix naming, and build 2022-03-04 22:31:48 +07:00
hathach b9a6cd8b61 rename example 2022-03-04 22:25:50 +07:00
hathach 271f905521 add tuh_descriptor_string_manufacturer/produce/serial_get 2022-03-04 22:23:56 +07:00
hathach 15ced09bb2 add tuh_configuration_set() 2022-03-04 21:41:27 +07:00
hathach 2bdf4d811a add tuh_descriptor_configuration_get() 2022-03-04 21:14:59 +07:00
hathach 7480c2e46b correct qhd and qtd count for ehci/ohci 2022-03-04 21:04:52 +07:00
hathach 032e2c2929 add CFG_TUH_INTERFACE_MAX config 2022-03-04 19:28:53 +07:00
hathach e08a875d52 add tuh_descriptor_get() and tuh_descriptor_device_get() 2022-03-04 19:26:54 +07:00
hathach 3a7d1cfead minor cleanup 2022-03-04 17:26:21 +07:00
hathach 039b235ca4 adding new libusb api example 2022-03-04 17:16:14 +07:00
hathach 96165a1950 rename HCD_MAX_XFER to CFG_TUH_ENDPOINT_MAX
minor clean up
2022-03-04 17:07:04 +07:00
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
Scott Shawcroft eb6b5d1219
Unused ok 2022-03-03 21:57:44 -08:00
Scott Shawcroft 2cd73ca602
Add host string descriptor functions
Plus typo fixes, GCC11 array bounds fix, snprintf for malloc-free
debug and pragmas for alignment checks.
2022-03-03 21:53:12 -08: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 1482a41524 fix uac2_headset build 2022-02-25 23:16:40 +07: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