I couldn't find anything about how much RAM and FLASH is available for my programs on the Espruino?!
JavaScript values take up more space than compiled code, but for instance if you were to make a big array you'd be able to allocate around 29kB (but you also have to share that space with program code).
Flash is accessed just by typing save() - it saves all your program code and variables into flash. You can read/write it directly but it's not a good idea. It's shared with Espruino so you could easily overwrite it by accident!
(2) Is this Hardware and the JS Interpreter free? Can it be used commercially (e.g. on boards I would make myself for some commercial projects)?
Yes. It's the MPLv2 licence for software and CC-BY-SA for the hardware. Basically you have to say your product contains Espruino, but you can't call your product an 'Espruino' without agreeing with us. It's a bit like Arduino really.
(3) Is there a way of creating uploadable programs that cannot be read by a customer? (If I want to provide updates for my own projects to the customers)
Customers can always connect via USB/Serial and read out what's on the chip, but you can 'minify' your code. That will generally rename all the variables/functions, remove all whitespace and comments, and often inline code - making it pretty much useless to anyone who'd try and read it.
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.
Hi!
JavaScript values take up more space than compiled code, but for instance if you were to make a big array you'd be able to allocate around 29kB (but you also have to share that space with program code).
Flash is accessed just by typing
save()
- it saves all your program code and variables into flash. You can read/write it directly but it's not a good idea. It's shared with Espruino so you could easily overwrite it by accident!(2) Is this Hardware and the JS Interpreter free? Can it be used commercially (e.g. on boards I would make myself for some commercial projects)?
Yes. It's the MPLv2 licence for software and CC-BY-SA for the hardware. Basically you have to say your product contains Espruino, but you can't call your product an 'Espruino' without agreeing with us. It's a bit like Arduino really.
(3) Is there a way of creating uploadable programs that cannot be read by a customer? (If I want to provide updates for my own projects to the customers)
Customers can always connect via USB/Serial and read out what's on the chip, but you can 'minify' your code. That will generally rename all the variables/functions, remove all whitespace and comments, and often inline code - making it pretty much useless to anyone who'd try and read it.