mirror of
https://github.com/brmlab/edubrm.git
synced 2025-06-09 05:14:01 +02:00
change descriptors :)
This commit is contained in:
parent
4468f27594
commit
c43e3a3bda
2 changed files with 30 additions and 30 deletions
|
@ -24,7 +24,7 @@ clean:
|
||||||
rm -f test
|
rm -f test
|
||||||
|
|
||||||
deploy:
|
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
|
sleep 1
|
||||||
crt_emu_lpc11_13_nxp -g -2 -pLPC1343 -wire=winusb -info-target
|
crt_emu_lpc11_13_nxp -g -2 -pLPC1343 -wire=winusb -info-target
|
||||||
crt_emu_lpc11_13_nxp -g -2 -pLPC1343 -wire=winusb -flash-erase
|
crt_emu_lpc11_13_nxp -g -2 -pLPC1343 -wire=winusb -flash-erase
|
||||||
|
|
|
@ -30,37 +30,37 @@ const uint8_t USB_StringDescriptor[] = {
|
||||||
/* Index 0x04: Manufacturer */
|
/* Index 0x04: Manufacturer */
|
||||||
0x1C, /* bLength */
|
0x1C, /* bLength */
|
||||||
USB_STRING_DESCRIPTOR_TYPE, /* bDescriptorType */
|
USB_STRING_DESCRIPTOR_TYPE, /* bDescriptorType */
|
||||||
'N',0,
|
'b',0,
|
||||||
'X',0,
|
'r',0,
|
||||||
|
'm',0,
|
||||||
|
'l',0,
|
||||||
|
'a',0,
|
||||||
|
'b',0,
|
||||||
|
' ',0,
|
||||||
'P',0,
|
'P',0,
|
||||||
' ',0,
|
'r',0,
|
||||||
'S',0,
|
'a',0,
|
||||||
'E',0,
|
'g',0,
|
||||||
'M',0,
|
'u',0,
|
||||||
'I',0,
|
'e',0,
|
||||||
'C',0,
|
|
||||||
'O',0,
|
|
||||||
'N',0,
|
|
||||||
'D',0,
|
|
||||||
' ',0,
|
|
||||||
/* Index 0x20: Product */
|
/* Index 0x20: Product */
|
||||||
0x28, /* bLength */
|
0x28, /* bLength */
|
||||||
USB_STRING_DESCRIPTOR_TYPE, /* bDescriptorType */
|
USB_STRING_DESCRIPTOR_TYPE, /* bDescriptorType */
|
||||||
'N',0,
|
'E',0,
|
||||||
'X',0,
|
'd',0,
|
||||||
'P',0,
|
'u',0,
|
||||||
|
'B',0,
|
||||||
|
'R',0,
|
||||||
|
'M',0,
|
||||||
|
' ',0,
|
||||||
|
' ',0,
|
||||||
|
' ',0,
|
||||||
|
' ',0,
|
||||||
|
' ',0,
|
||||||
|
' ',0,
|
||||||
|
' ',0,
|
||||||
' ',0,
|
' ',0,
|
||||||
'L',0,
|
|
||||||
'P',0,
|
|
||||||
'C',0,
|
|
||||||
'1',0,
|
|
||||||
'3',0,
|
|
||||||
'X',0,
|
|
||||||
'X',0,
|
|
||||||
' ',0,
|
' ',0,
|
||||||
'H',0,
|
|
||||||
'I',0,
|
|
||||||
'D',0,
|
|
||||||
' ',0,
|
' ',0,
|
||||||
' ',0,
|
' ',0,
|
||||||
' ',0,
|
' ',0,
|
||||||
|
@ -68,10 +68,10 @@ const uint8_t USB_StringDescriptor[] = {
|
||||||
/* Index 0x48: Serial Number */
|
/* Index 0x48: Serial Number */
|
||||||
0x1A, /* bLength */
|
0x1A, /* bLength */
|
||||||
USB_STRING_DESCRIPTOR_TYPE, /* bDescriptorType */
|
USB_STRING_DESCRIPTOR_TYPE, /* bDescriptorType */
|
||||||
'D',0,
|
'0',0,
|
||||||
'E',0,
|
'0',0,
|
||||||
'M',0,
|
'0',0,
|
||||||
'O',0,
|
'0',0,
|
||||||
'0',0,
|
'0',0,
|
||||||
'0',0,
|
'0',0,
|
||||||
'0',0,
|
'0',0,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue