- Ensure the target platform via platform icon > corner area >
esp32doit-devkit-v1
(for esp32) ornodemcuv2
for ESP8266. - Upload flash file system (once).
This can be achieved by the command
pio run -t uploafs
. - Upload the sketch.
This can be achieved by the command
pio run -t upload
.
Make sure Git is installed.
This is important to clone the libraries with specific version from GitHub.