-
Notifications
You must be signed in to change notification settings - Fork 90
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
Building fail for Arduino Leonardo/ProMicro (Atmega32u4) #72
Comments
I had this same error and was able to get around it by editing the sys.h file to reflect the expected values from iom32u4.h. I think the problem is related to the board not being recognized correctly, so "AVR_ATmega32" is not defined and then "AVR_ATmega_Mighty" is not defined, which leads to many other things not being defined properly... Many definitions simply needed a "1" added to the name. Ex:
However, I am still having communication issues with my board so I can't confirm whether this actually worked beyond stopping the error from appearing. I suspect the port/pin definitions aren't right either, but I haven't figured it out what they should be yet:
Hopefully this helps the author create a fix. |
@nhansendev Have you had any success in getting it to work? I'm attempting the same (on a DFR0282 Beetle) without much luck. |
Unfortunately, no. I decided it wasn't worth the hassle and switched to the typical Arduino Nano as my programmer instead. |
Thanks. Same here; it's not worth the time, and the ATmega328 variants are still well available (and supported) anyway. |
I knew I'd have issues while trying to upload my code using Pro Mico as UPDI programmer, but I didn't think I'd have issues programming the programmer itself!
While compiling in Arduino IDE 1.8 for any of the boards (Leonardo, Pro Micro, Fio v3, ...) all having Atmega32U4 chip, returns this ERROR:
The text was updated successfully, but these errors were encountered: