This project is inspirated by Lastminuteengineers.com
- Create new PlatformIO projest - Eespressif ESP32 Dev Module
- Copy example code into
main.cpp
- Change WiFi SSID and PASSWORD
- Open
platformio.ini
and afterframework = arduino
put this lineupload_flags = -p 3232
. It fix upload issue. - Connect ESP32 to the PC and flash software. For the first time ESP must be connected by cable!
- If you se in your terminal IP adress of your ESP follow to the next point. If not, try the First start 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 😃. Now will be your programe uploaded trought the WiFI
Succes upload message - Upload status
Succes upload message - Terminal