Spritetm / libesphttpd

NOTE: THIS CODE IS UNMAINTAINED. Please take a look at https://github.com/chmorgan/libesphttpd instead.
125 stars 109 forks source link

Modify the cgiReadFlash function to take offset and length arguments #1

Closed bjpirt closed 9 years ago

bjpirt commented 9 years ago

This allows a subset of the flash to be downloaded which can be useful for checking that a flash write has been successful without having to download everything.

Spritetm commented 9 years ago

Thanks for the pull req, but I'm gonna let this be for a while... I'm generally messing with the flash functions to enable OTA upgrades at the moment; I am not sure if I can pull your diffs afterwards or if I'm better off manyually integrating the functionality.

bjpirt commented 9 years ago

OK - it would be nice to be able to compile the lib with or without support for this because I'm going to be using a custom memory map - I'm also using the rBoot because it's easier to configure where different partitions go (and it's open source so you can actually see what's happening). Getting a little tight on space on a 512k chip now.

Spritetm commented 9 years ago

Awesome - I'm messing with multiple ways to create binaries anyway, I'll see if I can find a way to at least make the functionality extendable to rboot.

bjpirt commented 9 years ago

Cool - it's a much nicer bootloader IMO. I think Espressif should just switch to it :-)