-
-
Notifications
You must be signed in to change notification settings - Fork 105
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
digispark/digistump ATTINY85 board keyboard compile errors #113
Comments
changing the file
explicitly casting to |
Many thanks for your tip. I was able to compile and deploy the coded after I modified the code as follows.
|
I have an error : "too many initializers for 'const char [22]'" on the same part of the lib, can you help me ? |
explicitly casting to char source: platformio/platform-atmelavr#113
I have create a pull request: |
I change to // .platformio\packages\framework-arduinoavr\libraries\__cores__\digispark\DigisparkKeyboard\DigiKeyboard.h
const PROGMEM unsigned char usbHidReportDescriptor[USB_CFG_HID_REPORT_DESCRIPTOR_LENGTH] // .platformio\packages\framework-arduinoavr\libraries\__cores__\digispark\DigisparkKeyboard\usbdrv.h
unsigned char usbDescriptorHidReport[]; |
I guess it's NOT a Digistump thing, because that code compiles fine on Arduino IDE. Specifically, CXXFLAGS=[
"-Wno-error=narrowing", |
just fyi, as of 2020-01-06, still had to apply the proposed fix by @bryanjhv manually to work with DigiSpark USB. |
As of 2020-08-14, having the same issue 😂
|
Thnx @zaypen that did the trick for me! |
src/keyboard.cpp:
Which looks like 3 issues:
BIN
with different valuesdelay.h
which should beutil/delay.h
The text was updated successfully, but these errors were encountered: