I notice this comment:
Seems like arm64 support was originally added by #4117, but broke due to the introduction of the riscv32 core support.
So it seems that there was support, but then that support was lost in the latest release. If so, you should be able to fix the problem by rolling back to the version from before the support was lost.
I'll provide instructions for doing that:
- Select Tools > Board > Boards Manager from the Arduino IDE's menus.
- Wait for the updates to finish.
- Scroll down through the list of boards platforms until you see "esp32 by Espressif Systems". Click on it.
- From the "Select Version" menu, select "1.0.6".
- Click the Install button.
- Wait for the installation to finish.
- Click the Close button.
Now you can try compiling again to see if that was an effective workaround.