• @Wilberforce,

    Yep: Espruino firmware is getting larger with every release.

    That is why there is a BOARD=ESP8266_4MB

    // used code to connect and save
    var Wifi = require('Wifi');
    SSID='YOURSSID';
    SSIDPASS='YOURSSIDPASS';
    Wifi.connect(SSID, {password:SSIDPASS}, function(err) { 
          if (err === null){ 
            console.log('Connected to AP YOURSSID');
            Wifi.setDHCPHostname(Wifi.getAPDetails()­.ssid.replace('_','-'));
            Wifi.stopAP();
            Wifi.setConfig({powersave : 'none'});
            Wifi.save();
          }
     });
    

    press your reset button and then

     _____                 _
    |   __|___ ___ ___ _ _|_|___ ___
    |   __|_ -| . |  _| | | |   | . |
    |_____|___|  _|_| |___|_|_|_|___|
              |_| http://espruino.com
     1v95.3469 Copyright 2017 G.Williams
    Espruino is Open Source. Our work is supported
    only by sales of official boards and donations:
    http://espruino.com/Donate
    Flash map 4MB:1024/1024, manuf 0xe0 chip 0x4016
    
    >require("Wifi").getIP();
    ={
      "ip": "192.168.194.121",
      "netmask": "255.255.255.0",
      "gw": "192.168.194.1",
      "mac": "5c:cf:7f:c1:12:0b"
     }
    
About

Avatar for MaBe @MaBe started