I've had some problems with saved code after reflashing.
Fixed it with flashing last page of saved area with an empty.bin.
As far as I can see, there are 2 parts of saved data.
First part gives an error message if data is corrupted, but 2nd part does not test this and crashes at least on ESP32.
© Espruino, powered by microcosm.
Report a problem