Re: Anybody seen any lua support for the Arduino?
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: Anybody seen any lua support for the Arduino?
- From: "Bogdan Marinescu" <bogdan.marinescu@...>
- Date: 2008年10月29日 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:
http://elua.berlios.de 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.
Best,
Bogdan
On Wed, Oct 29, 2008 at 7:28 AM, Sam Roberts
<vieuxtech@gmail.com> wrote:
On Tue, Oct 28, 2008 at 9:48 PM, Gé Weijers <
ge@weijers.org> wrote:
> The arduino's processor is way too restrictive for Lua. 14K of ROM and a
> kilobyte of RAM just won't work.
Very disappointing!
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
worthwhile!
Sam