#1882 new enhancement

RTEMS Lua Support

Reported by: Scotty Smith Owned by: Joel Sherrill
Priority: low Milestone: Indefinite
Component: score Version:
Severity: minor Keywords:
Cc: ralf.corsepius@…, gedare@… Blocked By:
Blocking:

Description

Adds the lua library to RTEMS.

Attachments (2)

liblua.tgz (119.5 KB) - added by Scotty Smith on Aug 2, 2011 at 7:39:08 PM.
rtems/cpukit/liblua, files for lua support in RTEMS. Extracts to cpukit/liblua.
rtems_lua_patch.diff (2.4 KB) - added by Scotty Smith on Aug 2, 2011 at 7:40:00 PM.
patch for the cpukit directory

Download all attachments as: .zip

Change History (10)

Changed on Aug 2, 2011 at 7:39:08 PM by Scotty Smith

Attachment: liblua.tgz added

rtems/cpukit/liblua, files for lua support in RTEMS. Extracts to cpukit/liblua.

Changed on Aug 2, 2011 at 7:40:00 PM by Scotty Smith

Attachment: rtems_lua_patch.diff added

patch for the cpukit directory

comment:1 Changed on Aug 2, 2011 at 9:24:16 PM by Joel Sherrill

Cc: giddyup44@… added

comment:2 Changed on Aug 6, 2011 at 3:57:07 AM by Ralf Corsepius

Cc: Ralf Corsepius added

comment:3 Changed on Aug 10, 2011 at 8:52:32 PM by Scotty Smith

Joel,

+ Is this unmodified Lua source code? Is it trackable back to a Lua release?

There are some slight modifications of the 5.1.4 source code. The one major change is in the library function that references clock, as it uses a macro that is not defined in RTEMS, so I had to change it to use the macro defined in RTEMS. All other changes are minor, and stem from trying to find a naming conflict. I can start undoing those.

+ If it is modified, can the changes be submitted to Lua?

I'm not sure if it is really necessary. All of the changes were changes necessary to get it working in RTEMS.

+ If it is modified, can we merge the original code and then apply patches so

we can track the changes.
I can work on this part.

Ralf,
I agree with what you are saying about keeping Lua separate. It's something that maybe not everyone really needs or wants. If we keep it hosted elsewhere, it will have to either have to be the patched version (or maybe just be the patch). Getting it to work with automake/conf is straight forward, but I'm not sure if patch can make the changes necessary to accomplish it.

comment:4 Changed on Apr 12, 2014 at 12:24:09 AM by Gedare Bloom

Milestone: 4.114.12

comment:5 Changed on Nov 20, 2014 at 3:31:07 AM by Chris Johns

Milestone: 4.124.11

comment:6 Changed on Nov 24, 2014 at 6:58:28 PM by Gedare Bloom

Version: HEAD4.11

Replace Version=HEAD with Version=4.11 for the tickets with Milestone >= 4.11

comment:7 Changed on Dec 18, 2014 at 11:01:19 AM by Sebastian Huber

Milestone: 4.115.0
Priority: normallow

comment:8 Changed on Aug 14, 2017 at 12:32:57 AM by Chris Johns

Milestone: 5.0Indefinite
Version: 4.11
Note: See TracTickets for help on using tickets.