Pages: [1]   Go Down
Author Topic: Lua on Arm and PIC32  (Read 4498 times)
0 Members and 1 Guest are viewing this topic.
Rapa Nui
Offline Offline
Edison Member
*
Karma: 53
Posts: 1991
Pukao hats cleaning services
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

FYI - there are interesting ports of Lua language on Arm and PIC32 architectures.
For example:

The pic32lua
http://askrprojects.net/software/pic32lua/index.html
runs on pic32MX795F512 so it may run on chipkit MAX32 well.

The eLua
http://www.eluaproject.net/
http://elua-development.2368040.n2.nabble.com/
https://github.com/jsnyder/elua/tree/bikeNomad-master
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.
P.
« Last Edit: November 20, 2011, 11:08:57 am by pito » Logged

Seattle, WA USA
Offline Offline
Brattain Member
*****
Karma: 553
Posts: 46267
Seattle, WA USA
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
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?
Logged

SF Bay Area (USA)
Offline Offline
Tesla Member
***
Karma: 106
Posts: 6381
Strongly opinionated, but not official!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
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...)
Logged

Pages: [1]   Go Up
Jump to: