Hi, I'm Diego and I'm starting with espruino.
There is a way to protect my code? if build a product I mean.
You can add a password or move the interactive console away, which will stop any casual reading of the code. Your code is stored as source but is fragmented all over memory so is still pretty garbled and would be hard to read out.
Thank you so much Gordon.
But, somebody still could download my code, and upload it to an identical espruino board and it will work?
How can I stop that ?
To do that, they would have to physically connect a debugger device to it - and you have the same problems you would with any microcontroller.
One method is to simply check the chip's serial number in your code.
You can also turn on 'read-out protection' on the chip? Are you using Puck.js, or one of the other Espruino boards? The method for doing that would be different on different chips - it's off by default because it can make it more likely you'll make your chip unusable during development.
That is !! Excellent.
Thank you so much.
Don't worry about formatting, just type in the text and we'll take care of making sense of it. We will auto-convert links, and if you put asterisks around words we will make them bold.
For a full reference visit the Markdown syntax.
© Espruino, powered by microcosm.
Report a problem