Commit Graph

30 Commits

Author SHA1 Message Date
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
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
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
fea6fb73a1 add fs & hs config for cdc_msc_freertos, midi_test, msc_dual_lun 2020-07-16 13:04:10 +07:00
hathach
c67b3a242e update example config and descriptor with better Highspeed support 2020-06-15 23:34: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
b97d4709c2 Add langid to examples.
Signed-off-by: Chang Feng <chang_196700@hotmail.com>
2020-02-26 13:37:02 +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
Nathan Conrad
4ccdc5522d Fix typo of CFG_TUD_ENDOINT0_SIZE. 2019-09-27 12:41:46 -04:00
hathach
30de17a830 clean up
- remove TUD_WEBUSB_URL_DESCRIPTOR to avoid flexible array member (C++
forbid in strict mode)
- remove unused TUD_DESC_STRLEN/TUD_DESC_STR_HEADER/TUD_DESC_STR_HEADER
2019-08-01 13:20:00 +07:00
hathach
8ba71be6ee more webusb + vendor 2019-07-25 16:52:20 +07:00
hathach
8fad8fb5c2 Merge branch 'master' into develop 2019-07-22 19:23:48 +07:00
hathach
97e2629d64 change EPNUM for example 2019-07-22 18:58:45 +07:00
hathach
2b7acd554a updating webusb with cdc 2019-07-12 19:38:04 +07:00
hathach
fdf39dd4ae clean up usb descriptors in example 2019-07-12 16:28:38 +07:00
hathach
ff2a7c79f8 revert 2.1 to 2.0, only needed for webusb exmample (BOS needed) 2019-07-11 22:41:36 +07:00
hathach
90395f84cb more 2.1 2019-07-11 22:36:00 +07:00
hathach
6991b28532 improving midi support, adding midi exmaple
rename TUSB_DESC_CLASS_SPECIFIC to TUSB_DESC_CS_INTERFACE
2019-07-01 22:38:06 +07:00
hathach
1491274cb4 mcb1800 work with makefile, add to travis build 2019-05-15 16:20:43 +07:00
hathach
61ec407752 update license year to 2019 2019-05-14 11:48:05 +07:00
hathach
f3a5ea65a9 add index to tud_descriptor_configuration_cb() 2019-05-12 19:55:15 +07:00
hathach
1174949308 change tud_descriptor_string_cb() to be consistent with other descriptor callback 2019-05-12 15:38:15 +07:00
hathach
ba2136486c add tud_hid_descriptor_report_cb()
- remove tud_desc_set.hid_report
- remove tud_desc_set_t
2019-05-12 14:09:35 +07:00
hathach
de56a0ca89 add tud_descriptor_string_cb() for getting string descriptor from application
- remove tud_desc_set.string_arr/string_count
2019-05-11 16:31:52 +07:00
hathach
f9d9eebfe1 support hid generic inout #58
- add report descriptor template TUD_HID_REPORT_DESC_GENERIC_INOUT
- add TUD_HID_INOUT_DESCRIPTOR & TUD_HID_INOUT_DESC_LEN
- add hid_generic_inout example
2019-05-02 14:30:49 +07:00
hathach
353d415d3f clean up 2019-05-02 13:27:00 +07:00
hathach
99f4c06197 adding msc dual lun example 2019-04-26 15:05:58 +07:00