Install ESP32 in ArduinoIDE

Install ESP32 in ArduinoIDE

Open Preferences and add

https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json

to additional boards manager URLs:

Tools -> Board Manager and install esp32

Sometimes your computer needs a restart! Now select FireBeetle as Board and the port it is available to.

Hello World

void setup() {
 
  delay(1000);
  Serial.begin(115200);
 
}
 
void loop() {
 
  Serial.println("Hello from FireBeetle ESP32 board");
  delay(2000);
 
}

Sometimes you run into an error

A fatal error occurred: Invalid head of packet (0xE0)

so it’s good to reduce the upload speed to 115200

When the program is flashed you can connect via Tools -> Serial Monitor