This project is inspirated by Lastminuteengineers.com
- Create new PlatformIO project - Eespressif ESP32 Dev Module
- Copy example code into
main.cpp
- Change WiFi SSID and PASSWORD to suit your credentials
- Open
platformio.ini
and afterframework = arduino
insert to new lineupload_flags = -p 3232
. It will fix upload issue. - Connect ESP32 to the PC and flash software. For the first time ESP must be connected by cable!
- If you see in your terminal IP adress of your ESP proceed to the next point. If not, try the First run again.
- Open
platformio.ini
and addupload_port = YOUR ESP32 IP
(IP adress is displayed in the terminal) afterupload_flags = -p 3232
Example:upload_port = 192.168.0.166
- That`s all 😃. From now on your software will be uploaded via the WiFI.
Succes upload message - Upload status
Succes upload message - Terminal