• Hello
    I would like to use esp8266 as web server and save files on 4mb esp8266 flash.
    what is the best way to save static html/css/js files?

    known way (dont want to write fs implementation on top of it):
    f = require("Flash");
    addr = 0x3C0000; // ESP8266_4MB flashArea[4]
    f.write('ABCD',addr);
    console.log(E.toString(f.read(1,addr)));­
    A
    =undefined

    console.log(E.toString(f.read(1,addr+1))­)
    B
    =undefined

    what is the best way to store files similar to "fs" module?

About

Avatar for duplicator @duplicator started