graphics AND crypto not running on ESP8266 #5269
Replies: 1 comment
-
Posted at 2016-04-06 by @gfwilliams I think it's possible you could reduce the amount of jsvars available in Posted at 2016-04-06 by Wilberforce I know it works ok with the crypto only. We don't really want to reduce vars as it means smaller actual code too. I thought I had tried this option with both libs. Do we offer the option of crypto or graphics - it starts to get quite messy! Posted at 2016-04-06 by @gfwilliams You're welcome to try and get them using less RAM - to be honest the Graphics lib really shouldn't be using any at all, so I'm not sure what's going on there. Posted at 2016-04-06 by JumJum Did some more testingto see what heap and size of bin is doing: Posted at 2016-04-06 by DrAzzy I'm confused as to why graphics needs heap space at all... Am I missing something? Posted at 2016-04-06 by @MaBecker USE_GRAPHICS=1 USE_CRYPTO=1 make
my understanding is that loading more code will reduce the freeHeap Posted at 2016-04-07 by @gfwilliams So @MaBecker has it compiling? @jumjum, are you sure your code really is the latest from GitHub?
Because ESP8266 :( All constant data gets stored in RAM unless you explicitly tell it otherwise and change the code that accesses it. It's a bit of a nightmare really. Posted at 2016-04-07 by @MaBecker YES : that's what I did: compile, flash and execute Posted at 2016-04-07 by JumJum Hmmm, thats strange. I copied latest version form github/espruino/Espruino yesterday. Posted at 2016-04-07 by JumJum Hmmm, thats strange. I copied latest version form github/espruino/Espruino yesterday. Posted at 2016-04-07 by @gfwilliams did you build with Posted at 2016-04-07 by JumJum Tried with and without RELEASE=1, both cases the same behaviour
Posted at 2016-04-07 by @gfwilliams Maybe try But I just tried a build here, and If they're not on by default then you must have an old version of the source code. Posted at 2016-04-08 by JumJum Its running now. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2016-04-06 by JumJum
I tried to compile actual version from Github and failed.
After flashing system did not start anymore.
At the end it turned out, compiling with
USE_GRAPHICS=1 and USE_CRYPTO=1 is the problem.
One of them USE_GRAPHICS or USE_CRYPTO runs fine, at least Espruino starts fine.
Is there anything, option or whatever which solves this problem ?
Beta Was this translation helpful? Give feedback.
All reactions