Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jakubandrysek/basicota-esp32-library
:floppy_disk: Basic OTA library for ESP32 and VSCode - PlatformIO
https://github.com/jakubandrysek/basicota-esp32-library
esp32 library ota ota-update platformio
Last synced: 29 days ago
JSON representation
:floppy_disk: Basic OTA library for ESP32 and VSCode - PlatformIO
- Host: GitHub
- URL: https://github.com/jakubandrysek/basicota-esp32-library
- Owner: JakubAndrysek
- License: mit
- Created: 2020-05-05T19:22:46.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-11-13T21:23:43.000Z (about 4 years ago)
- Last Synced: 2025-01-03T13:05:59.984Z (about 1 month ago)
- Topics: esp32, library, ota, ota-update, platformio
- Language: C++
- Homepage:
- Size: 63.5 KB
- Stars: 12
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Basic OTA library for ESP32 and VSCode - PlatformIO
### By [Kuba AndrΓ½sek](https://kubaandrysek.cz/)
This project is inspirated by [Lastminuteengineers.com](https://lastminuteengineers.com/esp32-ota-updates-arduino-ide/)# Integration takes only 2 minutes and it's very easy to use
## Usage
### [Example project](https://github.com/JakubAndrysek/BasicOTA-ESP32-library/tree/master/example/BasicUsage)
### First run
1. Create new [PlatformIO](https://platformio.org/) project - Eespressif ESP32 Dev Module
1. Copy [example](https://github.com/JakubAndrysek/BasicOTA-ESP32-library/blob/master/example/BasicUsage/main.cpp) code into `main.cpp`
1. Change WiFi SSID and PASSWORD to suit your credentials
1. Open `platformio.ini` and after `framework = arduino` insert to new line [`upload_flags = -p 3232`](https://github.com/JakubAndrysek/BasicOTA-ESP32-library/blob/master/example/BasicUsage/platformio.ini#L20). It [will fix](https://github.com/platformio/platform-espressif32/issues/197) upload issue.
1. 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.
1. Open `platformio.ini` and add [`upload_port = YOUR ESP32 IP`](https://github.com/JakubAndrysek/BasicOTA-ESP32-library/blob/master/example/BasicUsage/platformio.ini#L19) (IP adress is displayed in the terminal) after `upload_flags = -p 3232` Example:`upload_port = 192.168.0.166`
1. That`s all π. From now on your software will be uploaded via the WiFI.Succes upload message - Upload status
[![Build Status](/docs/SuccesTerminal.png)]()
Succes upload message - Terminal[![Build Status](/docs/SussecESP.png)]()
### License - [MIT](https://github.com/JakubAndrysek/BasicOTA-ESP32-library/blob/master/LICENSE)