tve wrote:The patch files are attached to this post.
0001-moved-espfs-at-end-of-irom0-resulting-in-single-flas.patch.txt - Hehe, I actualy sneaked in my own implementation (which is very similar to yours btw) at the time of the library split, so it's in the current esphttpd already.
0002-generate-user1.bin-and-user2.bin-for-OTA-update.patch.txt - I'll see what I can do. Tbh I don't want to make the esphttpd example more complex than it needs to be, and with the split of libesphttpd, this is sort-of not in the core of esphttpd anymore. OTA upgrading would still be very nice tho', so I may throw it into the example anyway.
0003-remove-4KB-alignment-of-espfs-reflashing-doesn-t-wor.patch.txt - not sure if I need this
For these:
0004-rewrote-flash-handlers.patch.txt -
0005-add-firmware-validity-sanity-check.patch.txt
0006-added-shell-script-to-reflash-esp.patch.txt
I'll have to modify everything a bit: since libesphttpd now is a module, I can't just throw defines at it.