Login  Register

Re: 128KB Flash and 20KB RAM,can it with elua?

Posted by jbsnyder on May 20, 2013; 8:50pm
URL: http://elua-development.15.s1.nabble.com/128KB-Flash-and-20KB-RAM-can-it-with-elua-tp7578003p7578011.html

20 kB of SRAM is going to be tight.  I've worked with a target that has 32 kB of SRAM and that one was usable with some modification (there's actually a memory leak that I should migrate a patch from that branch that will be useful if you're using the REPL, https://github.com/elua/elua/issues/13).  I'm not sure if anyone has tried a 20 kB target before, but I would tend towards keeping things as lean as possible if you try it, precompiling code if you plan to run scripts, turning off command history and any modules you don't need.




On Mon, May 20, 2013 at 4:14 AM, Martin Guy <[hidden email]> wrote:
On 20 May 2013 00:11, Gabriel Duarte <[hidden email]> wrote:
> But 20k of RAM is enough to run eLua?

Good point. Maybe with the optram=1 and removing some unneeded Lua
modules to make space.
Bogdan knows more about running in small RAM, and has made many
modifications to make that possible.
I'm the small-ROM guy :)

    M
_______________________________________________
eLua-dev mailing list
[hidden email]
https://lists.berlios.de/mailman/listinfo/elua-dev



--
James Snyder
Biomedical Engineering
Northwestern University
http://fanplastic.org/key.txt
ph: (847) 448-0386

_______________________________________________
eLua-dev mailing list
[hidden email]
https://lists.berlios.de/mailman/listinfo/elua-dev