platform = espressif32
Espressif Systems is a privately held fabless semiconductor company. They provide wireless communications and Wi-Fi chips which are widely used in mobile devices and the Internet of Things applications.
For more detailed information please visit vendor site.
Name  | 
Description  | 
|---|---|
Arduino Wiring-based Framework (ESP32 Core)  | 
|
Espressif IoT Development Framework  | 
|
Pumbaa Framework  | 
|
Simba Framework  | 
|
ESP8266 OTA utility  | 
|
Espressif ROM Bootloader utility  | 
|
xtensa32-gcc  | 
Warning
Linux Users:
Install “udev” rules file 99-platformio-udev.rules (an instruction is located inside a file).
Raspberry Pi users, please read this article Enable serial port on Raspberry Pi.
Windows Users:
Please check that you have a correctly installed USB driver from board manufacturer
Name  | 
Description  | 
|---|---|
Arduino Wiring-based Framework allows writing cross-platform software to control devices attached to a wide range of Arduino boards to create all kinds of creative coding, interactive objects, spaces or physical experiences.  | 
|
Espressif IoT Development Framework. Official development framework for ESP32.  | 
|
Pumbaa is Python on top of Simba. The implementation is a port of MicroPython, designed for embedded devices with limited amount of RAM and code memory.  | 
|
Simba is an RTOS and build framework. It aims to make embedded programming easy and portable.  | 
Note
You can list pre-configured boards by platformio boards command or PlatformIO Boards Explorer
For more detailed board information please scroll tables below by
horizontal.
ID  | 
Name  | 
Platform  | 
Debug  | 
Microcontroller  | 
Frequency  | 
Flash  | 
RAM  | 
|---|---|---|---|---|---|---|---|
  | 
ESP32  | 
240 MHz  | 
1280 Kb  | 
288 Kb  | 
ID  | 
Name  | 
Platform  | 
Debug  | 
Microcontroller  | 
Frequency  | 
Flash  | 
RAM  | 
|---|---|---|---|---|---|---|---|
  | 
ESP32  | 
240 MHz  | 
1280 Kb  | 
288 Kb  | 
ID  | 
Name  | 
Platform  | 
Debug  | 
Microcontroller  | 
Frequency  | 
Flash  | 
RAM  | 
|---|---|---|---|---|---|---|---|
  | 
ESP32  | 
240 MHz  | 
1280 Kb  | 
288 Kb  | 
ID  | 
Name  | 
Platform  | 
Debug  | 
Microcontroller  | 
Frequency  | 
Flash  | 
RAM  | 
|---|---|---|---|---|---|---|---|
  | 
ESP32  | 
240 MHz  | 
1280 Kb  | 
288 Kb  | 
ID  | 
Name  | 
Platform  | 
Debug  | 
Microcontroller  | 
Frequency  | 
Flash  | 
RAM  | 
|---|---|---|---|---|---|---|---|
  | 
ESP32  | 
240 MHz  | 
1280 Kb  | 
288 Kb  | 
ID  | 
Name  | 
Platform  | 
Debug  | 
Microcontroller  | 
Frequency  | 
Flash  | 
RAM  | 
|---|---|---|---|---|---|---|---|
  | 
ESP32  | 
240 MHz  | 
1024 Kb  | 
288 Kb  | 
ID  | 
Name  | 
Platform  | 
Debug  | 
Microcontroller  | 
Frequency  | 
Flash  | 
RAM  | 
|---|---|---|---|---|---|---|---|
  | 
ESP32  | 
240 MHz  | 
1280 Kb  | 
288 Kb  | 
ID  | 
Name  | 
Platform  | 
Debug  | 
Microcontroller  | 
Frequency  | 
Flash  | 
RAM  | 
|---|---|---|---|---|---|---|---|
  | 
ESP32  | 
240 MHz  | 
1280 Kb  | 
288 Kb  | 
ID  | 
Name  | 
Platform  | 
Debug  | 
Microcontroller  | 
Frequency  | 
Flash  | 
RAM  | 
|---|---|---|---|---|---|---|---|
  | 
ESP32  | 
240 MHz  | 
1280 Kb  | 
288 Kb  | 
|||
  | 
ESP32  | 
240 MHz  | 
1280 Kb  | 
288 Kb  | 
ID  | 
Name  | 
Platform  | 
Debug  | 
Microcontroller  | 
Frequency  | 
Flash  | 
RAM  | 
|---|---|---|---|---|---|---|---|
  | 
