• I was getting the "WARNING: Module 'ESP8266' not found".
    I then double-checked the Modules URL, I couldn't find the ESP8266 javascript module...

    I was following the tutorial at http://www.espruino.com/ESP8266.

    So the module is either missing, or has changed name (but I couldn't find a conspicuously named module on the dir).

  • Hi Charles,

    The ESP8266 drivers are not available as javascript modules. They are meant to be available as internal modules. At the moment they are not compiled into the current firmware. You will need to compile it yourself.

    To compile it yourself, there is a nice step by step tutorial for building it on github where you will also find the source code:

    https://github.com/espruino/Espruino

    To add the ESP8266 drivers you will need to edit the Makefile and change two lines:

    Change:

    USE_CC3000=1
    #USE_ESP8266=1

    to:

    #USE_CC3000=1
    USE_ESP8266=1

    To include the drivers and remove the drivers for CC3000 (another wifi module).

    After that is done, you will need to flash your espruino from within the IDE with the advanced option and the new firmware.

    I've done this just a few days ago to test a few things, you can use this link to get my binary:
    http://sammelsurium.hpm12.de/espruino_1v­72_espruino_1r3.bin for flashing

    I did not get them to work yet, but its also currently stated that development for the ESP is in progress and not yet fully working.

    Cheers,
    Mario

  • edit: beaten to it!

    The ESP8266 site does say:

    Development is in progress. There is currently no working support for this module on any boards, on any version of Espruino.

    I'm afraid the ESP8266 support needs to be 'compiled in' right now, and even after that it isn't in a very usable state. Hopefully it will be in around a month though.

    In the mean time, @JumJum has some code that does work with the ESP8266 - just not the full HTTP client/server. link here

  • Post a reply
    • Bold
    • Italics
    • Link
    • Image
    • List
    • Quote
    • code
    • Preview
About

ESP8266 Javascript Module Missing from espruino.com/modules

Posted by Avatar for Charles @Charles

Actions