lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


I have looked into putting Lua into a lot of different microcontrollers but most controllers fails on the memory part. You need ltos of memory (for a microcontroller) and you need full a malloc implementation. take a look at the uClinux - My guess is, if a microcontroller can run uClinux it would run Lua also..

But the ATmega128 has only 4 Kb RAM so there is ny chance of Lua running on it....

/Erik

Harald Kipp wrote:

Hi,

we developed a tiny Open Source RTOS with TCP stack
for the ATmega128 uC and I recently investigated the
possibility to use Lua scripts for configuring the
hardware dependent parts of the system.

This "configurator" runs on the PC and uses wxWidgets
for the GUI to support most common platforms. Not yet
finished, but Lua was indeed the right choice. I'm now
making up my mind, wether Lua would make a good
scripting language for the target itself.

Has anybody tried to run Lua on an AVR uC or any
similar 8-bit system? Is there any port already
available? Any Open Source would be great as long
as it fits to the BSD- or Lua-style licence.

I'm sorry, if this had been answered recently, but
I tried hard to find a reference.

Many thanks,

Harald Kipp