ESP32  | 
240 MHz  | 
1280 Kb  | 
288 Kb  | 
ID  | 
Name  | 
Platform  | 
Debug  | 
Microcontroller  | 
Frequency  | 
Flash  | 
RAM  | 
|---|---|---|---|---|---|---|---|
  | 
ESP32  | 
240 MHz  | 
1280 Kb  | 
288 Kb  | 
ID  | 
Name  | 
Platform  | 
Debug  | 
Microcontroller  | 
Frequency  | 
Flash  | 
RAM  | 
|---|---|---|---|---|---|---|---|
  | 
ESP32  | 
240 MHz  | 
1280 Kb  | 
288 Kb  | 
ID  | 
Name  | 
Platform  | 
Debug  | 
Microcontroller  | 
Frequency  | 
Flash  | 
RAM  | 
|---|---|---|---|---|---|---|---|
  | 
ESP32  | 
240 MHz  | 
1280 Kb  | 
288 Kb  | 
ID  | 
Name  | 
Platform  | 
Debug  | 
Microcontroller  | 
Frequency  | 
Flash  | 
RAM  | 
|---|---|---|---|---|---|---|---|
  | 
ESP32  | 
240 MHz  | 
1280 Kb  | 
288 Kb  | 
ID  | 
Name  | 
Platform  | 
Debug  | 
Microcontroller  | 
Frequency  | 
Flash  | 
RAM  | 
|---|---|---|---|---|---|---|---|
  | 
ESP32  | 
240 MHz  | 
1280 Kb  | 
288 Kb  | 
ID  | 
Name  | 
Platform  | 
Debug  | 
Microcontroller  | 
Frequency  | 
Flash  | 
RAM  | 
|---|---|---|---|---|---|---|---|
  | 
ESP32  | 
240 MHz  | 
1280 Kb  | 
288 Kb  | 
ID  | 
Name  | 
Platform  | 
Debug  | 
Microcontroller  | 
Frequency  | 
Flash  | 
RAM  | 
|---|---|---|---|---|---|---|---|
  | 
ESP32  | 
240 MHz  | 
1280 Kb  | 
288 Kb  | 
There are 2 options:
Directly specify platformio run --upload-port in command line
platformio run --target upload --upload-port IP_ADDRESS_HERE or mDNS_NAME.local
Specify upload_port option in Project Configuration File platformio.ini
[env:myenv]
upload_port = IP_ADDRESS_HERE or mDNS_NAME.local
For example,
platformio run -t upload --upload-port 192.168.0.255
platformio run -t upload --upload-port myesp8266.local
You can pass additional options/flags to OTA uploader using
upload_flags option in Project Configuration File platformio.ini
[env:myenv]
upload_flags = --port=8266
Available flags
--port=ESP_PORT ESP8266 OTA Port. Default 8266
--auth=AUTH Set authentication password
--spiffs Use this option to transmit a SPIFFS image and do not flash
the module
For the full list with available options please run
~/.platformio/packages/tool-espotapy/espota.py -h
Usage: espota.py [options]
Transmit image over the air to the esp8266 module with OTA support.
Options:
  -h, --help            show this help message and exit
  Destination:
    -i ESP_IP, --ip=ESP_IP
                        ESP8266 IP Address.
    -p ESP_PORT, --port=ESP_PORT
                        ESP8266 ota Port. Default 8266
  Authentication:
    -a AUTH, --auth=AUTH
                        Set authentication password.
  Image:
    -f FILE, --file=FILE
                        Image file.
    -s, --spiffs        Use this option to transmit a SPIFFS image and do not
                        flash the module.
  Output:
    -d, --debug         Show debug output. And override loglevel with debug.
    -r, --progress      Show progress output. Does not work for ArduinoIDE
PlatformIO will install the latest Arduino Core for ESP32 from https://github.com/espressif/arduino-esp32. The Git should be installed in a system. To update Arduino Core to the latest revision, please use platformio platform update command.
Install Espressif 32 (Stage) development platform
platformio platform install https://github.com/platformio/platform-espressif32.git#feature/stage
Set platform to espressif32_stage in
Project Configuration File platformio.ini. For example,
[env:esp32dev]
platform = espressif32_stage
board = esp32dev
framework = arduino
Try to build project
If you see build errors, then try to build this project using the same
stage with Arduino IDE
If it works with Arduino IDE but doesn’t work with PlatformIO, then please file new issue with attached information:
test project/files
detailed log of build process from Arduino IDE (please copy it from console to http://pastebin.com)
detailed log of build process from PlatformIO Build System ( please copy it from console to http://pastebin.com)
All project examples are located in PlatformIO repository Examples for Espressif 32 platform.