But 20k of RAM is enough to run eLua?
On 18 May 2013 12:23, sugar <[hidden email]> wrote:
> I have a stm32 board with 128KB Flash and 20KB RAM, can i use it with elua.
I did exactly this for the mizar32 last week, targetting 120K to be exact.
Use the "Mizar32-v0.9" branch, which has load of code-size hacks,
apply the AT32UC3A0128 configurations from
src/platform/avr32/MIZAR32/mizar32_conf.h and src/lua/luaconf.h to
your board and compile with
scons target=lualong allocator=simple optram=0 rostrings=0
In our case this allowed us to fit in all the modules except net.*()
If you need FP or net for some reason, you'll need to disable other
Lua modules or features to make space.
Good luck!
M
_______________________________________________
eLua-dev mailing list
[hidden email]
https://lists.berlios.de/mailman/listinfo/elua-dev
Free forum by Nabble | Edit this page |