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

Feature Request: OTA Firmware Updates #45

Open
dmazan opened this issue Aug 8, 2023 · 0 comments
Open

Feature Request: OTA Firmware Updates #45

dmazan opened this issue Aug 8, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@dmazan
Copy link

dmazan commented Aug 8, 2023

A minimal ESP32 telemetry solution is an ESP32-WROOM-xx wired directly to the FC and powered by 3v from the FC. Simple and incredibly lightweight. Initial programming is done with a snap-in interface to the module. Then it gets wired in.

It would be great to be able to update the firmware over the air, rather than having to unsolder and remove the module. Mav8266 already has OTA updates.

@seeul8er seeul8er added the enhancement New feature or request label Aug 8, 2023
vishwamartur added a commit to vishwamartur/ESP32 that referenced this issue Nov 3, 2024
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
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants