• Oh, maybe that will work too when there is original espruino bootloader which clears it before jumping into Espruino?

    Otherwise when BTN1 is held at startup time the code is skipped except the code marked as "flash always", that one still runs even with button held. This was confimed by some unlucky guys and is also described here https://www.espruino.com/Saving - Boot Process - holding button is exactly like running reset() (sets hasBeenReset) so .bootrst still runs.

About

Avatar for fanoush @fanoush started