![]() My_g3.build.openocdscript=openocd_scripts/arduino_zero.cfg My_g3.build.ldscript=linker_scripts/gcc/flash_with_bootloader.ld I've also edited boards.txt to add a device based on the Leonardo platform but with my VID and PID as follows: =atmega32u4 ![]() Where MY_VID is replaced with my USB VID, and MFG_NAME is replaced with the company name. ![]() Fall through to unknown if no manufacturer name was provided in a macro I've changed the USBCore.h to include my VID as follows: #if USB_VID = 0x2341 The new pluggable USB stuff is nice, it allows me to use my boards with the standard IDE and core and everything seems to work. I was previously using a hacked core to allow for USB MIDI on the 32U4 / Leonardo platform but I've been experimenting with the ATSAMD21 / Zero boards for a couple of days. I'm developing a product based on Arduino that is designed to work as a USB device. I'm running into a strange issue related to USB VID / PID.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |