[ArduinoDroid] Failing to compile sketchbook with the DigisparkKeyboard library


I'm new here and don't know if this is the right place for a problem with ArduinoDroid.
Compiling works fine on Windows and Ubuntu, but since adding libaries is a bit different on Android, I had to add the DigisparkKeyboard library ([u]https://github.com/digistump/DigisparkArduinoIntegration/tree/master/libraries/DigisparkKeyboard[/u]) manually to the Arduino folder, which worked fine, since most things are read properly. But when trying to compile, I get the following error in the file [u]https://github.com/digistump/DigisparkArduinoIntegration/blob/master/libraries/DigisparkKeyboard/usbdrv.c[/u] :

usbdrv.c:618: In function 'usbInit': undefined reference to 'usbCrc16Append'
collect2: error: Id returned 1 exit status
Return code is not 0

I have trouble finding anything useful on the internet, help is appreciated.

1 Like

To date there is not an official android app from Arduino so those aspects may be better dealt with on the forum from the app developer.

That it works with the official Arduino IDE speaks volumes to the work put in to keep it up to date.

You may find somebody here who can help but chances for are better elsewhere.

Please READ THIS POST to help you get the best out of the forum.


These steps may also save you some unnecessary time and effort in the forum.

  • Always provide as much detail as possible to your issue it may be important.
  • If applicable provide your SKETCH inside CODE TAGS ( </> ) or a CREATE share link.
  • If applicable provide a schematic even if hand drawn.


Looks to me like the issue is with that DigisparkKeybord library - is there a newer version available? Maybe it is compatible only with certain version of Digispark core? Might be better question for a digispark focused forum. We have digispark users here, but they mostly seem inexperienced and askers of questions, rather than answerers, and the digispark boards are popular enough that there's gotta be somewhere on the internet that the experts hang out.

Thanks for your help! Unfortunately, I wasn't able to respond to you yesterday.
I couldn't find a forum for the app, which is why I headed here next. I'll definetly check out the digispark forum and try out different versions or apps next, if I have any luck I'll update the post here in case other people run into the same problem.

1 Like

Yes please update as that information may be useful to others and good luck in getting it fixed.


Dealing with exact same problem here.. Have you found any solutions??

for future visitors see this thread undefined reference to usbCrc16Append · Issue #2 · Robotechnic/DigiKeyboardFr · GitHub