[ECOS] Re: Embedded scripting language
Savin Zlobec
savin@elatec.si
Fri Feb 13 14:09:00 GMT 2004
Ãyvind Harboe wrote:
>On Fri, 2004-02-13 at 14:48, Savin Zlobec wrote:
>
>
>>>
>>>
>>>>I have actually run Python on eCos :-) Configuration and getting it
>>>>setup is rather tedious (which is why I've not posted those ideas yet),
>>>>but it does provide a lush environment.
>>>>
>>>>
>>>I'm running Lua on AT91 EB40a board :-)
>>>
>>>It takes <100k of code space, but I haven't investigated RAM usage yet.
>>>
>>>
>>>
>>In case you need to run only precompiled lua programs, then you can reduce
>>the code size by excluding lua lex and parser - which are a big piece of
>>lua code.
>>
>>
>
>Code size isn't particularly important(I've got 2MB flash and 256k ram).
>
>The ram overhead seems to be ~30k.
>
Check lua_getgccount() and lua_getgcthreshold() or the lua versions
collectgarbage() and gcinfo().
Described here http://www.lua.org/manual/5.0/manual.html#3.7
savin
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
More information about the Ecos-discuss
mailing list