I am trying to compile my own Arduino Micro bootloader so I can change the bootloader LED pin and the PID/VID values. I have copied the files in Hardware/arduino/avr/bootloaders/caterina and downloaded the LUFA library. I can compile the bootloader from the makefile and flash it to the board. The LED reassignment works but the board shows up as an Arduino Leonardo with corresponding PID/VID values when in bootloader mode. I can't work out where it is getting these PID/VIDs and the name from, any help would be greatly appreciated.
I think it might have something to do with the line in the makefile "BOARD = USER" but I don't know where the board drivers are located that it is using?
I just came back to this problem, all fixed now. I simply hadn't run a make clean before make build, after cleaning and building it compiles as expected. Thanks!