Skip to content

JakubAndrysek/BasicOTA-ESP32-library

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Basic OTA library for ESP32 and VSCode - PlatformIO

This project is inspirated by Lastminuteengineers.com

Integration takes only 2 minutes and it's very easy to use

Usage

First run

  1. Create new PlatformIO project - Eespressif ESP32 Dev Module
  2. Copy example code into main.cpp
  3. Change WiFi SSID and PASSWORD to suit your credentials
  4. Open platformio.ini and after framework = arduino insert to new line upload_flags = -p 3232. It will fix upload issue.
  5. Connect ESP32 to the PC and flash software. For the first time ESP must be connected by cable!

Further usage

  1. If you see in your terminal IP adress of your ESP proceed to the next point. If not, try the First run again.
  2. Open platformio.ini and add upload_port = YOUR ESP32 IP (IP adress is displayed in the terminal) after upload_flags = -p 3232 Example:upload_port = 192.168.0.166
  3. That`s all 😃. From now on your software will be uploaded via the WiFI.

Succes upload message - Upload status

Build Status Succes upload message - Terminal

Build Status

License - MIT