Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add OTA updates for ESP32 #91

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

vishwamartur
Copy link

Related to #45

Add OTA firmware update functionality to the ESP32 telemetry solution.

  • CMakeLists.txt: Include ota.c in the build and add ota.h to the include directories.
  • http_server.c: Add ota_update_post_handler to handle OTA update requests and register it in start_rest_server.
  • main.c: Include ota.h and initialize OTA update functionality in app_main.
  • ota.c: Implement OTA update functionality using ESP-IDF OTA APIs and define ota_update_task to handle the OTA update process.
  • ota.h: Declare ota_update_task function and include necessary headers.
  • README.md: Add a section explaining how to perform OTA updates and provide instructions for uploading firmware via the web interface.

Related to DroneBridge#45

Add OTA firmware update functionality to the ESP32 telemetry solution.

* **CMakeLists.txt**: Include `ota.c` in the build and add `ota.h` to the include directories.
* **http_server.c**: Add `ota_update_post_handler` to handle OTA update requests and register it in `start_rest_server`.
* **main.c**: Include `ota.h` and initialize OTA update functionality in `app_main`.
* **ota.c**: Implement OTA update functionality using ESP-IDF OTA APIs and define `ota_update_task` to handle the OTA update process.
* **ota.h**: Declare `ota_update_task` function and include necessary headers.
* **README.md**: Add a section explaining how to perform OTA updates and provide instructions for uploading firmware via the web interface.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant