• who want to use the module can already do so by simply copying the file to the modules folder

    Actually just require("https://raw.githubusercontent.c­om/pastaclub/espruino-w25q/master/W25Q.j­s") should work too :)

    Ahh - the page + erase thing makes life a bit more painful. If you could only erase a whole sector at once I was effectively treating that as the 'page size', but the requirement to call finish after each page causes problems.

    The issue is the execution speed of Espruino - repeatedly calling write for each byte will be painfully slow - but being able to shovel buffers worth of data around tends to be a lot faster if it's possible...


Avatar for Gordon @Gordon started