Configuring Arduino core for the ESP32
Configuration method for ESP32 toolchain
This guide outlines the Arduino core for the ESP32 configuration required for TWELITE SPOT firmware development.
This section contains TWELITE SPOT-specific content.
Board Selection
Select Tools -> Board -> ESP32 Arduino -> ESP32 Dev Module from the toolbar.

ESP32 Dev Module location
Board Configuration
Configure the settings as shown in the image below:

Configuration settings
By default, Flash Size
is set to 4MB (32Mb)
.
Change this to 16MB (128Mb)
.
If programming fails, try changing
Flash Mode: QIO
to Flash Mode: DIO
.