Re: Introducing esp-httpd: webserver on an ESP8266.
Posted: Mon Mar 30, 2015 9:55 am
Incidentally, what I'm currently attempting to do is to use the OTA capabilities but tweak the size of the sections for the chunks of code. My code is currently building with 38kB for the 0x00000.bin file and 158kB for the 0x40000.bin file, so if you shrink the first section down to 44kB and the second to 164kB you gain 36kB of space. But since we also don't need the OTA device key and because there's 4kB blank at 0x40000 you can get an extra 12kB of space to add to that, which means you can squeeze in a 48kB chunk of user data after the user1.bin memory location. 48kB is loads of space to do interesting things with on a device like this so I'm pretty happy with that. You do also get 36kB of flash after user2.bin to play with, which I'm planning on using for other nefarious purposes.
I'm part way through this mission and have been battling with linker scripts to try and get this up and running - see here: viewtopic.php?f=6&t=2094
@prozac, if you've done any work in updating your version to run with boot_v1.3.bin I'd love to see it if you're able to push it
If we can make this an alternative way of building esp-httpd then I think it would be pretty useful, then we can easily add in the cgi handlers to be able to update the firmware via a web page
I'm part way through this mission and have been battling with linker scripts to try and get this up and running - see here: viewtopic.php?f=6&t=2094
@prozac, if you've done any work in updating your version to run with boot_v1.3.bin I'd love to see it if you're able to push it
If we can make this an alternative way of building esp-httpd then I think it would be pretty useful, then we can easily add in the cgi handlers to be able to update the firmware via a web page