aREST-ESP8266 icon indicating copy to clipboard operation
aREST-ESP8266 copied to clipboard

ESP8266 Not enough memory error

Open roccomuso opened this issue 9 years ago • 6 comments

Hi,

I've tried to put the aREST.lua and the basic.lua file on my esp8266. With the last NodeMCU firmware released. This is the error i'm getting:

lua: error loading module 'aREST' from file 'aREST.lua': not enough memory

How to deal with it?

roccomuso avatar Jul 13 '15 12:07 roccomuso

Seems to be better compiling the files.. :/ but it's tricky the whole compiling process and the .lua file removing. Moreover sometimes the board reset with no reason.

roccomuso avatar Jul 13 '15 12:07 roccomuso

Hello,

I basically stopped the support for aREST in its lua version, as the Arduino version is working much better. I suggest checking out (I think you already did):

https://github.com/marcoschwartz/aREST

And this article to get started:

https://www.openhomeautomation.net/getting-started-esp8266/

marcoschwartz avatar Jul 13 '15 16:07 marcoschwartz

Do you mean uploading it on Arduino? or on the ESP8266 With arduino IDE and different firmware than NodeMCU?

roccomuso avatar Jul 14 '15 11:07 roccomuso

Indeed I mean ESP8266 With arduino IDE and different firmware than NodeMCU. This is what works best with the ESP8266 at the moment in my opinion.

marcoschwartz avatar Jul 15 '15 11:07 marcoschwartz

which firmware do you advice?

roccomuso avatar Jul 15 '15 12:07 roccomuso

Basically the Arduino IDE (+ the ESP8266 package) will install a new firmware automatically on the chip :)

marcoschwartz avatar Jul 16 '15 16:07 marcoschwartz