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;
- Added board manager URL https://dl.espressif.com/dl/package_esp ... index.json
- Installed board manager v1.0.3-rc3
- Selected the board type for my board (DOIT ESP32 DEVKIT V1) AFAIK is right
- Selected the port
- Added in an example code below
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;
/*
* [https://circuits4you.com](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);
}