Compiling Digispark ATTINY85 on macOS Monterey 12.2.1

I am running on macOS Monterey 12.2.1 with Apple M1.

Arduino IDE 2.0.3 ARM64 (I also have Rosetta2 Installed).

I am attempting to upload a script onto my Digispark ATTINY85. I have installed all the correct packages on Arduino IDE. However when I try upload the script, I get this error:

Compilation error: fork/exec /Users/me/Library/Arduino15/packages/arduino/tools/avr-gcc/4.8.1-arduino5/bin/avr-g++: bad CPU type in executable

Someone please help figure this out!

It sounds like it doesn't know you are using an attin85, but it mentions the executable...

Since you're using an M1 what is the AMD64 doing..? Does that run on a Mac...

Ensure you've set it to the right micro controller...

:smiley_cat:

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.