-
I was thinking in a way to loading modules on the fly and decide at runtime if I save then or not to the board.
I want the code itself to download modules as needed (by some configuration, for example), when the board is runing standalone, not connected to the WebIDE or something.Is it possible? There is a good way to do that?
I was reading in https://www.espruino.com/Modules that WiFi-enabled Espruino will soon be able to require() stuff online. Will this work on other boards as well (like ESPxxxx)? Is that what I'm looking for?
Thank you.
-
-
In this case I have compiled it and I'm running the Espruino interpreter (https://github.com/espruino/Espruino.git) in my Ubuntu 16.04 Linux system.
I'm needing to use it to test my code using the "fs" module, because the Espruino firmware for my cheap NodeMCU-12E hardware doesn't come with this module builtin (not sure why).
- In the Readme.md for this Espruino GIT repository would be a good place to explain how to connect the Web IDE to it after you got it compiled and running. I may do a pull request with it if you agree.
- But I learned how to get it compiled from [this doc], so not sure where is a better place.
- In the Readme.md for this Espruino GIT repository would be a good place to explain how to connect the Web IDE to it after you got it compiled and running. I may do a pull request with it if you agree.
-
Hi @Gordon
I didn't know how to call the Espruino interpreter, but I saw in some GIT talking you guys refering to it as espruino_cmd to differentiate from espruino tools, so I shoot it. :)
@Wilberforce already pointed me to how:
Start the interpreter:
espruino --telnet
In the WebIDE:
Settings->COMMUNICATIONS
Connect over TCP Address
[ your.ip:2323 ]Simple like that! But if it is there in the docs, I overlooked it.
Thank you.
-
-
-
Thank you so much!
Now I will hack it around to accomplish my world domination plan using Espruino. :)