Initial commit
[kk_librfid.git] / firmware / src / pcd / usb_strings_app.h
blob4d43db957848d1e25fe3cc5591a03a38c3f00ad4
1 #ifndef _USB_STRINGS_H
2 #define _USB_STRINGS_H
4 /* THIS FILE IS AUTOGENERATED, DO NOT MODIFY MANUALLY */
6 #include <usb_ch9.h>
7 #define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0]))
9 static const struct {
10 struct usb_descriptor_header hdr;
11 u_int16_t wData[];
12 } __attribute__((packed)) string0 = {
13 .hdr = {
14 .bLength = sizeof(struct usb_descriptor_header) + 1 * sizeof(u_int16_t),
15 .bDescriptorType = USB_DT_STRING,
17 .wData = {0x0409 /* English */ },
20 /* String 1 "OpenPCD DFU Interface - Application Partition" */
21 static const struct {
22 struct usb_descriptor_header hdr;
23 u_int16_t wData[];
24 } __attribute__((packed)) string1 = {
25 .hdr = {
26 .bLength = sizeof(struct usb_descriptor_header) + 45 * sizeof(u_int16_t),
27 .bDescriptorType = USB_DT_STRING,
29 .wData = { 0x004f, 0x0070, 0x0065, 0x006e, 0x0050, 0x0043,
30 0x0044, 0x0020, 0x0044, 0x0046, 0x0055, 0x0020,
31 0x0049, 0x006e, 0x0074, 0x0065, 0x0072, 0x0066,
32 0x0061, 0x0063, 0x0065, 0x0020, 0x002d, 0x0020,
33 0x0041, 0x0070, 0x0070, 0x006c, 0x0069, 0x0063,
34 0x0061, 0x0074, 0x0069, 0x006f, 0x006e, 0x0020,
35 0x0050, 0x0061, 0x0072, 0x0074, 0x0069, 0x0074,
36 0x0069, 0x006f, 0x006e, },
39 /* String 2 "OpenPCD DFU Interface - Bootloader Partition" */
40 static const struct {
41 struct usb_descriptor_header hdr;
42 u_int16_t wData[];
43 } __attribute__((packed)) string2 = {
44 .hdr = {
45 .bLength = sizeof(struct usb_descriptor_header) + 44 * sizeof(u_int16_t),
46 .bDescriptorType = USB_DT_STRING,
48 .wData = { 0x004f, 0x0070, 0x0065, 0x006e, 0x0050, 0x0043,
49 0x0044, 0x0020, 0x0044, 0x0046, 0x0055, 0x0020,
50 0x0049, 0x006e, 0x0074, 0x0065, 0x0072, 0x0066,
51 0x0061, 0x0063, 0x0065, 0x0020, 0x002d, 0x0020,
52 0x0042, 0x006f, 0x006f, 0x0074, 0x006c, 0x006f,
53 0x0061, 0x0064, 0x0065, 0x0072, 0x0020, 0x0050,
54 0x0061, 0x0072, 0x0074, 0x0069, 0x0074, 0x0069,
55 0x006f, 0x006e, },
58 /* String 3 "bitmanufaktur.de IT Solutions and hmw-consulting.de" */
59 static const struct {
60 struct usb_descriptor_header hdr;
61 u_int16_t wData[];
62 } __attribute__((packed)) string3 = {
63 .hdr = {
64 .bLength = sizeof(struct usb_descriptor_header) + 51 * sizeof(u_int16_t),
65 .bDescriptorType = USB_DT_STRING,
67 .wData = { 0x0062, 0x0069, 0x0074, 0x006d, 0x0061, 0x006e,
68 0x0075, 0x0066, 0x0061, 0x006b, 0x0074, 0x0075,
69 0x0072, 0x002e, 0x0064, 0x0065, 0x0020, 0x0049,
70 0x0054, 0x0020, 0x0053, 0x006f, 0x006c, 0x0075,
71 0x0074, 0x0069, 0x006f, 0x006e, 0x0073, 0x0020,
72 0x0061, 0x006e, 0x0064, 0x0020, 0x0068, 0x006d,
73 0x0077, 0x002d, 0x0063, 0x006f, 0x006e, 0x0073,
74 0x0075, 0x006c, 0x0074, 0x0069, 0x006e, 0x0067,
75 0x002e, 0x0064, 0x0065, },
78 /* String 4 "OpenPCD RFID Reader - Runtime Mode" */
79 static const struct {
80 struct usb_descriptor_header hdr;
81 u_int16_t wData[];
82 } __attribute__((packed)) string4 = {
83 .hdr = {
84 .bLength = sizeof(struct usb_descriptor_header) + 34 * sizeof(u_int16_t),
85 .bDescriptorType = USB_DT_STRING,
87 .wData = { 0x004f, 0x0070, 0x0065, 0x006e, 0x0050, 0x0043,
88 0x0044, 0x0020, 0x0052, 0x0046, 0x0049, 0x0044,
89 0x0020, 0x0052, 0x0065, 0x0061, 0x0064, 0x0065,
90 0x0072, 0x0020, 0x002d, 0x0020, 0x0052, 0x0075,
91 0x006e, 0x0074, 0x0069, 0x006d, 0x0065, 0x0020,
92 0x004d, 0x006f, 0x0064, 0x0065, },
95 /* String 5 "OpenPCD Runtime Configuration" */
96 static const struct {
97 struct usb_descriptor_header hdr;
98 u_int16_t wData[];
99 } __attribute__((packed)) string5 = {
100 .hdr = {
101 .bLength = sizeof(struct usb_descriptor_header) + 29 * sizeof(u_int16_t),
102 .bDescriptorType = USB_DT_STRING,
104 .wData = { 0x004f, 0x0070, 0x0065, 0x006e, 0x0050, 0x0043,
105 0x0044, 0x0020, 0x0052, 0x0075, 0x006e, 0x0074,
106 0x0069, 0x006d, 0x0065, 0x0020, 0x0043, 0x006f,
107 0x006e, 0x0066, 0x0069, 0x0067, 0x0075, 0x0072,
108 0x0061, 0x0074, 0x0069, 0x006f, 0x006e, },
111 /* String 6 "OpenPCD Runtime Interface" */
112 static const struct {
113 struct usb_descriptor_header hdr;
114 u_int16_t wData[];
115 } __attribute__((packed)) string6 = {
116 .hdr = {
117 .bLength = sizeof(struct usb_descriptor_header) + 25 * sizeof(u_int16_t),
118 .bDescriptorType = USB_DT_STRING,
120 .wData = { 0x004f, 0x0070, 0x0065, 0x006e, 0x0050, 0x0043,
121 0x0044, 0x0020, 0x0052, 0x0075, 0x006e, 0x0074,
122 0x0069, 0x006d, 0x0065, 0x0020, 0x0049, 0x006e,
123 0x0074, 0x0065, 0x0072, 0x0066, 0x0061, 0x0063,
124 0x0065, },
127 static const struct usb_descriptor_header *usb_strings[] = {
128 (struct usb_descriptor_header *) &string0,
129 (struct usb_descriptor_header *) &string1,
130 (struct usb_descriptor_header *) &string2,
131 (struct usb_descriptor_header *) &string3,
132 (struct usb_descriptor_header *) &string4,
133 (struct usb_descriptor_header *) &string5,
134 (struct usb_descriptor_header *) &string6,
137 #endif /* _USB_STRINGS_H */