New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possible to run on ESP8266? #136

Closed
maxogden opened this Issue Jul 24, 2015 · 6 comments

Comments

Projects
None yet
3 participants
@maxogden

maxogden commented Jul 24, 2015

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:

  • It's running at 80MHz
  • 64KBytes of instruction RAM
  • 96KBytes of data RAM
  • 64KBytes boot ROM

But there is a firmware for it that implements Lua https://github.com/nodemcu/nodemcu-firmware

@seanshpark

This comment has been minimized.

Contributor

seanshpark commented Jul 25, 2015

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

This comment has been minimized.

Contributor

seanshpark commented Jul 25, 2015

@maxogden

This comment has been minimized.

maxogden commented Jul 25, 2015

@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

This comment has been minimized.

maxogden commented Jul 25, 2015

@seanshpark also where does the name JerryScript come from? haha

@lemmaa

This comment has been minimized.

Member

lemmaa commented Jul 26, 2015

@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. :)
For more information, the byte code used in JerryScript was originally named as 'High-fat cheese IR' and 'Low-fat cheese IR'.

@lemmaa lemmaa added the question label Jul 26, 2015

@maxogden

This comment has been minimized.

maxogden commented Jul 26, 2015

@lemmaa thanks for the information, very cool.

P.s. I wrote up a blog post about the project http://maxogden.com/iotjs-and-jerryscript.html

@maxogden maxogden closed this Jul 26, 2015

pmarcinkiew referenced this issue in pmarcinkiew/iotjs Aug 29, 2017

Merge pull request #136 from sunghan-chang/mdnsd_error
fixup! netutils/mdns: add support for exposing services
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment