Files
zh_ota_server/README.md
T
2026-08-16 09:12:31 +03:00

1.3 KiB

ESP32 ESP-IDF component for simple OTA server

Wiki

EN | RU

Tested on

  1. ESP32 ESP-IDF v6.0.0

SAST Tools

PVS-Studio - static analyzer for C, C++, C#, and Java code.

Features

  1. HTTP-based OTA firmware updates via standard HTTP POST requests.
  2. Automatic partition management with next available OTA partition detection.
  3. Embedded web interface for browser-based firmware uploads.
  4. Automatic boot activation and device reboot after successful update.
  5. Chunked data reception with 1000-byte blocks for efficient memory usage.
  6. Seamless integration with ESP-IDF HTTP server and OTA APIs.
  7. Comprehensive error handling with detailed ESP_LOGE logging.
  8. Low memory footprint with minimal RAM consumption.

Using

In an existing project, run the following command to install the component:

cd ../your_project/components
git clone https://github.com/aZholtikov/zh_ota_server

In the application, include the header:

#include "zh_ota_server.h"

Examples

See Wiki EN | RU