summaryrefslogtreecommitdiff
path: root/openpicc/dfu/usb_strings_dfu.h
diff options
context:
space:
mode:
authorhenryk <henryk@6dc7ffe9-61d6-0310-9af1-9938baff3ed1>2007-11-11 02:08:38 +0000
committerhenryk <henryk@6dc7ffe9-61d6-0310-9af1-9938baff3ed1>2007-11-11 02:08:38 +0000
commit13be0cd28e3e41a2415cd0d01bad8ecb0909e637 (patch)
tree3379ae180c0ab7d44c0cea2c4ab5c68b4e9217eb /openpicc/dfu/usb_strings_dfu.h
parent39cb47ed0951074afb24687fcb6e66947b4f8ef8 (diff)
Revert 313 and 315 again, I'm too stupid to get DFU working, focus on the application code first
git-svn-id: https://svn.openpcd.org:2342/trunk@316 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
Diffstat (limited to 'openpicc/dfu/usb_strings_dfu.h')
-rw-r--r--openpicc/dfu/usb_strings_dfu.h120
1 files changed, 0 insertions, 120 deletions
diff --git a/openpicc/dfu/usb_strings_dfu.h b/openpicc/dfu/usb_strings_dfu.h
deleted file mode 100644
index 24fde2f..0000000
--- a/openpicc/dfu/usb_strings_dfu.h
+++ /dev/null
@@ -1,120 +0,0 @@
-#ifndef _USB_STRINGS_H
-#define _USB_STRINGS_H
-
-/* THIS FILE IS AUTOGENERATED, DO NOT MODIFY MANUALLY */
-
-#include <usb_ch9.h>
-#define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0]))
-
-static const struct {
- struct usb_descriptor_header hdr;
- u_int16_t wData[];
-} __attribute__((packed)) string0 = {
- .hdr = {
- .bLength = sizeof(struct usb_descriptor_header) + 1 * sizeof(u_int16_t),
- .bDescriptorType = USB_DT_STRING,
- },
- .wData = {0x0409 /* English */ },
-};
-
-/* String 1 "bitmanufaktur.de IT Solutions and hmw-consulting.de" */
-static const struct {
- struct usb_descriptor_header hdr;
- u_int16_t wData[];
-} __attribute__((packed)) string1 = {
- .hdr = {
- .bLength = sizeof(struct usb_descriptor_header) + 51 * sizeof(u_int16_t),
- .bDescriptorType = USB_DT_STRING,
- },
- .wData = { 0x0062, 0x0069, 0x0074, 0x006d, 0x0061, 0x006e,
- 0x0075, 0x0066, 0x0061, 0x006b, 0x0074, 0x0075,
- 0x0072, 0x002e, 0x0064, 0x0065, 0x0020, 0x0049,
- 0x0054, 0x0020, 0x0053, 0x006f, 0x006c, 0x0075,
- 0x0074, 0x0069, 0x006f, 0x006e, 0x0073, 0x0020,
- 0x0061, 0x006e, 0x0064, 0x0020, 0x0068, 0x006d,
- 0x0077, 0x002d, 0x0063, 0x006f, 0x006e, 0x0073,
- 0x0075, 0x006c, 0x0074, 0x0069, 0x006e, 0x0067,
- 0x002e, 0x0064, 0x0065, },
-};
-
-/* String 2 "OpenPICC RFID Simulator - DFU Mode" */
-static const struct {
- struct usb_descriptor_header hdr;
- u_int16_t wData[];
-} __attribute__((packed)) string2 = {
- .hdr = {
- .bLength = sizeof(struct usb_descriptor_header) + 34 * sizeof(u_int16_t),
- .bDescriptorType = USB_DT_STRING,
- },
- .wData = { 0x004f, 0x0070, 0x0065, 0x006e, 0x0050, 0x0049,
- 0x0043, 0x0043, 0x0020, 0x0052, 0x0046, 0x0049,
- 0x0044, 0x0020, 0x0053, 0x0069, 0x006d, 0x0075,
- 0x006c, 0x0061, 0x0074, 0x006f, 0x0072, 0x0020,
- 0x002d, 0x0020, 0x0044, 0x0046, 0x0055, 0x0020,
- 0x004d, 0x006f, 0x0064, 0x0065, },
-};
-
-/* String 3 "OpenPIIC DFU Configuration" */
-static const struct {
- struct usb_descriptor_header hdr;
- u_int16_t wData[];
-} __attribute__((packed)) string3 = {
- .hdr = {
- .bLength = sizeof(struct usb_descriptor_header) + 26 * sizeof(u_int16_t),
- .bDescriptorType = USB_DT_STRING,
- },
- .wData = { 0x004f, 0x0070, 0x0065, 0x006e, 0x0050, 0x0049,
- 0x0049, 0x0043, 0x0020, 0x0044, 0x0046, 0x0055,
- 0x0020, 0x0043, 0x006f, 0x006e, 0x0066, 0x0069,
- 0x0067, 0x0075, 0x0072, 0x0061, 0x0074, 0x0069,
- 0x006f, 0x006e, },
-};
-
-/* String 4 "OpenPICC DFU Interface - Application Partition" */
-static const struct {
- struct usb_descriptor_header hdr;
- u_int16_t wData[];
-} __attribute__((packed)) string4 = {
- .hdr = {
- .bLength = sizeof(struct usb_descriptor_header) + 46 * sizeof(u_int16_t),
- .bDescriptorType = USB_DT_STRING,
- },
- .wData = { 0x004f, 0x0070, 0x0065, 0x006e, 0x0050, 0x0049,
- 0x0043, 0x0043, 0x0020, 0x0044, 0x0046, 0x0055,
- 0x0020, 0x0049, 0x006e, 0x0074, 0x0065, 0x0072,
- 0x0066, 0x0061, 0x0063, 0x0065, 0x0020, 0x002d,
- 0x0020, 0x0041, 0x0070, 0x0070, 0x006c, 0x0069,
- 0x0063, 0x0061, 0x0074, 0x0069, 0x006f, 0x006e,
- 0x0020, 0x0050, 0x0061, 0x0072, 0x0074, 0x0069,
- 0x0074, 0x0069, 0x006f, 0x006e, },
-};
-
-/* String 5 "OpenPICC DFU Interface - Bootloader Partition" */
-static const struct {
- struct usb_descriptor_header hdr;
- u_int16_t wData[];
-} __attribute__((packed)) string5 = {
- .hdr = {
- .bLength = sizeof(struct usb_descriptor_header) + 45 * sizeof(u_int16_t),
- .bDescriptorType = USB_DT_STRING,
- },
- .wData = { 0x004f, 0x0070, 0x0065, 0x006e, 0x0050, 0x0049,
- 0x0043, 0x0043, 0x0020, 0x0044, 0x0046, 0x0055,
- 0x0020, 0x0049, 0x006e, 0x0074, 0x0065, 0x0072,
- 0x0066, 0x0061, 0x0063, 0x0065, 0x0020, 0x002d,
- 0x0020, 0x0042, 0x006f, 0x006f, 0x0074, 0x006c,
- 0x006f, 0x0061, 0x0064, 0x0065, 0x0072, 0x0020,
- 0x0050, 0x0061, 0x0072, 0x0074, 0x0069, 0x0074,
- 0x0069, 0x006f, 0x006e, },
-};
-
-static const struct usb_descriptor_header *usb_strings[] = {
- (struct usb_descriptor_header *) &string0,
- (struct usb_descriptor_header *) &string1,
- (struct usb_descriptor_header *) &string2,
- (struct usb_descriptor_header *) &string3,
- (struct usb_descriptor_header *) &string4,
- (struct usb_descriptor_header *) &string5,
-};
-
-#endif /* _USB_STRINGS_H */
personal git repositories of Harald Welte. Your mileage may vary