Arduino-Makefile
Arduino-Makefile copied to clipboard
Fix renaming PRODUCT and MANUFACTURER for Caterina devices like leonardo
It works with that in the Makefile
(all without quotes) :
USB_MANUFACTURER = MANUFACTURER_NAME
USB_PRODUCT = PRODUCT_NAME
this seems to break cores that actually use these settings e.g. the adafruit ones, where they use quotes:
feather32u4.build.usb_product="Feather 32u4"
feather32u4.build.usb_manufacturer="Adafruit"
the makefile without your patch works fine if you also use quotes, which you should do anyway as the strings may have spaces:
USB_PRODUCT = "product with spaces"
Ok, will check you that tomorrow with electronics near.
@G33kLabs
Did you get a chance to check it with the real hardware?