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

teenflon5
Posts: 3
Joined: Sun Apr 24, 2022 7:57 pm

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

Postby teenflon5 » Sun Apr 24, 2022 8:04 pm

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]

rpiloverbd
Posts: 101
Joined: Tue Mar 22, 2022 5:23 am

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

Postby rpiloverbd » Mon Apr 25, 2022 7:53 am

Hi, what is the error message that you're receiving?

teenflon5
Posts: 3
Joined: Sun Apr 24, 2022 7:57 pm

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

Postby teenflon5 » Mon Apr 25, 2022 2:27 pm

The error in the Arduiono IDE is "Error compiling for board DOIT ESP32 DEVKIT V1."

Who is online

Users browsing this forum: Baidu [Spider] and 33 guests