I'm trying to find a way how to upload my lua files along with firmware to esp8266, as one step, as opposed to: first flash firmware, exit from flash mode, upload files one by one.
I was thinking that if I create one sample esp8266 with proper firmware and upload all the lua files there, then I could dump whole image with esptool.py and afterwards flash another esp with this binary, but I think it actually won't work since there are different memory sections with different read/write access allowed.
Does anyone have have any ideas?
Thanks in advance!