Most recent activity
-
Thanks for merging the PRs Gordon! This is now published and can be installed with:
npm i -g espruino-cli
After install it can be executed with:
esp
Currently only the original Espruino board and the STM32 series are detected but other devices are easily added. Please paste the output of the "Analyzing" line if you have an Espruino supported board that is not properly detected.
Other issues or requests can be filed at:
https://github.com/gzip/esp-cli/issues -
-
Hi Gordon,
I've been looking at Node's repl module to add multi-line support, sophisticated auto-complete, and load/save.
I've been trying to figure out how to mask the repl context so that Node's built-ins which aren't present in Espruino don't get exposed. I'm making some progress there but it would be awesome to get a full mock representation of Espruino in order to support property and method completion (I guess that's where the py script comes in).
Btw, would it be ok with you if I publish this to npm as espruino-cli so that it's easy to find? If so I might still keep the bin as esp-cli.
-
I've started a command line interface here:
https://github.com/gzip/esp-cliCurrently it attempts to detect the port and connect automatically. Basic auto complete is also implemented (I'm thinking about adding the full Espruino API). So far it's only tested with the STM32F4Discovery on Linux. Hopefully it will get more useful over time.
-
In Ubuntu 10.04 Lucid Lynx I got the following error:
arm-none-eabi-gcc command not found
After some digging I was able to resolve by installing the relevant package from:
http://ppa.launchpad.net/terry.guo/gcc-arm-embedded/ubuntu/pool/main/g/gcc-arm-none-eabi/
The CLI has been updated with the following features:
.module
command (from espruino.com, url, or local file).version
command.exit
command