Could you share the code you’re trying to compile, and let us know which board you have selected from Tools > Board: in the Arduino IDE?
Could you share the code you’re trying to compile, and let us know which board you have selected from Tools > Board: in the Arduino IDE?