I am trying to compile and upload ESP32_Audio_Dev_blink.ino sketch from step 4 of this month's Hackerbox Instructables. I am using the ESP32 Dev Module board and I have confirmed I am using the correct port.
I am getting the following error:
c:/users/xxxxxx/appdata/local/arduino15/packages/esp32/tools/xtensa-esp32-elf-gcc/1.22.0-97-gc752ad5-5.2.0/bin/../lib/gcc/xtensa-esp32-elf/5.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: cannot find crt1-sim.o: No such file or directory
c:/users/xxxxxx/appdata/local/arduino15/packages/esp32/tools/xtensa-esp32-elf-gcc/1.22.0-97-gc752ad5-5.2.0/bin/../lib/gcc/xtensa-esp32-elf/5.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: cannot find _vectors.o: No such file or directory
collect2.exe: error: ld returned 1 exit status
exit status 1
Error compiling for board ESP32 Dev Module.
I have made sure the boards and libraries are up to date in the Arduino IDE, and even removed them, along with the Boards Manager URL in Preferences, and added them back in with no luck. I also restarted the computer after doing so just for good measure. I have not modified the blink sketch in any way - here is the code I am trying to upload:
// Blink two red LEDs for ESP32 Audio Development Platform
// (alternates between each LED on and off every second)
void setup() {
pinMode(19, OUTPUT);
pinMode(22, OUTPUT);
}
void loop() {
digitalWrite(19, HIGH);
digitalWrite(22, LOW);
delay(1000);
digitalWrite(19, LOW);
digitalWrite(22, HIGH);
delay(1000);
}