Hello,
I wanted to know if there is a reason for that we cannot change the whole USB_DEVICE_DESCRIPTOR structure with:
- Arduino\hardware\arduino\avr\bootloaders\caterina\Descriptors.c
- Arduino\hardware\arduino\avr\bootloaders\caterina\makefile
For example if I want to change VID/PID and product name, I need to modify those values into:
- Arduino\hardware\arduino\avr\boards.txt
leonardo.build.vid=0x
leonardo.build.pid=0x
leonardo.build.usb_product=""
Then if I want to change the other members of this structure, I need to change directly the bootloader file located at:
- Arduino\hardware\arduino\avr\bootloaders\caterina\Caterina-Leonardo.hex
at line 29, because this line contain the structure of USB device descriptors, but I only success to changed SerialNumStrIndex (and by changing matched checksum ofc), I failed with others.