[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Anybody seen any lua support for the Arduino?
- From: "Bogdan Marinescu" <bogdan.marinescu@...>
- Date: Wed, 29 Oct 2008 10:14:25 +0200
1K of RAM is completely out of the question, I'm afraid. The only remotely similar thing that you _might_ be able to run on such a system is a Forth variant. I do plan Lua on AVRs at some point, but I'll target high end AVRs with external memory, or the new XMega.
14k of Flash also isn't good. Take a look at my project at:
Currently, the bare minimum that I'd recommend for Lua on embedded would be 128k Flash/32k RAM. I can (and I will) do better than that eventually, but I really don't think there's a way to go so low with requirements.
On Wed, Oct 29, 2008 at 7:28 AM, Sam Roberts <firstname.lastname@example.org>
On Tue, Oct 28, 2008 at 9:48 PM, Gé Weijers <email@example.com
> The arduino's processor is way too restrictive for Lua. 14K of ROM and a
> kilobyte of RAM just won't work.
How small can the lua code get, and how much space does a lua_State take?
With the parser and libraries stripped out, whats the smallest anybody
around here has gotten it?
I guess I'm wondering if its absolutely out of the question, or if I'd
just have to work hard. I'm ok with working hard... it would be