OTA using push architecture

mikemoy
Posts: 626
Joined: Fri Jan 12, 2018 9:10 pm

OTA using push architecture

Postby mikemoy » Fri Mar 15, 2019 11:15 pm

I have been looking for a OTA method for pushing firmware to my devices.
I found this: https://github.com/yanbe/esp-idf-ota-template
I was wondering if anyone has used it, and could offer any help.
The code compiles and runs fine, but my problem in on the PC side. When he says "make ota ESP32_IP=192.168.0.3" is where the problem starts. My device has an IP of 192.168.0.3, but it seems make does not understand the option for "ESP32_IP=192.168.0.3".

Any ideas ?

chegewara
Posts: 2364
Joined: Wed Jun 14, 2017 9:00 pm

Re: OTA using push architecture

Postby chegewara » Sat Mar 16, 2019 2:00 am

Did you do last step with makefile?
https://github.com/yanbe/esp-idf-ota-te ... /README.md

mikemoy
Posts: 626
Joined: Fri Jan 12, 2018 9:10 pm

Re: OTA using push architecture

Postby mikemoy » Sat Mar 16, 2019 2:05 am

I did not at the time I posted this. I am in the middle of getting it working. I needed to basically do this in the shell for it to work.
It now works, but I am making sure I have the curl formatted properly.

curl -v 192.168.0.3:8032 --data-binary @- < Release/simple_ota.bin

Who is online

Users browsing this forum: forrest and 91 guests