Avatar for gzip

gzip

Member since Nov 2013 • Last active Jan 2014
  • 1 conversations
  • 6 comments

Most recent activity

  • started
    • 9 comments
    • 5,113 views
  • cli

    in General
    Avatar for gzip

    The CLI has been updated with the following features:

    • Support loading of modules via the .module command (from espruino.com, url, or local file)
    • Implement buffer to work around Espruino lost character issues
    • Implement .version command
    • Implement .exit command
  • cli

    in General
    Avatar for gzip

    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

  • cli

    in General
    Avatar for gzip

    Using the JSON schemas definitely looks feasible. I'll dig in and try to generate a stub Espruino for autocomplete. It will be my first time in Python but I've always heard good things. :D

  • cli

    in General
    Avatar for gzip

    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.

  • cli

    in General
    Avatar for gzip

    I've started a command line interface here:
    https://github.com/gzip/esp-cli

    Currently 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 Tutorials
    Avatar for gzip

    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-a­rm-embedded/ubuntu/pool/main/g/gcc-arm-n­one-eabi/

Actions