Go Down

Topic: Lua on Arm and PIC32 (Read 6878 times) previous topic - next topic


Nov 20, 2011, 04:45 pm Last Edit: Nov 20, 2011, 05:08 pm by pito Reason: 1
FYI - there are interesting ports of Lua language on Arm and PIC32 architectures.
For example:

The pic32lua
runs on pic32MX795F512 so it may run on chipkit MAX32 well.

The eLua
runs on several Arm boards, as well as on STM32F4 Discovery (with full 192kB ram).

Lua includes build-in compiler/interpreter (you do not need any external compiler, except building the Lua hex). The language is easy to learn and powerful. It can include C code easily, is object-oriented by default and supports multithreading (via co-routines). A nice feature is the eLua supports segmented ram spaces (internal/external ram). Both support an SDcard by default, with eLua you may store your Lua sources (or compiled bytecodes) into mcu's flash or on the Sdcard. eLua includes a small shell as well (ls/dir, cat/type, cp, recv, exit, help, ver, lua).
The only issue is you need a chip with a sufficient ram space.


The only issue is you need a chip with a sufficient ram space.

For some definition of sufficient. Care to elaborate on that definition?

If "sufficient" and Arduino don't go together, why are you here?
The art of getting good answers lies in asking good questions.


why are you here?

Historically, other tools that might offer similar ease-of-use and price to Arduino are discussed here (somewhere on the Arduino Forums, anyway.)  I don't know if LUA qualifies (but assorted ARM and PIC32 boards do hit the right price points.)  I'm not impressed by something that takes 192k of RAM to provide an interpreted language, but it's not clear that I should care, if it's still $30...)

Go Up