todbot / blink1

Official software for blink(1) USB RGB LED by ThingM
https://blink1.thingm.com/
Other
953 stars 237 forks source link

Failed to compile the blink1mk2 firmware #668

Open mhdanwar opened 1 year ago

mhdanwar commented 1 year ago

I tried building the Blink1mk2 firmware by cloning the project. While building on MPLAB X IDE it throws the following error.

ake -f nbproject/Makefile-PIC16F1455.mk SUBPROJECTS= .build-conf make[2]: No rule to make target '../Microchip/USB/HID Device Driver/usb_function_hid.c', needed by 'build/PIC16F1455/production/_ext/1295437596/usb_function_hid.p1'. Stop. make[1]: Entering directory 'C:/Users/anwar.manjanoor/blink1/hardware/firmware_mk2' make[2]: Waiting for unfinished jobs....

Could you please let me know what I am missing? Looks like the USB driver and common files are broken, how do i fix this?

Thank you

todbot commented 1 year ago

You need a separate download from Microchip for the USB library. It's called "Microchip Libraries for Applications" and you need the 2013 version and the PRO version of the XC8 compiler.

mhdanwar commented 1 year ago

Thank you.