-
• #2
1v80 Copyright 2015 G.Williams
1v80, that's ancient!
-
• #3
Yes, to get
setBootCode
you'd need to update the firmware to a 'cutting edge' build - I don't think it's in the current 1v85 release.Did you get that error with a fresh board? The functionality got added to the Web IDE a few days ago, but it shouldn't have been enabled by default - as you discovered,
Save on Send
is what causes it (but that should be off unless you click it).I'll be doing new release of Espruino soon that'll have
setBootCode
in it, so hopefully with up to date firmware, this will go away. -
• #4
The 1v80 was the Pico, my Espruino board is 1v85 and had the same problem.
I bought both of them about a month ago. -
• #5
Yes, 1v85 won'[t have it - by 'cutting edge', I mean these ones - basically the code we're working on, before making a 'release'.
So when 1v86 is released (soon hopefully) it'll have it in, or you can use the builds above... But for now I'd be tempted to just leave the option off.
Uncaught Error: Function "setBootCode" not found!
Some simple code on the right side to test require()
Produces the following on the left side when send to Espruino is clicked
In the Web IDE Setting:Communications
See if Save on Send is checked, uncheck it
On the left side enter reset(); followed by save();
Now try the send to Espruino button.
This was tried on an Espruino board and a Pico