From c43e3a3bda9099752d07033aa9e338c318173ca2 Mon Sep 17 00:00:00 2001 From: Pavol Rusnak Date: Tue, 5 Apr 2011 01:39:07 +0200 Subject: [PATCH] change descriptors :) --- firmware/Makefile | 2 +- firmware/src/usbdesc.c | 58 +++++++++++++++++++++--------------------- 2 files changed, 30 insertions(+), 30 deletions(-) diff --git a/firmware/Makefile b/firmware/Makefile index 660cad2..6023b7f 100644 --- a/firmware/Makefile +++ b/firmware/Makefile @@ -24,7 +24,7 @@ clean: rm -f test deploy: - dfu-util -d 0471:df55 -c 0 -t 2048 -R -D /usr/local/LPCXpresso/bin/LPCXpressoWIN.enc || : + dfu-util -d 0471:df55 -c 0 -t 2048 -R -D /usr/local/LPCXpresso/bin/LPCXpressoWIN.enc sleep 1 crt_emu_lpc11_13_nxp -g -2 -pLPC1343 -wire=winusb -info-target crt_emu_lpc11_13_nxp -g -2 -pLPC1343 -wire=winusb -flash-erase diff --git a/firmware/src/usbdesc.c b/firmware/src/usbdesc.c index 8089500..65402d7 100644 --- a/firmware/src/usbdesc.c +++ b/firmware/src/usbdesc.c @@ -30,37 +30,37 @@ const uint8_t USB_StringDescriptor[] = { /* Index 0x04: Manufacturer */ 0x1C, /* bLength */ USB_STRING_DESCRIPTOR_TYPE, /* bDescriptorType */ - 'N',0, - 'X',0, + 'b',0, + 'r',0, + 'm',0, + 'l',0, + 'a',0, + 'b',0, + ' ',0, 'P',0, - ' ',0, - 'S',0, - 'E',0, - 'M',0, - 'I',0, - 'C',0, - 'O',0, - 'N',0, - 'D',0, - ' ',0, + 'r',0, + 'a',0, + 'g',0, + 'u',0, + 'e',0, /* Index 0x20: Product */ 0x28, /* bLength */ USB_STRING_DESCRIPTOR_TYPE, /* bDescriptorType */ - 'N',0, - 'X',0, - 'P',0, + 'E',0, + 'd',0, + 'u',0, + 'B',0, + 'R',0, + 'M',0, + ' ',0, + ' ',0, + ' ',0, + ' ',0, + ' ',0, + ' ',0, + ' ',0, ' ',0, - 'L',0, - 'P',0, - 'C',0, - '1',0, - '3',0, - 'X',0, - 'X',0, ' ',0, - 'H',0, - 'I',0, - 'D',0, ' ',0, ' ',0, ' ',0, @@ -68,10 +68,10 @@ const uint8_t USB_StringDescriptor[] = { /* Index 0x48: Serial Number */ 0x1A, /* bLength */ USB_STRING_DESCRIPTOR_TYPE, /* bDescriptorType */ - 'D',0, - 'E',0, - 'M',0, - 'O',0, + '0',0, + '0',0, + '0',0, + '0',0, '0',0, '0',0, '0',0,