26 Commits

Author SHA1 Message Date
hathach
4f6e770eda
add more warning option, also fix -Wconversion with rp2040
-Wuninitialized, -Wunused,  -Wredundant-decls
2022-06-24 19:46:19 +07:00
Gordon McNab
bcbcdf87de Fix spelling mistakes and verify endpoint numbering. 2021-12-08 11:24:39 +00:00
Gordon McNab
9a7db98593 Merge branch 'master' into port-ft90x 2021-12-08 08:36:43 +00:00
Ha Thach
311c05b401
Merge branch 'master' into fix-warnings 2021-10-23 21:23:56 +07:00
Jerzy Kasenberg
9a688224d0 msc examples: Extend serial number to 12 digits
USB3CV tool complains about too short serial number being used
in MSC device.

This just extends serial number to 12 characters, it makes it
easier to analyze USB3CV logs where this unnecessary warning
made output red.

Offending warning:
Serial Number string for MSC device : iSerialNumber = 0x3
Checking iSerialNumber String Descriptor: index = 0x03.
String Descriptor : "123456". (ENGLISH_US)
Using Language ID 0x409
MSC Serial Number length = 14
Invalid MSC Serial Number length : should be >= 26
*************************
Invalid MSC Serial Number length
*************************
*************************
(MSC: 5.1.2) Serial number must be a string, 12 characters or longer
(if the device supports a BOT interface, bInterfaceProtocol = 0x50),
or exactly 12 characters long (if the device supports a CBI interface,
bInterfaceProtocol = 0x00 or 0x01, and has a serial number).
2021-10-15 14:07:40 +02:00
hathach
7596cb3079 update some sense warning from -Wconversion 2021-10-15 15:54:32 +07:00
Gordon McNab
bcecbfdc29 Modify cdc_msc example for Bridgetek FT90x/FT93x
Add in endpoint definitions for the Bridgetek devices in usb_descriptors.c and allow high speed in tusb_config.h.
2021-10-06 09:15:33 +01: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
hathach
ed4602158b
TD 9.12 remote wakeup test
remove TUSB_DESC_CONFIG_ATT_REMOTE_WAKEUP attribute from non-hid
examples
2021-08-26 17:08:22 +07:00
MasterPhi
85fc423569 Rename SAM7X to SAMX7X
Signed-off-by: MasterPhi <admin@hifiphile.com>
2021-06-12 12:36:59 +02:00
Rafael Silva
776a770947 dcd: sam7x: rename family dcd to include the whole family
Signed-off-by: Rafael Silva <perigoso@riseup.net>
2021-06-12 00:09:24 +01:00
MasterPhi
c291deccfa Add fifo & DMA linked list mode support. 2021-06-11 12:17:11 +02:00
Kamil Tomaszewski
40e0e7e35f Define Spresense EP numbers for cdc_msc example 2021-01-25 11:13:56 +01:00
hathach
787c891702
add note for MS OS 1.0 Descriptor at 0xEE 2020-07-21 21:00:11 +07:00
hathach
8e1290e51e minor clean up 2020-07-19 13:13:21 +07:00
hathach
706413f751 add tud_speed_get()
- define both fs and hs configuration descriptor
- rename CFG_TUD_CDC_EPSIZE to CFG_TUD_CDC_EP_BUFSIZE with default size of 64 for FS, and 512 for HS
2020-07-16 00:44:09 +07:00
Uwe Bonnes
62239bb576 cdc-acm: Use 512 bytes when in HS mode.
Removes error:
config 1 interface 2 altsetting 0 bulk endpoint 0x3 has invalid maxpacket 64
while enumerationg.
2020-06-30 11:02:41 +02:00
hathach
710c54f8cb allow hs ep open with 512 bytes 2020-06-01 01:36:09 +07:00
Peter Lawrence
794212d44e revise argument order for TUD_CONFIG_DESCRIPTOR macro 2020-03-31 10:53:47 -05:00
Peter Lawrence
87f313da48 add provision for multiple configurations 2020-03-30 13:47:17 -05:00
Ha Thach
5f5ee465a6
Merge pull request #291 from hathach/port-samg55
Port samg55
2020-03-07 16:38:59 +07:00
Chang Feng
75afeb1266
Add langid to example cdc_msc.
Signed-off-by: Chang Feng <chang_196700@hotmail.com>
2020-02-26 13:14:04 +08:00
hathach
46f22860fb correct waklaround with only status IN
correct usb descriptor msc dual example to work with samg
2020-02-07 22:13:38 +07:00
hathach
0316e0ecd4 update descriptor, enhance ep in transfer 2019-12-09 22:48:35 +07:00
Nathan Conrad
4ccdc5522d Fix typo of CFG_TUD_ENDOINT0_SIZE. 2019-09-27 12:41:46 -04:00
hathach
7599541c1a rename cdc_msc_hid to cdc_msc, hid has its own example hid_composite now 2019-09-11 13:09:14 +07:00