Page 1 of 1

Cant get the board to work - Error compiling for board DOIT ESP32 DEVKIT V1.

Posted: Sun Apr 24, 2022 8:04 pm
by teenflon5
Hello,

This is my first time using an ESP32 with Arduino IDE, and I keep getting the following error; Error compiling for board DOIT ESP32 DEVKIT V1.

Steps I've done so far;
The first time I tried it, it compiled correctly, started uploading until it said connecting, I pressed EN, but it timed out. Since then it just gives this error when I try to compile or upload. Tried disconnecting and reconnecting the board, and restarting the IDE.

When I restart the IDDE I can compile correctly, but when I then click upload I get Error compiling for board DOIT ESP32 DEVKIT V1.

What am I doing wrong?

Thanks
Chris

Example code used;
[Codebox]
/*
* https://circuits4you.com
* ESP32 LED Blink Example
* Board ESP23 DEVKIT V1
*
* ON Board LED GPIO 2
*/

#define LED 2

void setup() {
// Set pin mode
pinMode(LED,OUTPUT);
}

void loop() {
delay(500);
digitalWrite(LED,HIGH);
delay(500);
digitalWrite(LED,LOW);
}
[/Codebox]

Re: Cant get the board to work - Error compiling for board DOIT ESP32 DEVKIT V1.

Posted: Mon Apr 25, 2022 7:53 am
by rpiloverbd
Hi, what is the error message that you're receiving?

Re: Cant get the board to work - Error compiling for board DOIT ESP32 DEVKIT V1.

Posted: Mon Apr 25, 2022 2:27 pm
by teenflon5
The error in the Arduiono IDE is "Error compiling for board DOIT ESP32 DEVKIT V1."