Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Possible to run on ESP8266? #136
Hi, I am curious if it will ever be possible to run iotjs on the ESP8266 chip: https://github.com/esp8266/esp8266-wiki/wiki
The specs are quite limited:
But there is a firmware for it that implements Lua https://github.com/nodemcu/nodemcu-firmware
Hello, thank you for your interest on iotjs. It seems that memory is not enough for iotjs.
Current version for STM32F4 version requires about 350KB image ROM and about 100K RAM(roughly). We have plans to reduce RAM size with JerryScript but for ROM, it may be hard.
@seanshpark thanks for the reply! nodemcu is indeed quite cool, but I prefer node.js over lua :)
So it seems that iotjs should be compatible with boards like this then?
The appeal of the ESP8266 is the integrated wifi. It looks like the espruino shim http://www.espruino.com/ESP8266 is maybe the best way to get wifi connectivity from a device running iotjs
@maxogden Hi, nice to meet you. Yes, we also think that IoT.js should compatible with such boards, eventually.
As of now, we just checked up the possibility of our approach, downsizing node.js for IoT with JerryScript, and just beginning long journey of development. But we don't know how small we can make it useful.
The first thing we willing to do at this time is define the core modules or APIs for IoT.js under real world experience of IoT device development, and we wanna do it with IoT community. Because it needs much consideration of many devices such as espruino pico and ESP8266, for example.
I think you can help us. Join us! Thanks!
P.S. The name JerryScript is @egavrin's idea, inspired from the famous cartoon 'Tom and Jerry'. We also considering TomScript for test-suite of JerryScript or so. :)