-
Notifications
You must be signed in to change notification settings - Fork 75
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
errors in files #27
Comments
I'm having the exact same error. I'm using Win10 and I did unzipped all the libraries files. I just tried to verify the example given and I received this error. |
@sege5641 @sangar-happy - Did either of you figure this out? |
I did. Download from mine https://github.com/sege5641/Adafruit-Trinket-USB |
@sege5641 - Thank you. I did pretty much the same things. For anyone else: Add this before the
Line 73 - change it to this:
|
Thanks tjcim, that helped !! |
In file included from c:\program files (x86)\arduino\hardware\tools\avr\avr\include\avr\io.h:99:0,
d:\users\user\Documents\Arduino\libraries\TrinketKeyboard\usbconfig.h:392:33: error: operator '*' has no left operand
#define USB_INTR_PENDING GIFR
d:\users\user\Documents\Arduino\libraries\TrinketKeyboard\usbdrv/usbdrvasm.S:73:5: note: in expansion of macro 'USB_INTR_PENDING'
#if USB_INTR_PENDING < 0x40 /* This is an I/O address, use in and out */
exit status 1
Error compiling for board Adafruit Trinket (ATtiny85 @ 8MHz).
The text was updated successfully, but these errors were encountered: