OK, I agree the Espruino doesn't have JavaScript code protection without the user going to great lengths in writing specific code for encryption.
On the second part, of the user writing a "simple bootloader" to the Espruino for
auto-booting via transflash drive, is there anyone on this forum board ever attempted to write a simple bootloader for the Espruino? Any code examples are welcomed.
function onInit() {
exec(require('fs').readFile("boot.js"));
}
BTW ... I hope I did not misunderstood that "boot.js" is actually the sd file user application code
and not the bootloader code? (The bootloader code is the code above?)
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
OK, I agree the Espruino doesn't have JavaScript code protection without the user going to great lengths in writing specific code for encryption.
On the second part, of the user writing a "simple bootloader" to the Espruino for
auto-booting via transflash drive, is there anyone on this forum board ever attempted to write a simple bootloader for the Espruino? Any code examples are welcomed.
BTW ... I hope I did not misunderstood that "boot.js" is actually the sd file user application code
and not the bootloader code? (The bootloader code is the code above?)