pfalcon / yaota8266

Yet another OTA solution for ESP8266, this time supporting large (>512KB) firmwares even on 1MB devices (repo is rebased)
120 stars 33 forks source link

ota-server is missing config.h file #4

Closed dpgeorge closed 7 years ago

dpgeorge commented 7 years ago

It looks like this file should define OTA_START and MOD.

pfalcon commented 7 years ago

Right, expectedly, it should be generated by a user, but I pushed an example in https://github.com/pfalcon/yaota8266/commit/005b80c21ef0eb1a8e9050bad8d8da05b6385e15 (I mentioned that the repo is rebased, right, so link may become dangling later).

How to make up a MOD binstring? Well, routines in https://github.com/pfalcon/yaota8266/blob/master/ota-client/rsa_sign.py (also just added) can definitely print it https://github.com/pfalcon/yaota8266/blob/master/ota-client/rsa_sign.py

(All needs polishing up.)

pfalcon commented 7 years ago

config.h.example is now moved to the top-level dir, and shared by both boot8266 and ota-server. I guess this ticket now can be closed.