Am only just getting on to implementing this now !
So if I have say V1 of my code save() into the Pico (along with the above bootloader code in onInit() ?)
What is the best way for me to grab the correct V2 minified code that I would put on my server for the pico to download and write into flash (which would be run thru eval) ?
In the fallback scenario - When the new code is run via eval, I assume the existing V1 code would have already loaded at that point ? Do I need to get rid of it from RAM first somehow ?
© Espruino, powered by microcosm.
Report a problem