I recently installed Arduino IDE on my Raspberry Pi 4 and I'm trying to program an Arduino Leonardo through it. I wander if anyone experienced anything like this I'm getting here, as I searched a lot the web and nothing came out after hours.
Arduino IDE is at the latest version, board is correctly set to Arduino Leonardo, and the port too.
I getting error:
avrdude: Expected signature for ATmega32U4 is 1E 95 87
Double check chip, or use -F to override this check.
Wrong microcontroller found. Did you select the right board from the Tools > Board menu?